26 #include "common/config-manager.h" 27 #include "engines/engine.h" 28 #include "lure/luredefs.h" 29 #include "lure/menu.h" 30 #include "lure/palette.h" 31 #include "lure/disk.h" 32 #include "lure/memory.h" 33 #include "lure/screen.h" 34 #include "lure/events.h" 35 #include "lure/debugger.h" 39 enum GameState {GS_ERROR = 1, GS_TICK = 2, GS_TOCK = 4, GS_PROT = 8, GS_RESTART = 0x10,
40 GS_CAUGHT = 0x20, GS_RESTORE = 0x40, GS_FLOPPY = 0x80,
41 GS_RESTORE_RESTART = 0x50};
45 bool _fastTextFlag, _soundFlag;
47 uint16 _tellCommands[MAX_TELL_COMMANDS * 3 + 1];
52 void handleMenuResponse(uint8 selection);
54 void handleRightClickMenu();
55 void handleLeftClick();
56 bool GetTellActions();
57 void doAction(Action action, uint16 hotspotId, uint16 usedId);
59 void playerChangeRoom();
60 void displayChuteAnimation();
61 void displayBarrelAnimation();
62 void handleBootParam(
int value);
64 bool isMenuAvailable();
69 static bool isCreated();
70 static Game &getReference();
78 void setState(uint8 flags) { _state = flags; }
79 bool &preloadFlag() {
return _preloadFlag; }
80 bool &debugFlag() {
return _debugFlag; }
81 bool fastTextFlag() {
return _fastTextFlag; }
82 bool soundFlag() {
return _soundFlag; }