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 27 of file inputcondition.h.

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