summaryrefslogtreecommitdiff
path: root/3dc/win95/ShowCmds.h
diff options
context:
space:
mode:
authorRebellion Developments <rebellion@nomail>2000-03-16 11:25:00 +0100
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-19 05:45:17 +0200
commit218ca90543758a20ac326e444ca0643174ca7384 (patch)
tree16bfe3e5307f9f515489000f28728224291a0e3b /3dc/win95/ShowCmds.h
Import Aliens vs Predator - Gold (Build 116)
Source code release, imported from: https://www.gamefront.com/games/aliens-vs-predator-3/file/avp-gold-complete-source-code All text files were converted to Unix format.
Diffstat (limited to '3dc/win95/ShowCmds.h')
-rw-r--r--3dc/win95/ShowCmds.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/3dc/win95/ShowCmds.h b/3dc/win95/ShowCmds.h
new file mode 100644
index 0000000..bbb1d41
--- /dev/null
+++ b/3dc/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