]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/CEngine.h
Set LC_NUMERIC to C.
[quix0rs-blobwars.git] / src / CEngine.h
index 49a23d2defe7aec6f221189e5782692e068ab35d..d0a8c7492312446331f8a647d9fddef1a6a49900 100644 (file)
@@ -1,5 +1,6 @@
 /*
-Copyright (C) 2004-2010 Parallel Realities
+Copyright (C) 2004-2011 Parallel Realities
+Copyright (C) 2011-2015 Perpendicular Dimensions
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
@@ -44,10 +45,13 @@ class Engine {
                
                int extremeAvailable;
 
-               char keyState[350];
+               char keyState[SDL_NUM_SCANCODES];
                char mouseLeft, mouseRight;
                
                int joyX, joyY;
+               int joyprevX, joyprevY;
+               int joykeyX, joykeyY;
+               bool joykeyFire;
                int joystickState[32]; // hopefully no one has a joystick with this many buttons(!)
                bool waitForButton;
                bool waitForKey;