summaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-06-03 18:35:58 +0000
committersmatz <smatz@openttd.org>2008-06-03 18:35:58 +0000
commit1f55797fe3c75ec61ea69e6fa38ca2e4d817d30e (patch)
tree72b7d141fd63dcb880f610a334390bf9c41f97b1 /src/debug.h
parent1b7fcf0171ab4bc39b6cbb6b144ab7433f72ce1e (diff)
downloadopenttd-1f55797fe3c75ec61ea69e6fa38ca2e4d817d30e.tar.xz
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h
index 936d7f683..4048c16c0 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -47,8 +47,10 @@
extern int _debug_freetype_level;
extern int _debug_sl_level;
extern int _debug_station_level;
+ extern int _debug_gamelog_level;
void CDECL debug(const char *dbg, ...);
+ void CDECL debug_print(const char *dbg, const char *buf);
#endif /* NO_DEBUG_MESSAGES */
void SetDebugString(const char *s);