22 #ifndef M4_BURGER_ROOMS_SECTION5_ROOM510_H 23 #define M4_BURGER_ROOMS_SECTION5_ROOM510_H 25 #include "m4/burger/rooms/section5/section5_room.h" 26 #include "m4/burger/gui/inventory.h" 32 #define BUTTON_COUNT 7 48 struct Button :
public ButtonDef {
50 Button() : ButtonDef() {}
51 Button(
const ButtonDef &src) : ButtonDef(src) {}
53 static const ButtonDef _BUTTONS[BUTTON_COUNT];
54 Button _buttons[BUTTON_COUNT];
60 void setupButton(
int index);
61 void setButtonState(
int index, GUI::ControlStatus state);
62 void buttonAction(
int index,
int firstFrame,
int lastFrame);
64 int getHighlightedButton()
const;
70 void preload()
override;
72 void daemon()
override;
73 void parser()
override;
Definition: ws_machine.h:153
Definition: section5_room.h:31
Definition: database.h:28