diff options
author | Sebastian Rühl <bahamada_basti@yahoo.de> | 2011-06-26 12:24:32 +0200 |
---|---|---|
committer | Sebastian Rühl <bahamada_basti@yahoo.de> | 2011-06-26 12:24:32 +0200 |
commit | 9d09103e481c4979ebb0130a9dee6265d0d6223b (patch) | |
tree | c1c89aa8868975537758fe77a2b174d8ae3e5ed3 /src/keycode.h | |
parent | a80025c352fb91ff295423940b3ded22755b70f0 (diff) | |
parent | 158b054e72582005d895f1ed0e1cb0c9b22a8e57 (diff) | |
download | minetest-9d09103e481c4979ebb0130a9dee6265d0d6223b.tar.gz minetest-9d09103e481c4979ebb0130a9dee6265d0d6223b.tar.bz2 minetest-9d09103e481c4979ebb0130a9dee6265d0d6223b.zip |
Merge branch 'master' of https://github.com/erlehmann/minetest-delta.git into upstream_merge
Conflicts:
.gitignore
CMakeLists.txt
data/heart.png
src/CMakeLists.txt
src/game.cpp
src/guiMainMenu.cpp
src/inventory.cpp
src/map.cpp
src/mapblock.cpp
src/mapnode.cpp
src/mapnode.h
src/materials.cpp
src/server.cpp
Signed-off-by: Sebastian Rühl <bahamada_basti@yahoo.de>
Diffstat (limited to 'src/keycode.h')
-rw-r--r-- | src/keycode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keycode.h b/src/keycode.h index f19fe3442..9c62004d8 100644 --- a/src/keycode.h +++ b/src/keycode.h @@ -21,11 +21,14 @@ with this program; if not, write to the Free Software Foundation, Inc., #define KEYCODE_HEADER #include "common_irrlicht.h" +#include <string> irr::EKEY_CODE keyname_to_keycode(const char *name); // Key configuration getter irr::EKEY_CODE getKeySetting(const char *settingname); +std::string keycode_to_keyname(s32 keycode); +void clearCache(); #endif |