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; int kbdhead, kbdtail;
Uint16 kbdbuf[KBDBUFSIZE]; Uint16 kbdbuf[KBDBUFSIZE];
UBYTE ControlA; SDLKey ControlA;
UBYTE ControlB; SDLKey ControlB;
UBYTE ControlC; SDLKey ControlC;
UBYTE ControlX; SDLKey ControlX;
UBYTE ControlStart; SDLKey ControlStart;
UBYTE ControlLeftShift; SDLKey ControlLeftShift;
UBYTE ControlRightShift; SDLKey ControlRightShift;
static UNICODE PauseKey; static UNICODE PauseKey;
+7 -7
View File
@@ -21,13 +21,13 @@
extern Uint8 KeyboardDown[512]; extern Uint8 KeyboardDown[512];
extern UBYTE ControlA; extern SDLKey ControlA;
extern UBYTE ControlB; extern SDLKey ControlB;
extern UBYTE ControlC; extern SDLKey ControlC;
extern UBYTE ControlX; extern SDLKey ControlX;
extern UBYTE ControlStart; extern SDLKey ControlStart;
extern UBYTE ControlLeftShift; extern SDLKey ControlLeftShift;
extern UBYTE ControlRightShift; extern SDLKey ControlRightShift;
Uint16 GetUNICODEKey (); Uint16 GetUNICODEKey ();
void FlushInput (); void FlushInput ();