$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <ctype.h>
#include <string>
#include "stratagus.h"
#include "icons.h"
#include "ui.h"
#include "construct.h"
#include "unittype.h"
#include "unit.h"
#include "upgrade.h"
#include "depend.h"
#include "interface.h"
#include "missile.h"
#include "tileset.h"
#include "map.h"
#include "player.h"
#include "ai.h"
#include "results.h"
#include "trigger.h"
#include "settings.h"
#include "iolib.h"
#include "spells.h"
#include "commands.h"
#include "script.h"
#include "actions.h"
#include "replay.h"
Functions | |
savegame.cpp - Save game. | |
static std::string | GetSaveDir () |
int | SaveGame (const std::string &filename) |
Load saved game. | |
void | DeleteSaveGame (const std::string &filename) |
Save game. |
void DeleteSaveGame | ( | const std::string & | filename | ) |
Save game.
Delete save game
filename | Name of file to delete |
static std::string GetSaveDir | ( | ) | [static] |
Get the save directory and create dirs if needed
int SaveGame | ( | const std::string & | filename | ) |
Load saved game.
Save a game to file.
filename | File name to be stored. |