Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

tsavegameloaders Class Reference

#include <loaders.h>

Inheritance diagram for tsavegameloaders:

Inheritance graph
[legend]
List of all members.

Public Member Functions

GameMaploadgame (pnstream strm)
void savegame (pnstream strm, GameMap *gamemap, bool writeReplays=true)
void savegame (const ASCString &name)

Static Public Member Functions

static GameMaploadGameFromFile (const ASCString &name)

Member Function Documentation

GameMap * tsavegameloaders::loadgame pnstream  strm  ) 
 

Definition at line 1071 of file loaders.cpp.

References actsavegameversion, calculateallobjects(), tspfldloaders::chainitems(), checkForUniqueUnitIDs(), fileterminator, 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().

GameMap * tsavegameloaders::loadGameFromFile const ASCString name  )  [static]
 

Definition at line 1064 of file loaders.cpp.

References loadgame(), and tnstream::reading.

Referenced by loadGame().

void tsavegameloaders::savegame const ASCString name  ) 
 

Definition at line 1056 of file loaders.cpp.

References actmap, savegame(), and tnstream::writing.

void tsavegameloaders::savegame pnstream  strm,
GameMap gamemap,
bool  writeReplays = true
 

Definition at line 1025 of file loaders.cpp.

References actsavegameversion, fileterminator, getFullVersionString(), GameMap::replayinfo, tspfldloaders::spfld, tspfldloaders::stream, tgameloaders::writeAI(), tspfldloaders::writedissections(), tspfldloaders::writefields(), tnstream::writeInt(), tspfldloaders::writemap(), tspfldloaders::writemessages(), tnstream::writepchar(), and tnstream::writeWord().

Referenced by savegame(), savegame(), and savereplay().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:21:53 2008 for Advanced Strategic Command by  doxygen 1.4.2