summaryrefslogtreecommitdiff
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
commite257f0e36c88f6c9437db1d36896ec29766db8f2 (patch)
tree5bc2156c83fd65e9a73cb69b3a9b3b27f0012a6e
parentc1364599db5ef7bbf8cf6a17fee2079651c4c355 (diff)
downloadopenttd-e257f0e36c88f6c9437db1d36896ec29766db8f2.tar.xz
(svn r8124) -Add [DEBUG]: _debug_station_level
-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, ...);