re3-wiiu/src/render/Console.h

24 lines
459 B
C
Raw Normal View History

2020-03-22 15:23:40 +01:00
#pragma once
class CConsole
{
2020-03-22 15:26:18 +01:00
enum
{
MAX_LINES = 8, // BUG? only shows 7
MAX_STR_LEN = 40,
2020-03-22 15:23:40 +01:00
};
2020-03-22 15:26:18 +01:00
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];
2020-03-22 15:23:40 +01:00
public:
2020-03-22 15:26:18 +01:00
void AddLine(char *s, uint8 r, uint8 g, uint8 b);
void AddOneLine(char *s, uint8 r, uint8 g, uint8 b);
2020-03-22 15:23:40 +01:00
void Display();
};
2020-03-22 12:26:35 +01:00
extern CConsole &TheConsole;