@@ -82,17 +82,15 @@ void GamelogReset()
_gamelog_action = NULL;
_gamelog_actions = 0;
_current_action = NULL;
}
enum {
GAMELOG_BUF_LEN = 1024 ///< length of buffer for one line of text
};
static const uint GAMELOG_BUF_LEN = 1024; ///< length of buffer for one line of text
static int _dbgofs = 0; ///< offset in current output buffer
static uint _dbgofs = 0; ///< offset in current output buffer
static void AddDebugText(char *buf, const char *s, ...) WARN_FORMAT(2, 3);
static void AddDebugText(char *buf, const char *s, ...)
{
if (GAMELOG_BUF_LEN <= _dbgofs) return;