|
Wraith
0.1.5
Basic 3D game engine in C++
|
The ScreenLog is used for displaying console messages on the game screen. More...

Functions | |
| static void | ScreenLog::SetRenderAnchor (int anchorX, int anchorY) |
| Sets render anchor. More... | |
| static void | ScreenLog::Add (char *format,...) |
| Adds format. More... | |
The ScreenLog is used for displaying console messages on the game screen.
The ScreenLog is a visual alternative to the writing messages in the console. This prints out messages directly onto the game screen. Function call to print a message similar to printf(char* format, ...) taking Messages appear on the top left corner. You must include ScreenLog.h header file
Here is an example of how the ScreenLog could be used.
|
inlinestatic |
Adds format.
| format | describes the string format to use. |
| ... | Variable arguments providing additional information of what to print. |
|
inlinestatic |
Sets render anchor.
| anchorX | The anchor x coordinate. |
| anchorY | The anchor y coordinate. |