ManaPlus
Enumerations
InputCondition Namespace Reference

Enumerations

enum  Type {
  DEFAULT = 1U, ENABLED = 2U, NOINPUT = 4U, NOAWAY = 8U,
  NOSETUP = 16U, VALIDSPEED = 32U, NOMODAL = 64U, NONPCINPUT = 128U,
  EMODS = 256U, NOTARGET = 512U, NOFOLLOW = 1024U, INGAME = 2048U,
  NOBUYSELL = 4096U, NONPCDIALOG = 8192U, NOTALKING = 16384U, ALIVE = 32768U,
  NOVENDING = 65536U, NOROOM = 131072U, NOBLOCK = 262144U, KEY_DOWN = 524288U,
  KEY_UP = 1048576U, SHORTCUT = 2U + 4 + 16 + 512 + 2048, SHORTCUT0 = 2U + 4 + 16 + 512, GAME = 2U + 4 + 8 + 16 + 64 + 2048,
  GAME2 = 2U + 8 + 16 + 64 + 2048, ARROWKEYS
}
 

Enumeration Type Documentation

◆ Type

Enumerator
DEFAULT 
ENABLED 
NOINPUT 
NOAWAY 
NOSETUP 
VALIDSPEED 
NOMODAL 
NONPCINPUT 
EMODS 
NOTARGET 
NOFOLLOW 
INGAME 
NOBUYSELL 
NONPCDIALOG 
NOTALKING 
ALIVE 
NOVENDING 
NOROOM 
NOBLOCK 
KEY_DOWN 
KEY_UP 
SHORTCUT 
SHORTCUT0 
GAME 
GAME2 
ARROWKEYS 

Definition at line 26 of file inputcondition.h.

27  {
28  DEFAULT = 1U, // default condition
29  ENABLED = 2U, // keyboard must be enabled
30  NOINPUT = 4U, // input items must be unfocused
31  NOAWAY = 8U, // player not in away mode
32  NOSETUP = 16U, // setup window is hidde
33  VALIDSPEED = 32U, // valid speed
34  NOMODAL = 64U, // modal windows inactive
35  NONPCINPUT = 128U, // npc input field inactive
36  EMODS = 256U, // game modifiers enabled
37  NOTARGET = 512U, // no target/untarget keys
38  // pressed
39  NOFOLLOW = 1024U, // follow mode disabled
40  INGAME = 2048U, // game must be started
41  NOBUYSELL = 4096U, // no active buy or sell dialogs
42  NONPCDIALOG = 8192U, // no active npc dialog or
43  // dialog almost closed
44  NOTALKING = 16384U, // player have no opened
45  // dialogs what prevent moving
46  ALIVE = 32768U, // player alive
47  NOVENDING = 65536U, // vending disabled
48  NOROOM = 131072U, // not joined room
49  NOBLOCK = 262144U, // no blocked move (trick dead)
50  KEY_DOWN = 524288U, // key press allowed
51  KEY_UP = 1048576U, // key release allowed
52  SHORTCUT = 2U + 4 + 16 + 512 + 2048, // flags for shortcut keys
53  SHORTCUT0 = 2U + 4 + 16 + 512, // flags for shortcut keys
54  GAME = 2U + 4 + 8 + 16 + 64 + 2048, // main game key
55  GAME2 = 2U + 8 + 16 + 64 + 2048,
56  ARROWKEYS = 2U + 4 + 8 + 16 + 64 + 2048 + 4096 +
57  16384 + 65536 + 131072 + 262144
58  };
InputCondition::NOTALKING
@ NOTALKING
Definition: inputcondition.h:44
InputCondition::SHORTCUT
@ SHORTCUT
Definition: inputcondition.h:52
InputCondition::NOFOLLOW
@ NOFOLLOW
Definition: inputcondition.h:39
InputCondition::EMODS
@ EMODS
Definition: inputcondition.h:36
InputCondition::VALIDSPEED
@ VALIDSPEED
Definition: inputcondition.h:33
InputCondition::NOTARGET
@ NOTARGET
Definition: inputcondition.h:37
InputCondition::KEY_UP
@ KEY_UP
Definition: inputcondition.h:51
InputCondition::NOAWAY
@ NOAWAY
Definition: inputcondition.h:31
InputCondition::NOVENDING
@ NOVENDING
Definition: inputcondition.h:47
InputCondition::INGAME
@ INGAME
Definition: inputcondition.h:40
InputCondition::NOINPUT
@ NOINPUT
Definition: inputcondition.h:30
InputCondition::GAME
@ GAME
Definition: inputcondition.h:54
InputCondition::NOMODAL
@ NOMODAL
Definition: inputcondition.h:34
InputCondition::SHORTCUT0
@ SHORTCUT0
Definition: inputcondition.h:53
InputCondition::NONPCINPUT
@ NONPCINPUT
Definition: inputcondition.h:35
InputCondition::GAME2
@ GAME2
Definition: inputcondition.h:55
InputCondition::NOBUYSELL
@ NOBUYSELL
Definition: inputcondition.h:41
InputCondition::NONPCDIALOG
@ NONPCDIALOG
Definition: inputcondition.h:42
InputCondition::DEFAULT
@ DEFAULT
Definition: inputcondition.h:28
InputCondition::ENABLED
@ ENABLED
Definition: inputcondition.h:29
InputCondition::NOROOM
@ NOROOM
Definition: inputcondition.h:48
InputCondition::NOSETUP
@ NOSETUP
Definition: inputcondition.h:32
InputCondition::ARROWKEYS
@ ARROWKEYS
Definition: inputcondition.h:56
InputCondition::KEY_DOWN
@ KEY_DOWN
Definition: inputcondition.h:50
InputCondition::ALIVE
@ ALIVE
Definition: inputcondition.h:46
InputCondition::NOBLOCK
@ NOBLOCK
Definition: inputcondition.h:49