#include "ma.h"
#include "maarg.h"
#include "mastring.h"
#include "mavsprintf.h"
Functions | |
void | InitConsole (void) |
Initialize the printf console. | |
void | DisplayConsole (void) |
Display the printf console. | |
void | PrintConsole (const char *str) |
Prints a C string to the console. | |
int | puts (const char *str) |
int | printf (const char *fmt,...) |
Prints a formatted string to the console. | |
int | vprintf (const char *fmt, va_list args) |
int | putchar (int character) |
Variables | |
int | gConsoleTextColor |
The console text color. | |
int | gConsoleBackgroundColor |
The console background color. | |
int | gConsoleLogging |
Console logging option. | |
MAHandle | gConsoleFile |
Console file logging handle. | |
int | gConsoleDisplay |
Console display option. |
|
Initialize the printf console.
|
|
Display the printf console.
|
|
Prints a C string to the console.
|
|
|
|
Prints a formatted string to the console.
|
|
|
|
|
|
The console text color. The default color is 0x00ff00 (green).
|
|
The console background color. The default color is 0x000000 (black).
|
|
Console logging option. If non-zero, all text sent to PrintConsole will also be sent to maWriteLog(). The default value is non-zero.
|
|
Console file logging handle. If greater than zero, all text sent to PrintConsole will also be sent to the file specified by this handle. The default value is zero. You'll have to open the handle yourself.
|
|
Console display option. If non-zero, console will be displayed, otherwise not. The default value is non-zero.
|