25 #include "common/error.h" 26 #include "common/events.h" 27 #include "common/platform.h" 29 #include "graphics/surface.h" 30 #include "graphics/managed_surface.h" 32 #include "engines/advancedDetector.h" 33 #include "engines/engine.h" 35 #include "gui/debugger.h" 37 #include "dgds/resource.h" 38 #include "dgds/request.h" 55 kMenuSaveNeedName = 43,
56 kMenuNotSavedDiskFull = 42,
57 kMenuReplaceSave = 38,
60 kMenuAskCreateDir = 26,
62 kMenuCalibrateJoystick = 28,
63 kMenuCalibrateMouse = 32,
65 kMenuReplayArcade = 45,
66 kMenuSaveBeforeArcade = 46,
67 kMenuArcadeFrustrated = 47,
68 kMenuSkipPlayIntro = 50,
75 MenuId _curMenu = kMenuMain;
81 void setScreenBuffer();
82 void drawMenu(MenuId menu = kMenuMain);
86 bool menuShown()
const {
return _curMenu != kMenuNone; }
87 void hideMenu() { _curMenu = kMenuNone; }
92 void activateChoice();
97 void toggleGadget(int16 gadgetId,
bool enable);
98 void configureGadget(MenuId menu,
Gadget *gadget);
99 bool updateOptionsGadget(
Gadget *gadget);
102 void handleClickSkipPlayIntroMenu(
const Common::Point &mouse);
104 void putMouseOnSelectedItem();
105 Gadget *getSelectedItem();
117 #endif // DGDS_DGDS_H Definition: managed_surface.h:51
Definition: request.h:219
Definition: request.h:134