_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <string>
Go to the source code of this file.
Functions | |
void | LoadGame (const std::string &filename) |
int | SaveGame (const std::string &filename) |
Load saved game. More... | |
void | DeleteSaveGame (const std::string &filename) |
Save game. More... | |
void | InitModules () |
Save game is in progress of loading. More... | |
void | LuaRegisterModules () |
Initialize all modules. More... | |
void | LoadModules () |
Register lua script of each modules. More... | |
void | CleanModules () |
Load all modules. More... | |
void | FreeAllContainers () |
Cleanup all modules. More... | |
void | SaveGameSettings (CFile &file) |
Variables | |
bool | SaveGameLoading |
Delete save game. More... | |
std::string | GameName |
Save game settings. More... | |
std::string | FullGameName |
Name of the game. More... | |
bool | UseHPForXp |
Full Name of the game. More... | |
void CleanModules | ( | ) |
Load all modules.
Load all modules.
Cleanup modules.
Call each module to clean up.
void DeleteSaveGame | ( | const std::string & | filename | ) |
Save game.
Delete save game
filename | Name of file to delete |
void FreeAllContainers | ( | ) |
Cleanup all modules.
void InitModules | ( | ) |
Save game is in progress of loading.
Initialize all modules.
Call each module to initialize.
void LoadGame | ( | const std::string & | filename | ) |
Load a game to file.
filename | File name to be loaded. |
void LoadModules | ( | ) |
Register lua script of each modules.
Load all.
Call each module to load additional files (graphics,sounds).
void LuaRegisterModules | ( | ) |
Initialize all modules.
int SaveGame | ( | const std::string & | filename | ) |
Load saved game.
Save a game to file.
filename | File name to be stored. |
std::string FullGameName |
Name of the game.
std::string GameName |
Save game settings.
Save game settings.
bool SaveGameLoading |
Delete save game.
bool UseHPForXp |
Full Name of the game.
Full Name of the game.