summaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-09-11 11:48:37 +0000
committeralberth <alberth@openttd.org>2010-09-11 11:48:37 +0000
commitdfeac6ba2eb99e0b33d756210c052c306756753d (patch)
treea0c79ccfe4b69c0bb6a264fe4bd4550962291c01 /src/debug.h
parentc0ba81e617de24b1965814785faa75a00bc042f0 (diff)
downloadopenttd-dfeac6ba2eb99e0b33d756210c052c306756753d.tar.xz
(svn r20784) -Doc: Doxyment a few debug line printing functions.
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h
index de4c0c571..213872474 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -29,6 +29,11 @@
#ifdef NO_DEBUG_MESSAGES
#define DEBUG(name, level, ...) { }
#else /* NO_DEBUG_MESSAGES */
+ /**
+ * Output a line of debugging information.
+ * @param name Category
+ * @param level Debugging level, higher levels means more detailed information.
+ */
#define DEBUG(name, level, ...) if ((level) == 0 || _debug_ ## name ## _level >= (level)) debug(#name, __VA_ARGS__)
extern int _debug_ai_level;