32 _hud.reset(
new HUD(module, console));
44 float worldPt1X,
float worldPt1Y,
float worldPt2X,
float worldPt2Y,
45 float mapPt1X,
float mapPt1Y,
float mapPt2X,
float mapPt2Y) {
47 _hud->setMinimap(map, northAxis, worldPt1X, worldPt1Y, worldPt2X, worldPt2Y, mapPt1X, mapPt1Y, mapPt2X, mapPt2Y);
51 _hud->setPosition(x, y);
55 _hud->setRotation(angle);
59 _hud->setReturnStrref(
id);
63 _hud->setReturnQueryStrref(
id);
67 _hud->setReturnEnabled(enabled);
71 _hud->showContainer(inv);
75 _hud->setPartyLeader(creature);
79 _hud->setPartyMember1(creature);
83 _hud->setPartyMember2(creature);
87 _hud->addEvent(event);
91 _hud->processEventQueue();
void show()
Show the ingame GUI elements.
Common::ScopedPtr< HUD > _hud
void addEvent(const Events::Event &event)
A class holding an UTF-8 string.
void showContainer(Inventory &inv)
void setRotation(float angle)
Set the rotation for the minimap arrow.
void setPartyMember2(Creature *creature)
void hide()
Hide the ingame GUI elements.
void setReturnQueryStrref(uint32 id)
void setReturnEnabled(bool enabled)
void setReturnStrref(uint32 id)
void setMinimap(const Common::UString &map, int northAxis, float worldPt1X, float worldPt1Y, float worldPt2X, float worldPt2Y, float mapPt1X, float mapPt1Y, float mapPt2X, float mapPt2Y)
Set the minimap with the specified id and both scaling points.
void setPosition(float x, float y)
Set the position for the minimap.
void setPartyLeader(Creature *creature)
void setPartyMember1(Creature *creature)
IngameGUI(Module &module, ::Engines::Console *console=0)