Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Functions | |
void | itoa (unsigned int dat, char *output) |
std::string | MakeFactionKey (int faction) |
bool | IsFGKey (const std::string &fgcandidate) |
std::string | MakeFGKey (const std::string &fgname, int faction) |
std::string | MakeStarSystemFGKey (const std::string &starsystem) |
unsigned int | ShipListOffset () |
unsigned int | PerShipDataSize () |
bool | CheckFG (std::vector< std::string > &data) |
bool | CheckFG (SaveGame *sg, const std::string &fgname, unsigned int faction) |
void | PurgeZeroShips (SaveGame *sg, unsigned int faction) |
void | PurgeZeroShips (SaveGame *sg) |
Variables | |
static std::string | gFG = "FG:" |
static std::string | gSS = "SS:" |
bool fg_util::CheckFG | ( | std::vector< std::string > & | data) |
Definition at line 69 of file fg_util.cpp.
References i, PerShipDataSize(), and ShipListOffset().
Referenced by CheckFG(), PurgeZeroShips(), and SaveGame::PurgeZeroStarships().
Definition at line 85 of file fg_util.cpp.
References CheckFG(), SaveGame::getMissionStringData(), and MakeFGKey().
bool fg_util::IsFGKey | ( | const std::string & | fgcandidate) |
Definition at line 36 of file fg_util.cpp.
Referenced by SaveGame::PurgeZeroStarships().
void fg_util::itoa | ( | unsigned int | dat, |
char * | output | ||
) |
Definition at line 10 of file fg_util.cpp.
Referenced by MakeFactionKey(), and MakeFGKey().
std::string fg_util::MakeFactionKey | ( | int | faction) |
std::string fg_util::MakeFGKey | ( | const std::string & | fgname, |
int | faction | ||
) |
std::string fg_util::MakeStarSystemFGKey | ( | const std::string & | starsystem) |
unsigned int fg_util::PerShipDataSize | ( | ) |
Definition at line 91 of file fg_util.cpp.
References CheckFG(), StarSystemGent::faction, SaveGame::getMissionStringData(), SaveGame::getMissionStringDataLength(), i, and MakeFactionKey().
Referenced by PurgeZeroShips().
void fg_util::PurgeZeroShips | ( | SaveGame * | sg) |
unsigned int fg_util::ShipListOffset | ( | ) |
|
static |
Definition at line 42 of file fg_util.cpp.
Referenced by MakeFGKey().
|
static |
Definition at line 52 of file fg_util.cpp.
Referenced by MakeStarSystemFGKey().