vegastrike
0.5.1.r1
|
#include "cs_python.h"
#include "cmd/unit_generic.h"
#include "hashtable.h"
#include <float.h>
#include "vsfilesystem.h"
#include <vector>
#include <string>
#include "configxml.h"
#include "vs_globals.h"
#include "savegame.h"
#include "load_mission.h"
#include <algorithm>
#include "cmd/script/mission.h"
#include "gfx/cockpit_generic.h"
#include "networking/const.h"
#include "cmd/fg_util.h"
#include "options.h"
Go to the source code of this file.
Classes | |
class | MissionStringDat |
class | MissionFloatDat |
Functions | |
std::string | GetHelperPlayerSaveGame (int num) |
std::string | GetWritePlayerSaveGame (int num) |
std::string | GetReadPlayerSaveGame (int num) |
void | SaveFileCopy (const char *src, const char *dst) |
vector< string > | parsePipedString (string s) |
string | createPipedString (vector< string >s) |
void | CopySavedShips (std::string filename, int player_num, const std::vector< std::string > &starships, bool load) |
void | WriteSaveGame (Cockpit *cp, bool auto_save) |
int | hopto (char *buf, char endln, char endln2, int readlen) |
template<class MContainerType > | |
void | RemoveEmpty (MContainerType &t) |
std::string | scanInString (char *&buf) |
string | AnyStringScanInString (char *&buf) |
void | AnyStringSkipInString (char *&buf) |
string | AnyStringWriteString (string input) |
const string & | GetCurrentSaveGame () |
string | SetCurrentSaveGame (string newname) |
const string & | GetSaveDir () |
Variables | |
vs_options | game_options |
std::string | CurrentSaveGameName = "" |
bool | STATIC_VARS_DESTROYED |
string AnyStringScanInString | ( | char *& | buf) |
Definition at line 501 of file savegame.cpp.
void AnyStringSkipInString | ( | char *& | buf) |
Definition at line 523 of file savegame.cpp.
string AnyStringWriteString | ( | string | input) |
Definition at line 542 of file savegame.cpp.
void CopySavedShips | ( | std::string | filename, |
int | player_num, | ||
const std::vector< std::string > & | starships, | ||
bool | load | ||
) |
Definition at line 276 of file savegame.cpp.
string createPipedString | ( | vector< string > | s) |
Definition at line 266 of file savegame.cpp.
const string& GetCurrentSaveGame | ( | ) |
Definition at line 998 of file savegame.cpp.
std::string GetHelperPlayerSaveGame | ( | int | num) |
Definition at line 32 of file savegame.cpp.
std::string GetReadPlayerSaveGame | ( | int | num) |
Definition at line 128 of file savegame.cpp.
const string& GetSaveDir | ( | ) |
Definition at line 1010 of file savegame.cpp.
std::string GetWritePlayerSaveGame | ( | int | num) |
Definition at line 119 of file savegame.cpp.
int hopto | ( | char * | buf, |
char | endln, | ||
char | endln2, | ||
int | readlen | ||
) |
Definition at line 335 of file savegame.cpp.
vector< string > parsePipedString | ( | string | s) |
Definition at line 250 of file savegame.cpp.
void RemoveEmpty | ( | MContainerType & | t) |
Definition at line 417 of file savegame.cpp.
void SaveFileCopy | ( | const char * | src, |
const char * | dst | ||
) |
Definition at line 138 of file savegame.cpp.
std::string scanInString | ( | char *& | buf) |
Definition at line 448 of file savegame.cpp.
string SetCurrentSaveGame | ( | string | newname) |
Definition at line 1003 of file savegame.cpp.
void WriteSaveGame | ( | Cockpit * | cp, |
bool | auto_save | ||
) |
Definition at line 310 of file savegame.cpp.
std::string CurrentSaveGameName = "" |
Definition at line 31 of file savegame.cpp.
vs_options game_options |
bool STATIC_VARS_DESTROYED |
Definition at line 21 of file vs_globals.cpp.