xoreos
0.0.5
|
#include <tileset.h>
Classes | |
struct | Tile |
Public Member Functions | |
Tileset (const Common::UString &resRef) | |
~Tileset () | |
const Common::UString & | getName () const |
const Common::UString & | getEnvironmentMap () const |
float | getTilesHeight () const |
const Tile & | getTile (size_t n) const |
Private Member Functions | |
void | load (const Common::ConfigFile &set) |
void | loadGeneral (const Common::ConfigDomain &general) |
void | loadTile (const Common::ConfigFile &set, uint i, Tile &tile) |
Private Attributes | |
Common::UString | _resRef |
Common::UString | _name |
Common::UString | _environmentMap |
float | _tilesHeight |
std::vector< Tile > | _tiles |
Engines::NWN::Tileset::Tileset | ( | const Common::UString & | resRef | ) |
Definition at line 40 of file tileset.cpp.
References Common::UString::c_str(), Aurora::kFileTypeSET, load(), Common::ConfigFile::load(), and ResMan.
Engines::NWN::Tileset::~Tileset | ( | ) |
Definition at line 52 of file tileset.cpp.
const Common::UString & Engines::NWN::Tileset::getEnvironmentMap | ( | ) | const |
Definition at line 59 of file tileset.cpp.
References _environmentMap.
const Common::UString & Engines::NWN::Tileset::getName | ( | ) | const |
Definition at line 55 of file tileset.cpp.
References _name.
const Tileset::Tile & Engines::NWN::Tileset::getTile | ( | size_t | n | ) | const |
Definition at line 67 of file tileset.cpp.
References _tiles.
float Engines::NWN::Tileset::getTilesHeight | ( | ) | const |
Definition at line 63 of file tileset.cpp.
References _tilesHeight.
|
private |
Definition at line 74 of file tileset.cpp.
References _tiles, Common::ConfigDomain::getUint(), loadGeneral(), and loadTile().
Referenced by Tileset().
|
private |
Definition at line 91 of file tileset.cpp.
References _environmentMap, _name, _tilesHeight, Common::ConfigDomain::getString(), Common::ConfigDomain::getUint(), Aurora::kStrRefInvalid, and TalkMan.
Referenced by load().
|
private |
Definition at line 98 of file tileset.cpp.
References Common::UString::c_str(), Common::UString::format(), Common::ConfigDomain::getString(), and Engines::NWN::Tileset::Tile::model.
Referenced by load().
|
private |
Definition at line 62 of file tileset.h.
Referenced by getEnvironmentMap(), and loadGeneral().
|
private |
Definition at line 60 of file tileset.h.
Referenced by getName(), and loadGeneral().
|
private |
|
private |
|
private |
Definition at line 64 of file tileset.h.
Referenced by getTilesHeight(), and loadGeneral().