#include <loaders.h>
Inheritance diagram for tsavegameloaders:

Public Member Functions | |
| GameMap * | loadgame (tnstream *strm) |
| GameFileInformation | loadMapimageFromFile (const ASCString &filename) |
| void | savegame (tnstream *strm, GameMap *gamemap, bool writeReplays=true) |
| void | savegame (GameMap *gamemap, const ASCString &name) |
Static Public Member Functions | |
| static GameMap * | loadGameFromFile (const ASCString &name) |
Definition at line 139 of file loaders.h.
Definition at line 1141 of file loaders.cpp.
References actsavegameversion, calculateallobjects(), tspfldloaders::chainitems(), checkForUniqueUnitIDs(), fileterminator, tnstream::getDeviceName(), loadmapfromstream(), tspfldloaders::mapLoaded, minsavegameversion, GameMap::player, Research::read_techs(), tgameloaders::readAI(), tspfldloaders::readdissections(), tspfldloaders::readfields(), tnstream::readInt(), tspfldloaders::readLegacyNetwork(), tspfldloaders::readmap(), tspfldloaders::readmessages(), readOldEventLists(), tspfldloaders::readoldevents(), tnstream::readString(), tnstream::readWord(), GameMap::replayinfo, Player::research, seteventtriggers(), tspfldloaders::spfld, tspfldloaders::stream, and weatherSystemRequired().
Referenced by loadGameFromFile(), and loadreplay().
Definition at line 1134 of file loaders.cpp.
References loadgame(), and tnstream::reading.
Referenced by loadGameFromFile().
| GameFileInformation tsavegameloaders::loadMapimageFromFile | ( | const ASCString & | filename | ) |
Definition at line 1108 of file loaders.cpp.
References fileterminator, tnstream::getDeviceName(), GameFileInformation::image, loadmapfromstream(), GameFileInformation::maptitle, GameFileInformation::playername, tnstream::reading, tnstream::readInt(), tnstream::readString(), tnstream::readWord(), tspfldloaders::stream, and GameFileInformation::turn.
Referenced by SavegameWidget::display().
Definition at line 1059 of file loaders.cpp.
References actsavegameversion, fileterminator, GameMap::getCurrentPlayer(), getFullVersionString(), Player::getName(), GameMap::maptitle, GameMap::replayinfo, tspfldloaders::spfld, PackageManager::storeData(), tspfldloaders::stream, GameMap::time, GameTime::turn(), tgameloaders::writeAI(), tspfldloaders::writedissections(), tspfldloaders::writefields(), tnstream::writeInt(), tspfldloaders::writemap(), writemaptostream(), tspfldloaders::writemessages(), tnstream::writepchar(), tnstream::writeString(), and tnstream::writeWord().
Referenced by savegame(), savegame(), and savereplay().
1.5.1