summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-07-10 14:57:43 +0000
committertruelight <truelight@openttd.org>2005-07-10 14:57:43 +0000
commit48b3b8699d7db88ae9307e319535c8ec5b236824 (patch)
treed80479fbf61384ebe9e039f86a4290aefd69ff45 /debug.h
parent84faec4c4341a2310d9e97bc75170231ba5b1d43 (diff)
downloadopenttd-48b3b8699d7db88ae9307e319535c8ec5b236824.tar.xz
(svn r2542) -Add: [GPMI] Added GPMI (http://sourceforge.net/projects/libgpmi/)
support to OpenTTD in preperation of AIScripts (long term). It is OFF by default. Add GPMI:=1 to Makefile.config to enable.
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/debug.h b/debug.h
index 320e1d5de..1bfe990ba 100644
--- a/debug.h
+++ b/debug.h
@@ -15,6 +15,9 @@
extern int _debug_spritecache_level;
extern int _debug_oldloader_level;
extern int _debug_pbs_level;
+#ifdef GPMI
+ extern int _debug_gpmi_level;
+#endif /* GPMI */
extern int _debug_npf_level;
#endif
@@ -23,4 +26,8 @@ void CDECL debug(const char *s, ...);
void SetDebugString(const char *s);
const char *GetDebugString(void);
+#ifdef GPMI
+void gpmi_debug_openttd(int level, char *s);
+#endif /* GPMI */
+
#endif