From a7e673c2ec6a5ed25f3bae8caab90e2113158c03 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sat, 24 Jul 2021 00:47:04 +0300 Subject: sync --- src/render/Console.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/render/Console.h (limited to 'src/render/Console.h') diff --git a/src/render/Console.h b/src/render/Console.h deleted file mode 100644 index 9f22236f..00000000 --- a/src/render/Console.h +++ /dev/null @@ -1,27 +0,0 @@ -#pragma once - -class CConsole -{ - enum - { - MAX_LINES = 8, // BUG? only shows 7 - MAX_STR_LEN = 40, - }; - - uint8 m_nLineCount; - uint8 m_nCurrentLine; - wchar Buffers[MAX_LINES][MAX_STR_LEN]; - uint32 m_aTimer[MAX_LINES]; - uint8 m_aRed[MAX_LINES]; - uint8 m_aGreen[MAX_LINES]; - uint8 m_aBlue[MAX_LINES]; -public: - void AddLine(char *s, uint8 r, uint8 g, uint8 b); - void AddOneLine(char *s, uint8 r, uint8 g, uint8 b); - void Display(); - void Init() { m_nCurrentLine = 0; m_nLineCount = 0; } -}; - -extern CConsole TheConsole; - -void cprintf(char*, ...); \ No newline at end of file -- cgit v1.2.3