forked from azzuriel/TerrainProject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Console.cpp
41 lines (29 loc) · 1.05 KB
/
Console.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*-----------------------------------------------------------------------------
Console.cpp
2006 Shamus Young
-------------------------------------------------------------------------------
This module is not at all needed. It's just an output window used for
debugging.
Sadly, I had some proprietary code in here, so I couldn't release it.
Still, this thing is pretty simple: Make a window, and when other modules
call Console (), just print the text to the window. The program works
just fine without this, but development is easier when you can print stuff
to the console and get feedback while it's building.
-----------------------------------------------------------------------------*/
#include "precompiled.h"
void Console( char *message, ... )
{
char msg_text[256];
va_list marker;
va_start( marker, message );
vsprintf_s( msg_text, message, marker );
va_end( marker );
//Now the message is stored in msg_text, you should probably display
//it or something...
}
void ConsoleTerm( void )
{
}
void ConsoleInit( void )
{
}