summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-10 01:11:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-10 01:11:39 +0300
commit7fd1401d915ee91c808695ca1f3647ca7a258a1f (patch)
treed1aa0867879ea2ebb3ecd2910ef02ce09cb764d0 /src/enums
parent481ea0b776bbab92b500540f59c5a191c6e93cba (diff)
downloadmv-7fd1401d915ee91c808695ca1f3647ca7a258a1f.tar.gz
mv-7fd1401d915ee91c808695ca1f3647ca7a258a1f.tar.bz2
mv-7fd1401d915ee91c808695ca1f3647ca7a258a1f.tar.xz
mv-7fd1401d915ee91c808695ca1f3647ca7a258a1f.zip
Allow trigger input action on key press or/and release.
By default all actions triggered on press key.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/input/inputcondition.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/enums/input/inputcondition.h b/src/enums/input/inputcondition.h
index c658dfca8..a53aec86c 100644
--- a/src/enums/input/inputcondition.h
+++ b/src/enums/input/inputcondition.h
@@ -47,6 +47,8 @@ namespace InputCondition
NOVENDING = 65536, // vending disabled
NOROOM = 131072, // not joined room
NOBLOCK = 262144, // no blocked move (trick dead)
+ KEY_DOWN = 524288, // key press allowed
+ KEY_UP = 1048576, // key release allowed
SHORTCUT = 2 + 4 + 16 + 512 + 2048, // flags for shortcut keys
SHORTCUT0 = 2 + 4 + 16 + 512, // flags for shortcut keys
GAME = 2 + 4 + 8 + 16 + 64 + 2048, // main game key