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 | 033ae0dcaecc37fee487e44896a0c0fb4c844e4e (patch) | |
tree | 5c161b8031994d53cd851dad88b284475e7e429f /src/keycode.h | |
parent | a80025c352fb91ff295423940b3ded22755b70f0 (diff) | |
parent | e261cc9e8fa67c9020fa0a82bd1a7041ecd351a0 (diff) | |
download | minetest-033ae0dcaecc37fee487e44896a0c0fb4c844e4e.tar.gz minetest-033ae0dcaecc37fee487e44896a0c0fb4c844e4e.tar.bz2 minetest-033ae0dcaecc37fee487e44896a0c0fb4c844e4e.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 |