Changed UBYTE to SDLKey to prevent overflows, from tamlin

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@356 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2002-12-06 17:49:29 +00:00
parent 0604ee2b59
commit b857c305b5
2 changed files with 14 additions and 14 deletions
+7 -7
View File
@@ -27,13 +27,13 @@ Uint8 KeyboardDown[512];
int kbdhead, kbdtail;
Uint16 kbdbuf[KBDBUFSIZE];
UBYTE ControlA;
UBYTE ControlB;
UBYTE ControlC;
UBYTE ControlX;
UBYTE ControlStart;
UBYTE ControlLeftShift;
UBYTE ControlRightShift;
SDLKey ControlA;
SDLKey ControlB;
SDLKey ControlC;
SDLKey ControlX;
SDLKey ControlStart;
SDLKey ControlLeftShift;
SDLKey ControlRightShift;
static UNICODE PauseKey;
+7 -7
View File
@@ -21,13 +21,13 @@
extern Uint8 KeyboardDown[512];
extern UBYTE ControlA;
extern UBYTE ControlB;
extern UBYTE ControlC;
extern UBYTE ControlX;
extern UBYTE ControlStart;
extern UBYTE ControlLeftShift;
extern UBYTE ControlRightShift;
extern SDLKey ControlA;
extern SDLKey ControlB;
extern SDLKey ControlC;
extern SDLKey ControlX;
extern SDLKey ControlStart;
extern SDLKey ControlLeftShift;
extern SDLKey ControlRightShift;
Uint16 GetUNICODEKey ();
void FlushInput ();