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:
@@ -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;
|
||||
|
||||
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user