Commit 4320f938 authored by Steven Fuller's avatar Steven Fuller

static,const updates.

parent e7ec001f
......@@ -32,7 +32,7 @@ ControlType Controls[MaxPlayers];
=============================================================================
*/
static byte ASCIINames[] = // Unshifted ASCII for scan codes
static const byte ASCIINames[] = // Unshifted ASCII for scan codes
{
// 0 1 2 3 4 5 6 7 8 9 A B C D E F
0 ,27 ,'1','2','3','4','5','6','7','8','9','0','-','=',8 ,9 , // 0
......@@ -61,14 +61,15 @@ static boolean IN_Started;
static boolean CapsLock;
static ScanCode CurCode,LastCode;
static Direction DirTable[] = // Quick lookup for total direction
static const Direction DirTable[] = // Quick lookup for total direction
{
dir_NorthWest, dir_North, dir_NorthEast,
dir_West, dir_None, dir_East,
dir_SouthWest, dir_South, dir_SouthEast
};
static boolean btnstate[8];
void keyboard_handler(int code, int press)
{
byte k, c = 0;
......@@ -346,8 +347,6 @@ IN_CheckAck();
//
///////////////////////////////////////////////////////////////////////////
boolean btnstate[8];
void IN_StartAck(void)
{
unsigned i,buttons;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment