]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/CEngine.h
Added .gitignore to ignore certain files + fixed access rights on Makefile* as
[quix0rs-blobwars.git] / src / CEngine.h
index 81c1556dc7fa6db24f7523945cc4c88a0478ba4c..e8ab5583f78e84eb5c130fdcdfc7d92cf0be5197 100644 (file)
@@ -49,6 +49,9 @@ class Engine {
                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;
@@ -101,7 +104,7 @@ class Engine {
        int getMouseX() const;
        int getMouseY() const;
 
-       void setMouse(int x, int y);
+       void moveMouse(int dx, int dy);
        bool userAccepts();
        
        void clearCheatVars();