diff options
author | KUDr <kudr@openttd.org> | 2007-01-14 19:13:36 +0000 |
---|---|---|
committer | KUDr <kudr@openttd.org> | 2007-01-14 19:13:36 +0000 |
commit | d57b290474617949699460553c27c85859b5e35f (patch) | |
tree | 5bc2156c83fd65e9a73cb69b3a9b3b27f0012a6e | |
parent | d289816deba3432c0376716d4c6ed9c61eecdbd2 (diff) | |
download | openttd-d57b290474617949699460553c27c85859b5e35f.tar.xz |
(svn r8124) -Add [DEBUG]: _debug_station_level
-rw-r--r-- | src/debug.cpp | 2 | ||||
-rw-r--r-- | src/debug.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/debug.cpp b/src/debug.cpp index 536d21c6a..4040c9cea 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -23,6 +23,7 @@ int _debug_npf_level; int _debug_yapf_level; int _debug_freetype_level; int _debug_sl_level; +int _debug_station_level; typedef struct DebugLevel { @@ -46,6 +47,7 @@ typedef struct DebugLevel { DEBUG_LEVEL(yapf), DEBUG_LEVEL(freetype), DEBUG_LEVEL(sl), + DEBUG_LEVEL(station), }; #undef DEBUG_LEVEL diff --git a/src/debug.h b/src/debug.h index ff0761a8d..0e58dfdce 100644 --- a/src/debug.h +++ b/src/debug.h @@ -43,6 +43,7 @@ extern "C" { yapf, freetype, sl, + station, }; #endif /* NO_VARARG_MACRO */ @@ -77,6 +78,7 @@ extern "C" { extern int _debug_yapf_level; extern int _debug_freetype_level; extern int _debug_sl_level; + extern int _debug_station_level; #if !defined(NO_VARARG_MACRO) void CDECL debug(const char *dbg, ...); |