summaryrefslogtreecommitdiffstats
path: root/src/core/Debug.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-03-25 09:08:33 +0100
committerGitHub <noreply@github.com>2020-03-25 09:08:33 +0100
commit8703758a7b1d0fe1f8c837bb0a114d1e03145d1e (patch)
tree7111cc0686ba3d42a8853ce16464b079b79365be /src/core/Debug.h
parentchange default script to story (diff)
parentobrstr + Debug (diff)
downloadre3-8703758a7b1d0fe1f8c837bb0a114d1e03145d1e.tar
re3-8703758a7b1d0fe1f8c837bb0a114d1e03145d1e.tar.gz
re3-8703758a7b1d0fe1f8c837bb0a114d1e03145d1e.tar.bz2
re3-8703758a7b1d0fe1f8c837bb0a114d1e03145d1e.tar.lz
re3-8703758a7b1d0fe1f8c837bb0a114d1e03145d1e.tar.xz
re3-8703758a7b1d0fe1f8c837bb0a114d1e03145d1e.tar.zst
re3-8703758a7b1d0fe1f8c837bb0a114d1e03145d1e.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;