Fixed a couple bugs involving OpenArena::Keys where either windows virtual keys or char's were being used instead.

~g2k
This commit is contained in:
2005-07-14 16:08:50 -04:00
parent 40c2acbbf9
commit 5a6c0fca9d
7 changed files with 288 additions and 203 deletions

View File

@@ -110,9 +110,9 @@ namespace OpenArena
KEY_Y,
KEY_Z
};
const unsigned int KEY_LBUTTON = KEY_BUTTON0;
const unsigned int KEY_RBUTTON = KEY_BUTTON1;
const unsigned int KEY_MBUTTON = KEY_BUTTON2;
const Keys KEY_LBUTTON = KEY_BUTTON0;
const Keys KEY_RBUTTON = KEY_BUTTON1;
const Keys KEY_MBUTTON = KEY_BUTTON2;
char KeyToASCII(Keys key, bool shift);
};
#endif

View File

@@ -100,8 +100,9 @@ namespace OpenArena
private:
// private:
void ConsolePrint(string);
private:
string consoleHistory[MAX_CONSOLE_HISTORY_LINES];
string consoleOutput[MAX_CONSOLE_OUTPUT_LINES];
string outputText[MAX_OUTPUT_TEXT_LINES];