summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2007-01-14 19:13:36 +0000
committerKUDr <kudr@openttd.org>2007-01-14 19:13:36 +0000
commitd57b290474617949699460553c27c85859b5e35f (patch)
tree5bc2156c83fd65e9a73cb69b3a9b3b27f0012a6e /src
parentd289816deba3432c0376716d4c6ed9c61eecdbd2 (diff)
downloadopenttd-d57b290474617949699460553c27c85859b5e35f.tar.xz
(svn r8124) -Add [DEBUG]: _debug_station_level
Diffstat (limited to 'src')
-rw-r--r--src/debug.cpp2
-rw-r--r--src/debug.h2
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, ...);