]> git.lizzy.rs Git - minetest.git/blobdiff - src/keycode.h
Add a setting to enable always flying fast
[minetest.git] / src / keycode.h
index cb3a7fbc0c1ca89cfe9766004110c26d8953b471..a0b1e3553f939b9cf8f9b42b3d34d23aeb43b35b 100644 (file)
@@ -20,7 +20,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef KEYCODE_HEADER
 #define KEYCODE_HEADER
 
-#include "common_irrlicht.h"
+#include "irrlichttypes.h"
+#include <IEventReceiver.h>
 #include <string>
 
 /* A key press, consisting of either an Irrlicht keycode
@@ -32,7 +33,7 @@ class KeyPress
        KeyPress();
        KeyPress(const char *name);
 
-       KeyPress(const irr::SEvent::SKeyInput &in);
+       KeyPress(const irr::SEvent::SKeyInput &in, bool prefer_character=false);
 
        bool operator==(const KeyPress &o) const
        {