23 #ifndef M4_RIDDLE_INTERFACE_H 24 #define M4_RIDDLE_INTERFACE_H 26 #include "m4/adv_r/adv_interface.h" 27 #include "m4/adv_r/adv_hotspot.h" 28 #include "m4/graphics/graphics.h" 29 #include "m4/graphics/gr_buff.h" 36 NOTHING, IN_CONTROL, OVER_CONTROL, SELECTED, TRACKING
44 ControlStatus trackHotspots(
int event,
int x,
int y);
45 void dispatch_command();
46 void handleState(ControlStatus status);
52 int _savedX = 0, _savedY = 0;
53 char _prepText[40] = { 0 };
54 char _nounText[40] = { 0 };
55 char _verbText[40] = { 0 };
56 bool _iconSelected =
false;
62 bool init(
int arrow,
int wait,
int look,
int grab,
int use)
override;
64 void cancel_sentence()
override;
66 void freshen_sentence()
override;
68 bool set_interface_palette(
RGB8 *myPalette)
override;
70 void track_hotspots_refresh()
override;
72 bool eventHandler(
void *bufferPtr, int32 eventType, int32 event, int32 x, int32 y,
bool *z)
override;
76 void refresh_right_arrow();
77 void refresh_left_arrow();
Definition: adv_interface.h:30
Definition: m4_types.h:88
Definition: database.h:28
Definition: adv_hotspot.h:30
Definition: interface.h:39