xoreos  0.0.5
Public Member Functions | Private Attributes | List of all members
Engines::KotOR::IngameGUI Class Reference

#include <ingame.h>

Collaboration diagram for Engines::KotOR::IngameGUI:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 39 of file ingame.h.

Constructor & Destructor Documentation

◆ IngameGUI()

Engines::KotOR::IngameGUI::IngameGUI ( Module module,
::Engines::Console console = 0 
)

Member Function Documentation

◆ addEvent()

void Engines::KotOR::IngameGUI::addEvent ( const Events::Event event)

Definition at line 86 of file ingame.cpp.

References _hud.

◆ hide()

void Engines::KotOR::IngameGUI::hide ( )

Hide the ingame GUI elements.

Definition at line 39 of file ingame.cpp.

References _hud.

◆ processEventQueue()

void Engines::KotOR::IngameGUI::processEventQueue ( )

Definition at line 90 of file ingame.cpp.

References _hud.

◆ setMinimap()

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.

◆ setPartyLeader()

void Engines::KotOR::IngameGUI::setPartyLeader ( Creature creature)

Definition at line 74 of file ingame.cpp.

References _hud.

◆ setPartyMember1()

void Engines::KotOR::IngameGUI::setPartyMember1 ( Creature creature)

Definition at line 78 of file ingame.cpp.

References _hud.

◆ setPartyMember2()

void Engines::KotOR::IngameGUI::setPartyMember2 ( Creature creature)

Definition at line 82 of file ingame.cpp.

References _hud.

◆ setPosition()

void Engines::KotOR::IngameGUI::setPosition ( float  x,
float  y 
)

Set the position for the minimap.

Definition at line 50 of file ingame.cpp.

References _hud.

◆ setReturnEnabled()

void Engines::KotOR::IngameGUI::setReturnEnabled ( bool  enabled)

Definition at line 66 of file ingame.cpp.

References _hud.

◆ setReturnQueryStrref()

void Engines::KotOR::IngameGUI::setReturnQueryStrref ( uint32  id)

Definition at line 62 of file ingame.cpp.

References _hud.

◆ setReturnStrref()

void Engines::KotOR::IngameGUI::setReturnStrref ( uint32  id)

Definition at line 58 of file ingame.cpp.

References _hud.

◆ setRotation()

void Engines::KotOR::IngameGUI::setRotation ( float  angle)

Set the rotation for the minimap arrow.

Definition at line 54 of file ingame.cpp.

References _hud.

◆ show()

void Engines::KotOR::IngameGUI::show ( )

Show the ingame GUI elements.

Definition at line 35 of file ingame.cpp.

References _hud.

◆ showContainer()

void Engines::KotOR::IngameGUI::showContainer ( Inventory inv)

Definition at line 70 of file ingame.cpp.

References _hud.

Member Data Documentation

◆ _hud

Common::ScopedPtr<HUD> Engines::KotOR::IngameGUI::_hud
private

The documentation for this class was generated from the following files: