obrstr + Debug

This commit is contained in:
Sergeanur 2020-03-24 09:56:37 +02:00
commit a12c01e10a
4 changed files with 221 additions and 5 deletions

View file

@ -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;