ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::Global Class Reference

Global resources holder object. More...

#include <global.h>

Collaboration diagram for Stark::Global:

List of all members.

Public Member Functions

 Global ()
Resources::RootgetRoot () const
Resources::LevelgetLevel () const
CurrentgetCurrent () const
bool isFastForward () const
uint getMillisecondsPerGameloop () const
Resources::GlobalItemTemplategetApril () const
Resources::KnowledgeSetgetInventory () const
void setRoot (Resources::Root *root)
void setLevel (Resources::Level *level)
void setCurrent (Current *current)
void setFastForward ()
void setNormalSpeed ()
void setMillisecondsPerGameloop (uint millisecondsPerGameloop)
void setApril (Resources::GlobalItemTemplate *april)
void setInventory (Resources::KnowledgeSet *inventory)
int32 getCurrentChapter ()
 Retrieve the current chapter number from the global resource tree.
bool hasInventoryItem (const Common::String &itemName) const
 Check if the player has an inventory item using its name.
void setCurrentChapter (int32 value)
 Change the current chapter.
Common::String getCharacterName (int32 id)
 Get the name of a character by its id.

Private Attributes

uint _millisecondsPerGameloop
bool _fastForward

Detailed Description

Global resources holder object.

Definition at line 78 of file global.h.

Constructor & Destructor Documentation

Stark::Global::Global (  ) 

Definition at line 32 of file global.cpp.

Member Function Documentation

Resources::GlobalItemTemplate* Stark::Global::getApril (  )  const [inline]

Definition at line 87 of file global.h.

Common::String Stark::Global::getCharacterName ( int32  id  ) 

Get the name of a character by its id.

Definition at line 54 of file global.cpp.

Current* Stark::Global::getCurrent (  )  const [inline]

Definition at line 84 of file global.h.

int32 Stark::Global::getCurrentChapter (  ) 

Retrieve the current chapter number from the global resource tree.

Definition at line 42 of file global.cpp.

Resources::KnowledgeSet* Stark::Global::getInventory (  )  const [inline]

Definition at line 88 of file global.h.

Resources::Level* Stark::Global::getLevel (  )  const [inline]

Definition at line 83 of file global.h.

uint Stark::Global::getMillisecondsPerGameloop (  )  const [inline]

Definition at line 86 of file global.h.

Resources::Root* Stark::Global::getRoot (  )  const [inline]

Definition at line 82 of file global.h.

bool Stark::Global::hasInventoryItem ( const Common::String itemName  )  const

Check if the player has an inventory item using its name.

Definition at line 60 of file global.cpp.

bool Stark::Global::isFastForward (  )  const [inline]

Definition at line 85 of file global.h.

void Stark::Global::setApril ( Resources::GlobalItemTemplate april  )  [inline]

Definition at line 96 of file global.h.

void Stark::Global::setCurrent ( Current current  )  [inline]

Definition at line 92 of file global.h.

void Stark::Global::setCurrentChapter ( int32  value  ) 

Change the current chapter.

Definition at line 48 of file global.cpp.

void Stark::Global::setFastForward (  )  [inline]

Definition at line 93 of file global.h.

void Stark::Global::setInventory ( Resources::KnowledgeSet inventory  )  [inline]

Definition at line 97 of file global.h.

void Stark::Global::setLevel ( Resources::Level level  )  [inline]

Definition at line 91 of file global.h.

void Stark::Global::setMillisecondsPerGameloop ( uint  millisecondsPerGameloop  )  [inline]

Definition at line 95 of file global.h.

void Stark::Global::setNormalSpeed (  )  [inline]

Definition at line 94 of file global.h.

void Stark::Global::setRoot ( Resources::Root root  )  [inline]

Definition at line 90 of file global.h.

Member Data Documentation

Definition at line 116 of file global.h.

Definition at line 117 of file global.h.

Definition at line 118 of file global.h.

Definition at line 115 of file global.h.

Definition at line 114 of file global.h.

Definition at line 112 of file global.h.

Definition at line 113 of file global.h.

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

Generated on Sat Sep 19 2020 05:06:01 for ResidualVM by doxygen 1.7.1
curved edge   curved edge