#include <Savegame.h>
Public Member Functions | |
| Savegame (IDataSource *ds) | |
| virtual | ~Savegame () |
| uint32 | getVersion () |
| std::string | getDescription () |
| IDataSource * | getDataSource (const std::string &name) |
Protected Attributes | |
| ZipFile * | zipfile |
Definition at line 25 of file Savegame.h.
| Savegame::Savegame | ( | IDataSource * | ds | ) | [explicit] |
| Savegame::~Savegame | ( | ) | [virtual] |
| IDataSource * Savegame::getDataSource | ( | const std::string & | name | ) |
Definition at line 51 of file Savegame.cpp.
References ZipFile::getObject(), and zipfile.
Referenced by getVersion(), and GUIApp::loadGame().
| std::string Savegame::getDescription | ( | ) |
get the savegame's description
Definition at line 46 of file Savegame.cpp.
References ZipFile::getComment(), and zipfile.
Referenced by U8SaveGump::loadDescriptions().
| uint32 Savegame::getVersion | ( | ) |
get the savegame's global version
Definition at line 35 of file Savegame.cpp.
References getDataSource(), IDataSource::getSize(), IDataSource::read4(), and PentagramVersion::version.
Referenced by U8SaveGump::loadDescriptions(), and GUIApp::loadGame().
ZipFile* Savegame::zipfile [protected] |
Definition at line 39 of file Savegame.h.
Referenced by getDataSource(), getDescription(), Savegame(), and ~Savegame().
1.4.7