blob: bbb1d41e0848418bf3c91af51a5edc8203ae511d (
plain)
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
42
43
|
/* KJL 14:42:10 29/03/98 - ShowCmds.h
defines the variables that describe the status of the debugging text
eg. if ShowDebuggingText.FPS == 1, then the frame-rate show be displayed.
*/
struct DEBUGGINGTEXTOPTIONS
{
unsigned int FPS :1;
unsigned int Environment :1;
unsigned int Coords :1;
unsigned int Module :1;
unsigned int Target :1;
unsigned int Networking: 1;
unsigned int Dynamics :1;
unsigned int GunPos :1;
unsigned int Tears :1;
unsigned int PolyCount :1;
unsigned int Sounds :1;
};
extern struct DEBUGGINGTEXTOPTIONS ShowDebuggingText;
#ifdef AVP_DEBUG_VERSION
#define DEBUGGING_TEXT_ON 1
#else
#define DEBUGGING_TEXT_ON 0
#endif
#if DEBUGGING_TEXT_ON
extern int PrintDebuggingText(const char* t, ...);
#else
#define PrintDebuggingText(ignore)
#endif
#if 1
extern int ReleasePrintDebuggingText(const char* t, ...);
#else
#define PrintDebuggingText(ignore)
#endif
|