From 2186d5f3f95cd74a070a490d899291648d58667a Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sun, 1 Jul 2001 00:55:22 +0000 Subject: Initial revision --- src/win95/showcmds.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/win95/showcmds.h (limited to 'src/win95/showcmds.h') diff --git a/src/win95/showcmds.h b/src/win95/showcmds.h new file mode 100644 index 0000000..bbb1d41 --- /dev/null +++ b/src/win95/showcmds.h @@ -0,0 +1,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 -- cgit v1.3