summaryrefslogtreecommitdiff
path: root/src/input/inputcondition.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-31 21:16:59 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-31 21:16:59 +0300
commit2ff2ea08e8d158961d4d38c06ba93c52b919026d (patch)
treeb4a1753f2cac1bdae8632375ecedd150108e1aad /src/input/inputcondition.h
parent0b1d9c0c58db75a1d4249f7b0fc3320b4de8cfa2 (diff)
downloadmanaverse-2ff2ea08e8d158961d4d38c06ba93c52b919026d.tar.gz
manaverse-2ff2ea08e8d158961d4d38c06ba93c52b919026d.tar.bz2
manaverse-2ff2ea08e8d158961d4d38c06ba93c52b919026d.tar.xz
manaverse-2ff2ea08e8d158961d4d38c06ba93c52b919026d.zip
Add NOBLOCK input actions condition. This mean if player not blocked by special things like statuses.
Diffstat (limited to 'src/input/inputcondition.h')
-rw-r--r--src/input/inputcondition.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input/inputcondition.h b/src/input/inputcondition.h
index 5687b6f6a..0f6e4cb6d 100644
--- a/src/input/inputcondition.h
+++ b/src/input/inputcondition.h
@@ -46,11 +46,13 @@ namespace InputCondition
ALIVE = 32768, // player alive
NOVENDING = 65536, // vending disabled
NOROOM = 131072, // not joined room
+ NOBLOCK = 262144, // no blocked move (trick dead)
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
GAME2 = 2 + 8 + 16 + 64 + 2048,
- ARROWKEYS = 2 + 4 + 8 + 16 + 64 + 2048 + 4096 + 16384 + 65536 + 131072
+ ARROWKEYS = 2 + 4 + 8 + 16 + 64 + 2048 + 4096 +
+ 16384 + 65536 + 131072 + 262144
};
} // namespace InputCondition