summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-02-06 18:28:35 +0000
committertruelight <truelight@openttd.org>2005-02-06 18:28:35 +0000
commiteb28e8b32215aae0eef25a9ccada832955b34191 (patch)
treeab21862e2eddfb1a1016420dba40def82ca327ea /debug.c
parentc513c4da96af44b110e3038a584846dd6c49c465 (diff)
downloadopenttd-eb28e8b32215aae0eef25a9ccada832955b34191.tar.xz
(svn r1826) -Feature: a brand new OldLoader so OpenTTD is TTD(Patch) compatible
again.. kind of anyway. Still needs work for the extra chunks TTDPatch provides, and which we use too, but not in the same way.. - Also, no longer BE is a problem, reading is BE/LE safe. - Tnx to Bjarni for the BE testing, Tron for the help on the BE, Darkvater for helping out, and Mek for providing me with the correct information regarding TTDPatch savegames
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index fb48e2e1d..99bf25145 100644
--- a/debug.c
+++ b/debug.c
@@ -12,6 +12,7 @@ int _debug_misc_level;
int _debug_ms_level;
int _debug_net_level;
int _debug_spritecache_level;
+int _debug_oldloader_level;
void CDECL debug(const char *s, ...)
@@ -46,7 +47,8 @@ void SetDebugString(const char *s)
DEBUG_LEVEL(misc),
DEBUG_LEVEL(ms),
DEBUG_LEVEL(net),
- DEBUG_LEVEL(spritecache)
+ DEBUG_LEVEL(spritecache),
+ DEBUG_LEVEL(oldloader)
};
#undef DEBUG_LEVEL