X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCEngine.h;h=d0a8c7492312446331f8a647d9fddef1a6a49900;hb=2fcf6987fb2d97d29d24aed1ad0d7f2a3616e624;hp=49a23d2defe7aec6f221189e5782692e068ab35d;hpb=f252549ec2a5392f2be8bb5ca707b27a464b4583;p=quix0rs-blobwars.git diff --git a/src/CEngine.h b/src/CEngine.h index 49a23d2..d0a8c74 100644 --- a/src/CEngine.h +++ b/src/CEngine.h @@ -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;