diff options
author | aap <aap@papnet.eu> | 2020-03-27 18:41:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 18:41:22 +0100 |
commit | 29f69f6216fa629786415e8062ceab3d671ac912 (patch) | |
tree | a59a5d54c5a33cdc1c5bd91535331ec2b5955472 /src/core/Debug.h | |
parent | Merge pull request #356 from blingu/master (diff) | |
parent | implemented some unused PS2 cams (diff) | |
download | re3-29f69f6216fa629786415e8062ceab3d671ac912.tar re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.gz re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.bz2 re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.lz re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.xz re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.zst re3-29f69f6216fa629786415e8062ceab3d671ac912.zip |
Diffstat (limited to 'src/core/Debug.h')
-rw-r--r-- | src/core/Debug.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/core/Debug.h b/src/core/Debug.h index 444a0cf5..d169a0b4 100644 --- a/src/core/Debug.h +++ b/src/core/Debug.h @@ -6,15 +6,29 @@ class CDebug { MAX_LINES = 15, MAX_STR_LEN = 80, + + MAX_SCREEN_STRS = 100, }; static int16 ms_nCurrentTextLine; static char ms_aTextBuffer[MAX_LINES][MAX_STR_LEN]; + // custom + struct ScreenStr { + int x, y; + char str[256]; + }; + static ScreenStr ms_aScreenStrs[MAX_SCREEN_STRS]; + static int ms_nScreenStrs; + public: static void DebugInitTextBuffer(); static void DebugDisplayTextBuffer(); static void DebugAddText(const char *str); + + // custom + static void PrintAt(const char *str, int x, int y); + static void DisplayScreenStrings(); }; extern bool gbDebugStuffInRelease; |