22 #ifndef MYST_SCRIPTS_MENU_H 23 #define MYST_SCRIPTS_MENU_H 25 #include "mohawk/myst_scripts.h" 27 #include "common/scummsys.h" 28 #include "common/util.h" 30 #include "graphics/font.h" 35 struct MystScriptEntry;
37 namespace MystStacks {
39 #define DECLARE_OPCODE(x) void x(uint16 var, const ArgumentsArray &args) 46 void setInGame(
bool inGame) {
50 void setCanSave(
bool canSave) {
54 void disablePersistentScripts()
override;
55 void runPersistentScripts()
override;
59 uint16 getVar(uint16 var)
override;
61 DECLARE_OPCODE(o_playIntroMovies);
62 DECLARE_OPCODE(o_menuItemEnter);
63 DECLARE_OPCODE(o_menuItemLeave);
64 DECLARE_OPCODE(o_menuResume);
65 DECLARE_OPCODE(o_menuLoad);
66 DECLARE_OPCODE(o_menuSave);
67 DECLARE_OPCODE(o_menuNew);
68 DECLARE_OPCODE(o_menuOptions);
69 DECLARE_OPCODE(o_menuQuit);
70 DECLARE_OPCODE(o_menuInit);
71 DECLARE_OPCODE(o_menuExit);
75 bool _menuItemHovered[6];
76 bool _wasCursorVisible;
78 bool _introMoviesRunning;
80 void introMovies_run();
86 uint16 subimageIndex,
const Common::Rect &backgroundRect, int16 deltaY,
87 uint8 r, uint8 g, uint8 b)
const;
88 const char **getButtonCaptions()
const;
TextAlign
Definition: font.h:48
Definition: myst_scripts.h:60
Definition: myst_areas.h:154