summaryrefslogtreecommitdiffstats
path: root/src/core/Debug.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-03-24 08:56:37 +0100
committerSergeanur <s.anureev@yandex.ua>2020-03-24 08:56:37 +0100
commita12c01e10ad92fe6f563dda997fea479f6227b1b (patch)
tree327a607e03416f5a275c2169ad5001ce69164210 /src/core/Debug.h
parentMerge pull request #352 from Nick007J/master (diff)
downloadre3-a12c01e10ad92fe6f563dda997fea479f6227b1b.tar
re3-a12c01e10ad92fe6f563dda997fea479f6227b1b.tar.gz
re3-a12c01e10ad92fe6f563dda997fea479f6227b1b.tar.bz2
re3-a12c01e10ad92fe6f563dda997fea479f6227b1b.tar.lz
re3-a12c01e10ad92fe6f563dda997fea479f6227b1b.tar.xz
re3-a12c01e10ad92fe6f563dda997fea479f6227b1b.tar.zst
re3-a12c01e10ad92fe6f563dda997fea479f6227b1b.zip
Diffstat (limited to 'src/core/Debug.h')
-rw-r--r--src/core/Debug.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/core/Debug.h b/src/core/Debug.h
index 395f66af..444a0cf5 100644
--- a/src/core/Debug.h
+++ b/src/core/Debug.h
@@ -2,10 +2,19 @@
class CDebug
{
- static int ms_nCurrentTextLine;
+ enum
+ {
+ MAX_LINES = 15,
+ MAX_STR_LEN = 80,
+ };
+
+ static int16 ms_nCurrentTextLine;
+ static char ms_aTextBuffer[MAX_LINES][MAX_STR_LEN];
public:
static void DebugInitTextBuffer();
static void DebugDisplayTextBuffer();
-
+ static void DebugAddText(const char *str);
};
+
+extern bool gbDebugStuffInRelease;