2020-03-22 17:23:40 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CDebug
|
|
|
|
{
|
2020-03-24 09:56:37 +02:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
MAX_LINES = 15,
|
|
|
|
MAX_STR_LEN = 80,
|
|
|
|
};
|
|
|
|
|
|
|
|
static int16 ms_nCurrentTextLine;
|
|
|
|
static char ms_aTextBuffer[MAX_LINES][MAX_STR_LEN];
|
2020-03-22 17:23:40 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
static void DebugInitTextBuffer();
|
|
|
|
static void DebugDisplayTextBuffer();
|
2020-03-24 09:56:37 +02:00
|
|
|
static void DebugAddText(const char *str);
|
2020-03-22 19:19:07 +03:00
|
|
|
};
|
2020-03-24 09:56:37 +02:00
|
|
|
|
|
|
|
extern bool gbDebugStuffInRelease;
|