Silence compiler warning
[supertux.git] / src / control / controller.hpp
index b73695d..210159d 100644 (file)
@@ -31,10 +31,12 @@ public:
     JUMP,
     ACTION,
 
-    PAUSE_MENU,
+    START,
+    ESCAPE,
     MENU_SELECT,
     MENU_BACK,
 
+    CHEAT_MENU,
     CONSOLE,
 
     PEEK_LEFT,
@@ -50,11 +52,11 @@ public:
 
   void set_control(Control control, bool value);
   /** returns true if the control is pressed down */
-  bool hold(Control control);
+  bool hold(Control control) const;
   /** returns true if the control has just been pressed down this frame */
-  bool pressed(Control control);
+  bool pressed(Control control) const;
   /** returns true if the control has just been released this frame */
-  bool released(Control control);
+  bool released(Control control) const;
 
   virtual void reset();
   virtual void update();