]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/CEngine.h
Do not use DESTDIR in PREFIX, but only in the install target.
[quix0rs-blobwars.git] / src / CEngine.h
old mode 100755 (executable)
new mode 100644 (file)
index d054bb8..49a23d2
@@ -1,5 +1,5 @@
 /*
-Copyright (C) 2004 Parallel Realities
+Copyright (C) 2004-2010 Parallel Realities
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
@@ -97,8 +97,8 @@ class Engine {
        Engine();
        void destroy();
        void getInput();
-       int getMouseX();
-       int getMouseY();
+       int getMouseX() const;
+       int getMouseY() const;
 
        void setMouse(int x, int y);
        bool userAccepts();
@@ -114,10 +114,10 @@ class Engine {
        bool loadData(const char *filename);
        void reportFontFailure();
        void setPlayerPosition(int x, int y, int limitLeft, int limitRight, int limitUp, int limitDown);
-       int getFrameLoop();
+       int getFrameLoop() const;
        void doFrameLoop();
        void doTimeDifference();
-       float getTimeDifference();
+       float getTimeDifference() const;
        void resetTimeDifference();
        void setInfoMessage(const char *message, int priority, int type);
        void deleteWidgets();