xoreos
0.0.5
|
#include <ingame.h>
Public Member Functions | |
IngameGUI (Module &module, ::Engines::Console *console=0) | |
void | show () |
Show the ingame GUI elements. More... | |
void | hide () |
Hide the ingame GUI elements. More... | |
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. More... | |
void | setPosition (float x, float y) |
Set the position for the minimap. More... | |
void | setRotation (float angle) |
Set the rotation for the minimap arrow. More... | |
void | setReturnStrref (uint32 id) |
void | setReturnQueryStrref (uint32 id) |
void | setReturnEnabled (bool enabled) |
void | showContainer (Inventory &inv) |
void | setPartyLeader (Creature *creature) |
void | setPartyMember1 (Creature *creature) |
void | setPartyMember2 (Creature *creature) |
void | addEvent (const Events::Event &event) |
void | processEventQueue () |
Private Attributes | |
Common::ScopedPtr< HUD > | _hud |
Engines::KotOR::IngameGUI::IngameGUI | ( | Module & | module, |
::Engines::Console * | console = 0 |
||
) |
void Engines::KotOR::IngameGUI::addEvent | ( | const Events::Event & | event | ) |
Definition at line 86 of file ingame.cpp.
References _hud.
void Engines::KotOR::IngameGUI::hide | ( | ) |
void Engines::KotOR::IngameGUI::processEventQueue | ( | ) |
Definition at line 90 of file ingame.cpp.
References _hud.
void Engines::KotOR::IngameGUI::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.
Definition at line 43 of file ingame.cpp.
References _hud.
void Engines::KotOR::IngameGUI::setPartyLeader | ( | Creature * | creature | ) |
Definition at line 74 of file ingame.cpp.
References _hud.
void Engines::KotOR::IngameGUI::setPartyMember1 | ( | Creature * | creature | ) |
Definition at line 78 of file ingame.cpp.
References _hud.
void Engines::KotOR::IngameGUI::setPartyMember2 | ( | Creature * | creature | ) |
Definition at line 82 of file ingame.cpp.
References _hud.
void Engines::KotOR::IngameGUI::setPosition | ( | float | x, |
float | y | ||
) |
void Engines::KotOR::IngameGUI::setReturnEnabled | ( | bool | enabled | ) |
Definition at line 66 of file ingame.cpp.
References _hud.
void Engines::KotOR::IngameGUI::setReturnQueryStrref | ( | uint32 | id | ) |
Definition at line 62 of file ingame.cpp.
References _hud.
void Engines::KotOR::IngameGUI::setReturnStrref | ( | uint32 | id | ) |
Definition at line 58 of file ingame.cpp.
References _hud.
void Engines::KotOR::IngameGUI::setRotation | ( | float | angle | ) |
void Engines::KotOR::IngameGUI::show | ( | ) |
void Engines::KotOR::IngameGUI::showContainer | ( | Inventory & | inv | ) |
Definition at line 70 of file ingame.cpp.
References _hud.
|
private |
Definition at line 71 of file ingame.h.
Referenced by addEvent(), hide(), processEventQueue(), setMinimap(), setPartyLeader(), setPartyMember1(), setPartyMember2(), setPosition(), setReturnEnabled(), setReturnQueryStrref(), setReturnStrref(), setRotation(), show(), and showContainer().