#include <sigc++/sigc++.h>
#include "libs/loki/Functor.h"
#include "ascstring.h"
#include "sgstream.h"
#include "messages.h"
Include dependency graph for loaders.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Typedefs | |
| typedef Loki::Functor< GameMap *, TYPELIST_1(const ASCString &) | MapLoadingFunction ) |
Functions | |
| void | savemap (const char *name, GameMap *gamemap) |
| saves the map located in actmap to the map file name | |
| void | savegame (const ASCString &name) |
| saves the game located in actmap to the savegame file name | |
| GameMap * | mapLoadingExceptionChecker (const ASCString &filename, MapLoadingFunction loader) |
| GameMap * | loadreplay (tmemorystreambuf *streambuf) |
| void | savereplay (GameMap *gamemap, int num) |
| writes all replay relevant map information of player num to the replay variable of actmap | |
| bool | validatemapfile (const ASCString &filename) |
| checks, whether filename is a valid map file | |
| bool | validatesavfile (const ASCString &filename) |
| checks, whether filename is a valid savegame | |
| bool | validateemlfile (const ASCString &filename) |
| checks, whether filename is a valid email game | |
| MapConinuationInfo | findNextCampaignMap (int id=-1) |
Variables | |
| const int | fileterminator |
| const char * | savegameextension |
| const char * | mapextension |
| const char * | tournamentextension |
IO for basic types like vehicletype, buildingtype etc which are also used by the small editors are found in sgstream
Definition in file loaders.h.
|
|
|
|
|
|
Definition at line 1367 of file loaders.cpp. References actreplayversion, displaymessage(), ASCmsgException::getMessage(), tsavegameloaders::loadgame(), minreplayversion, tnstream::reading, and tnstream::readInt(). Referenced by trunreplay::run(). |
|
||||||||||||
|
Definition at line 1412 of file loaders.cpp. References displaymessage(), and ASCmsgException::getMessage(). Referenced by StartMultiplayerGame::Apply(), continuenetworkgame(), NextCampaignMap::getMap(), k_loadmap(), loadGame(), loadmap(), mapeditorMainThread(), networksupervisor(), and StartMultiplayerGame::start(). |
|
|
saves the game located in actmap to the savegame file name
Definition at line 1326 of file loaders.cpp. References displaymessage(), and tsavegameloaders::savegame(). Referenced by execuseraction(), NextMap::execute(), GuiFunctions::EndTurn::execute(), GameMap::read(), and saveGame(). |
|
||||||||||||
|
saves the map located in actmap to the map file name
Definition at line 1304 of file loaders.cpp. References displaymessage(), and tmaploaders::savemap(). Referenced by editpolygon(), and k_savemap(). |
|
||||||||||||
|
writes all replay relevant map information of player num to the replay variable of actmap
Definition at line 1341 of file loaders.cpp. References actreplayversion, displaymessage(), fatalError(), GameMap::replayinfo, tsavegameloaders::savegame(), tnstream::writeInt(), and tnstream::writing. Referenced by initReplayLogging(). |
|
|
checks, whether filename is a valid email game
Definition at line 1486 of file loaders.cpp. References actnetworkversion, fileterminator, minnetworkversion, tnstream::reading, tnstream::readInt(), tnstream::readpchar(), and tnstream::readWord(). Referenced by loadStartupMap(). |
|
|
checks, whether filename is a valid map file
Definition at line 1450 of file loaders.cpp. References actmapversion, fileterminator, minmapversion, tnstream::reading, tnstream::readInt(), tnstream::readpchar(), and tnstream::readWord(). Referenced by loadStartupMap(). |
|
|
checks, whether filename is a valid savegame
Definition at line 1519 of file loaders.cpp. References actsavegameversion, fileterminator, minsavegameversion, tnstream::reading, tnstream::readInt(), tnstream::readpchar(), and tnstream::readWord(). Referenced by loadStartupMap(). |
|
|
Definition at line 69 of file loaders.cpp. Referenced by findNextCampaignMap(), tsavegameloaders::loadgame(), tnetworkloaders::loadnwgame(), tsavegameloaders::savegame(), tmaploaders::savemap(), tnetworkloaders::savenwgame(), validateemlfile(), validatemapfile(), and validatesavfile(). |
|
|
Definition at line 73 of file loaders.cpp. Referenced by findNextCampaignMap(), k_loadmap(), k_savemap(), loadStartupMap(), mapeditorMainThread(), and StartMultiplayerGame::userHandler(). |
|
|
Definition at line 72 of file loaders.cpp. Referenced by NextMap::execute(), GuiFunctions::EndTurn::execute(), loadGame(), loadStartupMap(), and saveGame(). |
|
|
Definition at line 74 of file loaders.cpp. Referenced by FileTransfer::constructFileName(), continuenetworkgame(), loadStartupMap(), networksupervisor(), and FileTransfer::send(). |
1.4.2