summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-02 16:13:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-03 21:50:05 +0300
commitf651273ebf2a8b11aa01ed1434ecb613177ced6a (patch)
treec51d2bed1476270e27ad95c5a46e15af32eaccdd /src/actions
parent30846b7f68f1ad05a0719ae37f75fd2901a6545a (diff)
downloadmanaverse-f651273ebf2a8b11aa01ed1434ecb613177ced6a.tar.gz
manaverse-f651273ebf2a8b11aa01ed1434ecb613177ced6a.tar.bz2
manaverse-f651273ebf2a8b11aa01ed1434ecb613177ced6a.tar.xz
manaverse-f651273ebf2a8b11aa01ed1434ecb613177ced6a.zip
Add gui mode for dyecmd. Now only basic code added.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actiondef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions/actiondef.h b/src/actions/actiondef.h
index 6957f0f00..ec10520a0 100644
--- a/src/actions/actiondef.h
+++ b/src/actions/actiondef.h
@@ -28,6 +28,10 @@
#define impHandler(name) bool name(InputEvent &event)
#define impHandler0(name) bool name(InputEvent &event A_UNUSED)
+#define impHandlerVoid(name) bool name(InputEvent &event A_UNUSED) \
+ { \
+ return false; \
+ }
#define callYellowBar(name) \
GameModifiers::name(!inputManager.isActionActive( \