22 #ifndef MACS2_SCUMMUI_H 23 #define MACS2_SCUMMUI_H 25 #include "common/rect.h" 26 #include "common/str.h" 27 #include "graphics/managed_surface.h" 28 #include "macs2/macs2_constants.h" 29 #include "macs2/scriptexecutor.h" 41 bool handleClick(
const Common::Point &pos,
bool scriptsRunning =
false);
45 void clearSentenceObject();
47 void syncActiveVerbFromCursorMode();
48 void resetInventoryAfterLoad();
51 static constexpr
int kSentenceH = 14;
52 static constexpr
int kUITop = kGameHeight;
53 static constexpr
int kSentenceY = kGameHeight;
54 static constexpr
int kVerbY = kGameHeight + kSentenceH;
55 static constexpr
int kVerbW = 64;
56 static constexpr
int kVerbH = 25;
57 static constexpr
int kVerbCols = 2;
58 static constexpr
int kVerbRows = 2;
59 static constexpr
int kInvX = 128;
60 static constexpr
int kInvItemW = 34;
61 static constexpr
int kInvItemH = 25;
62 static constexpr
int kInvIconInset = 1;
63 static constexpr
int kInvCols = 4;
64 static constexpr
int kInvRows = 2;
68 Script::MouseMode mode;
70 static const VerbDef kVerbs[4];
77 void rebuildProtagonistItems();
79 int getScrollButtonWidth()
const;
80 int getInvArrowX()
const;
92 int _hoveredItemIndex;
93 int _hoveredScrollButton;
94 int _inventoryScrollOffset;
101 #endif // MACS2_SCUMMUI_H Definition: managed_surface.h:51
Definition: debugtools.h:25