#include <Syndicate/Data/Game.h>
Inheritance diagram for Syndicate::Data::Game:
Public Member Functions | |
Game (void) | |
~Game (void) | |
GameItem * | getItem (unsigned offset) |
virtual void | info (void) |
bool | load (char const *filename) |
unsigned | getLength (void) |
Public Attributes | |
Syndicate::Data::Game::GameStruct * | _data |
Protected Attributes | |
unsigned | _data_length |
Classes | |
struct | GameItem |
struct | GameStruct |
Syndicate::Data::Game::Game | ( | void | ) | [inline] |
Syndicate::Data::Game::~Game | ( | void | ) | [inline] |
GameItem* Syndicate::Data::Game::getItem | ( | unsigned | offset | ) | [inline] |
virtual void Syndicate::Data::File::info | ( | void | ) | [virtual, inherited] |
In debug mode it display the informations.
bool Syndicate::Data::File::load | ( | char const * | filename | ) | [inherited] |
This method load the content (unpacked) of the file at the adress pointed by _data.
[in] | filename | the name of the file. |
true | if success. | |
false | if fails. If previous file is loaded, the data keep unaffected. |
unsigned Syndicate::Data::File::getLength | ( | void | ) | [inline, inherited] |
Reimplemented from Syndicate::Data::File.
unsigned Syndicate::Data::File::_data_length [protected, inherited] |