summaryrefslogtreecommitdiff
path: root/src/input/inputcondition.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-02 15:07:22 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-02 22:48:10 +0300
commite54b8369a982585445c84c8590bdb1c16701763f (patch)
tree77f4ce5c37ad45f3bc3aa42f644b818025f92af2 /src/input/inputcondition.h
parent610b19c083565f1f6c153fadff80fc0e7475168f (diff)
downloadplus-e54b8369a982585445c84c8590bdb1c16701763f.tar.gz
plus-e54b8369a982585445c84c8590bdb1c16701763f.tar.bz2
plus-e54b8369a982585445c84c8590bdb1c16701763f.tar.xz
plus-e54b8369a982585445c84c8590bdb1c16701763f.zip
Not allow moving while vending shop enabled.
Diffstat (limited to 'src/input/inputcondition.h')
-rw-r--r--src/input/inputcondition.h37
1 files changed, 19 insertions, 18 deletions
diff --git a/src/input/inputcondition.h b/src/input/inputcondition.h
index 353393dd6..de479b328 100644
--- a/src/input/inputcondition.h
+++ b/src/input/inputcondition.h
@@ -25,30 +25,31 @@ namespace InputCondition
{
enum Type
{
- DEFAULT = 1, // default condition
- ENABLED = 2, // keyboard must be enabled
- NOINPUT = 4, // input items must be unfocused
- NOAWAY = 8, // player not in away mode
- NOSETUP = 16, // setup window is hidde
+ DEFAULT = 1, // default condition
+ ENABLED = 2, // keyboard must be enabled
+ NOINPUT = 4, // input items must be unfocused
+ NOAWAY = 8, // player not in away mode
+ NOSETUP = 16, // setup window is hidde
VALIDSPEED = 32, // valid speed
- NOMODAL = 64, // modal windows inactive
+ NOMODAL = 64, // modal windows inactive
NONPCINPUT = 128, // npc input field inactive
- EMODS = 256, // game modifiers enabled
- NOTARGET = 512, // no target/untarget keys
+ EMODS = 256, // game modifiers enabled
+ NOTARGET = 512, // no target/untarget keys
// pressed
- NOFOLLOW = 1024, // follow mode disabled
- INGAME = 2048, // game must be started
- NOBUYSELL = 4096, // no active buy or sell dialogs
+ NOFOLLOW = 1024, // follow mode disabled
+ INGAME = 2048, // game must be started
+ NOBUYSELL = 4096, // no active buy or sell dialogs
NONPCDIALOG = 8192, // no active npc dialog or
// dialog almost closed
- NOTALKING = 16384, // player have no opened
+ NOTALKING = 16384, // player have no opened
// dialogs what prevent moving
- ALIVE = 32768, // player alive
- 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
+ ALIVE = 32768, // player alive
+ NOVENDING = 65536, // vending disabled
+ 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
};
} // namespace InputCondition