22 #ifndef PARALLACTION_INPUT_H 23 #define PARALLACTION_INPUT_H 25 #include "common/keyboard.h" 27 #include "parallaction/objects.h" 28 #include "parallaction/inventory.h" 47 int updateGameInput();
49 bool _hasKeyPressEvent;
52 bool _hasDelayedAction;
55 int16 _transCurrentHoverItem;
57 void translateInput();
58 bool translateGameInput();
59 bool updateInventoryInput();
70 void enterInventoryMode();
71 void exitInventoryMode();
75 static byte _resMouseArrow_NS[256];
76 static byte _resMouseArrow_BR_Amiga[512];
88 kInputModeComment = 1,
89 kInputModeDialogue = 2,
90 kInputModeInventory = 3,
114 void waitForButtonEvent(uint32 buttonEventMask, int32 timeout = -1);
115 uint32 getLastButtonEvent() {
return _mouseButtons; }
116 bool getLastKeyDown(uint16 &ascii);
120 MouseTriState _mouseState;
122 void setMouseState(MouseTriState state);
123 MouseTriState getMouseState();
124 bool isMouseEnabled();
126 void setArrowCursor();
127 void setInventoryCursor(ItemName name);
129 void setMenuPointer();
130 void setCharacterPointer(
const char *name);
Definition: inventory.h:32
Definition: keyboard.h:294
Definition: graphics.h:73