helapordo 1.4.12
|
Go to the source code of this file.
Macros | |
#define | SERSAVEHEADER_BUFSIZE 15 |
Defines size for all SerSaveHeader char buffers. | |
#define | SAVEHEADER_BUFSIZE SERSAVEHEADER_BUFSIZE |
Defines size for all SaveHeader char buffers. | |
#define | SerTurncounter_Fmt "SerTurncounter { Type: %" PRId32 ", Count: %" PRId32 ", InnerValue: %" PRId32 " }" |
#define | SerTurncounter_Arg(st) |
#define | SerPerk_Fmt "SerPerk { Class: %s , InnerValue: %" PRId32 " }" |
#define | SerPerk_Arg(sp) |
#define | SerEquip_Fmt "SerEquip { Class: %s , Type: %s, Equipped: %" PRId8 ", Level: %" PRId8 ", Atk: %" PRId8 ", Def: %" PRId8 ", Vel: %" PRId8 ", Enr: %" PRId8 ", Bonus: %" PRId8 ", PerksCount: %" PRId8 ", Cost: %" PRId8 ", Quality: %s }" |
#define | SerEquip_Arg(se) |
#define | SerSpecialslot_Fmt "SerSpecialslot { Move: %" PRId8 ", Enabled: %s, Cost: %" PRId8 " }" |
#define | SerSpecialslot_Arg(sp) |
#define | SerConsumable_Fmt "SerConsumable { Class: %s , Quantity: %" PRId32 " }" |
#define | SerConsumable_Arg(sc) |
#define | SerArtifact_Fmt "SerArtifact { Class: %s , Quantity: %" PRId32 ", Active: %" PRId32 ", InnerValue: %" PRId32 " }" |
#define | SerArtifact_Arg(sa) |
#define | SerCountstats_Fmt "SerCountstats {\n Enemies killed: %" PRId8 ",\n Consumables Found: %" PRId8 ",\n Equips Found: %" PRId8 ",\n Artifacts found: %" PRId8 ",\n Critical Hits dealt: %" PRId8",\n Rooms completed: %" PRId8 ",\n Floors completed: %" PRId8 ",\n Specials Unlocked: %" PRId8 ",\n Coins found: %" PRId8 ",\n Bosses killed: %" PRId8 ",\n Unique Bosses Killed: %" PRId8 ",\n Killed Bosses: [\n %s: %s,\n %s: %s,\n %s: %s,\n %s: %s,\n %s: %s\n ],\n Keys Found: %" PRId8 "\n }" |
#define | SerCountstats_Arg(sc) |
#define | SERFIGHTER_NAME_BUFSIZE FIGHTER_NAME_BUFSIZE |
Defines size for SerFighter name buffer. | |
#define | SerFighter_Fmt "SerFighter {\n Name: %s,\n Class: %s,\n Hp: %" PRId8 ",\n Atk: %" PRId8 ",\n Def: %" PRId8 ",\n Vel: %" PRId8 ",\n Level: %" PRId8 ",\n Luck: %" PRId8 ",\n Total xp: %" PRId8 ",\n Current lvl xp: %" PRId8 ",\n Total lvl xp: %" PRId8 ",\n Total hp: %" PRId8 ",\n Status: %s,\n Energy: %" PRId8 ",\n Total energy: %" PRId8 ",\n Stamina: %" PRId8 ",\n Total Stamina: %" PRId8 ",\n Turnboost_Atk: %" PRId8 ",\n Turnboost_Def: %" PRId8 ",\n Turnboost_Vel: %" PRId8 ",\n Turnboost_Enr: %" PRId8 ",\n PerksCount: %" PRId8 ",\n EquipsBagOccupiedSlots: %" PRId8 ",\n EarliestBagSlot: %" PRId8 ",\n Permboost_Atk: %" PRId8 ",\n Permboost_Def: %" PRId8 ",\n Permboost_Vel: %" PRId8 ",\n Permboost_Enr: %" PRId8 ",\n Equipboost_Atk: %" PRId8 ",\n Equipboost_Def: %" PRId8 ",\n Equipboost_Vel: %" PRId8 ",\n Equipboost_Enr: %" PRId8 ",\n Balance: %" PRId32 ",\n Keys Balance: %" PRId8 ",\n Floor_x: %" PRId8 ",\n Floor_y: %" PRId8 "\n }" |
#define | SerFighter_Arg(sf) |
#define | SERPATH_SEED_BUFSIZE PATH_SEED_BUFSIZE |
Typedefs | |
typedef struct SerSaveHeader | SerSaveHeader |
Serialized save header. | |
typedef struct SaveHeader | SaveHeader |
Save header. | |
typedef struct SerTurncounter | SerTurncounter |
Serialized Turncounter. | |
typedef struct SerPerk | SerPerk |
Serialized Perk. | |
typedef struct SerSkillslot | SerSkillslot |
Serialized Skillslot. | |
typedef struct SerEquip | SerEquip |
Serialized Equip. | |
typedef struct SerEquipslot | SerEquipslot |
Serialized Equipslot. | |
typedef struct SerSpecialslot | SerSpecialslot |
Serialized Specialslot. | |
typedef struct SerConsumable | SerConsumable |
Serialized Consumable. | |
typedef struct SerArtifact | SerArtifact |
Serialized Artifact. | |
typedef struct SerCountstats | SerCountstats |
Serialized countStats. | |
typedef struct SerEnemy | SerEnemy |
Serialized Enemy. | |
typedef struct SerBoss | SerBoss |
Serialized Boss. | |
typedef struct SerFighter | SerFighter |
Serialized Fighter. | |
typedef struct SerFoeParty | SerFoeParty |
Serialized FoeParty. | |
typedef struct SerChest | SerChest |
Serialized Chest. | |
typedef struct SerTreasure | SerTreasure |
Serialized Treasure. | |
typedef struct SerShop | SerShop |
Serialized Shop. | |
typedef struct SerRoadfork | SerRoadfork |
Serialized Roadfork. | |
typedef struct SerRoom | SerRoom |
Serialized Room. | |
typedef struct SerFloor | SerFloor |
Serialized Floor. | |
typedef struct SerWincon | SerWincon |
Serialized Wincon. | |
typedef struct SerSaveslot | SerSaveslot |
Serialized Saveslot. | |
typedef struct SerPath | SerPath |
Serialized SerPath. | |
typedef struct SerGamestate | SerGamestate |
Serialized Gamestate. | |
typedef struct SerGameOptions | SerGameOptions |
Serialized GameOptions. | |
Functions | |
bool | writeSerSaveHeader (const char *filename, SerSaveHeader *data) |
Writes passed SerSaveHeader to passed file path. | |
bool | readSerSaveHeader (const char *filename, SerSaveHeader *data) |
Reads SerSaveHeader from passed file path into passed structure. | |
bool | deser_SaveHeader (SerSaveHeader *ser, SaveHeader *deser) |
Converts passed SerSaveHeader into a SaveHeader. | |
SaveHeader * | prep_saveHeader (const char *static_path, Koliseo *kls, bool force_init, bool *did_init, int saveslot_index) |
Tries reading binary save from passed path. | |
bool | appendSerTurncounter (const char *filename, SerTurncounter *data) |
bool | readSerTurncounter (const char *filename, size_t offset, SerTurncounter *data) |
bool | deser_Turncounter (SerTurncounter *ser, Turncounter *deser) |
bool | ser_Turncounter (Turncounter *deser, SerTurncounter *ser) |
bool | deser_Perk (SerPerk *ser, Perk *deser) |
bool | ser_Perk (Perk *deser, SerPerk *ser) |
bool | deser_Skillslot (SerSkillslot *ser, Skillslot *deser) |
bool | ser_Skillslot (Skillslot *deser, SerSkillslot *ser) |
bool | deser_Equip (SerEquip *ser, Equip *deser) |
bool | ser_Equip (Equip *deser, SerEquip *ser) |
bool | deser_Equipslot (SerEquipslot *ser, Equipslot *deser) |
bool | ser_Equipslot (Equipslot *deser, SerEquipslot *ser) |
bool | deser_Specialslot (SerSpecialslot *ser, Specialslot *deser) |
bool | ser_Specialslot (Specialslot *deser, SerSpecialslot *ser) |
bool | deser_Consumable (SerConsumable *ser, Consumable *deser) |
bool | ser_Consumable (Consumable *deser, SerConsumable *ser) |
bool | deser_Artifact (SerArtifact *ser, Artifact *deser) |
bool | ser_Artifact (Artifact *deser, SerArtifact *ser) |
bool | deser_countStats (SerCountstats *ser, countStats *deser) |
bool | ser_countStats (countStats *deser, SerCountstats *ser) |
bool | deser_Enemy (SerEnemy *ser, Enemy *deser) |
bool | ser_Enemy (Enemy *deser, SerEnemy *ser) |
bool | deser_Boss (SerBoss *ser, Boss *deser) |
bool | ser_Boss (Boss *deser, SerBoss *ser) |
bool | deser_Fighter (SerFighter *ser, Fighter *deser) |
bool | ser_Fighter (Fighter *deser, SerFighter *ser) |
bool | deser_FoeParty (SerFoeParty *ser, FoeParty *deser) |
bool | ser_FoeParty (FoeParty *deser, SerFoeParty *ser) |
bool | deser_Chest (SerChest *ser, Chest *deser) |
bool | ser_Chest (Chest *deser, SerChest *ser) |
bool | deser_Treasure (SerTreasure *ser, Treasure *deser) |
bool | ser_Treasure (Treasure *deser, SerTreasure *ser) |
bool | deser_Shop (SerShop *ser, Shop *deser) |
bool | ser_Shop (Shop *deser, SerShop *ser) |
bool | deser_Roadfork (SerRoadfork *ser, Roadfork *deser) |
bool | ser_Roadfork (Roadfork *deser, SerRoadfork *ser) |
bool | deser_Room (SerRoom *ser, Room *deser) |
bool | ser_Room (Room *deser, SerRoom *ser) |
bool | deser_Floor (SerFloor *ser, Floor *deser) |
bool | ser_Floor (Floor *deser, SerFloor *ser) |
bool | deser_Wincon (SerWincon *ser, Wincon *deser) |
bool | ser_Wincon (Wincon *deser, SerWincon *ser) |
bool | deser_Saveslot (SerSaveslot *ser, Saveslot *deser) |
bool | ser_Saveslot (Saveslot *deser, SerSaveslot *ser) |
bool | deser_Path (SerPath *ser, Path *deser) |
bool | ser_Path (Path *deser, SerPath *ser) |
bool | writeSerGamestate (const char *filename, SerGamestate *data) |
bool | appendSerGamestate (const char *filename, SerGamestate *data) |
bool | readSerGamestate (const char *filename, size_t offset, SerGamestate *data) |
bool | deser_Gamestate (SerGamestate *ser, Gamestate *deser) |
bool | ser_Gamestate (Gamestate *deser, SerGamestate *ser) |
bool | prep_Gamestate (Gamestate *gmst, const char *static_path, size_t offset, Koliseo *kls, bool force_init) |
Tries reading binary gamestate from passed path, at passed offset. | |
bool | read_savedir (const char *dirpath) |
bool | deser_GameOptions (SerGameOptions *ser, GameOptions *deser) |
bool | ser_GameOptions (GameOptions *deser, SerGameOptions *ser) |
bool | writeSerGameOptions (const char *filename, SerGameOptions *data) |
bool | appendSerGameOptions (const char *filename, SerGameOptions *data) |
bool | readSerGameOptions (const char *filename, size_t offset, SerGameOptions *data) |
bool | prep_GameOptions (GameOptions *game_options, const char *static_path, size_t offset, Koliseo *kls, bool force_init) |
#define SAVEHEADER_BUFSIZE SERSAVEHEADER_BUFSIZE |
Defines size for all SaveHeader char buffers.
#define SerArtifact_Arg | ( | sa | ) |
#define SerArtifact_Fmt "SerArtifact { Class: %s , Quantity: %" PRId32 ", Active: %" PRId32 ", InnerValue: %" PRId32 " }" |
#define SerConsumable_Arg | ( | sc | ) |
#define SerConsumable_Fmt "SerConsumable { Class: %s , Quantity: %" PRId32 " }" |
#define SerCountstats_Arg | ( | sc | ) |
#define SerCountstats_Fmt "SerCountstats {\n Enemies killed: %" PRId8 ",\n Consumables Found: %" PRId8 ",\n Equips Found: %" PRId8 ",\n Artifacts found: %" PRId8 ",\n Critical Hits dealt: %" PRId8",\n Rooms completed: %" PRId8 ",\n Floors completed: %" PRId8 ",\n Specials Unlocked: %" PRId8 ",\n Coins found: %" PRId8 ",\n Bosses killed: %" PRId8 ",\n Unique Bosses Killed: %" PRId8 ",\n Killed Bosses: [\n %s: %s,\n %s: %s,\n %s: %s,\n %s: %s,\n %s: %s\n ],\n Keys Found: %" PRId8 "\n }" |
#define SerEquip_Arg | ( | se | ) |
#define SerEquip_Fmt "SerEquip { Class: %s , Type: %s, Equipped: %" PRId8 ", Level: %" PRId8 ", Atk: %" PRId8 ", Def: %" PRId8 ", Vel: %" PRId8 ", Enr: %" PRId8 ", Bonus: %" PRId8 ", PerksCount: %" PRId8 ", Cost: %" PRId8 ", Quality: %s }" |
#define SerFighter_Arg | ( | sf | ) |
#define SerFighter_Fmt "SerFighter {\n Name: %s,\n Class: %s,\n Hp: %" PRId8 ",\n Atk: %" PRId8 ",\n Def: %" PRId8 ",\n Vel: %" PRId8 ",\n Level: %" PRId8 ",\n Luck: %" PRId8 ",\n Total xp: %" PRId8 ",\n Current lvl xp: %" PRId8 ",\n Total lvl xp: %" PRId8 ",\n Total hp: %" PRId8 ",\n Status: %s,\n Energy: %" PRId8 ",\n Total energy: %" PRId8 ",\n Stamina: %" PRId8 ",\n Total Stamina: %" PRId8 ",\n Turnboost_Atk: %" PRId8 ",\n Turnboost_Def: %" PRId8 ",\n Turnboost_Vel: %" PRId8 ",\n Turnboost_Enr: %" PRId8 ",\n PerksCount: %" PRId8 ",\n EquipsBagOccupiedSlots: %" PRId8 ",\n EarliestBagSlot: %" PRId8 ",\n Permboost_Atk: %" PRId8 ",\n Permboost_Def: %" PRId8 ",\n Permboost_Vel: %" PRId8 ",\n Permboost_Enr: %" PRId8 ",\n Equipboost_Atk: %" PRId8 ",\n Equipboost_Def: %" PRId8 ",\n Equipboost_Vel: %" PRId8 ",\n Equipboost_Enr: %" PRId8 ",\n Balance: %" PRId32 ",\n Keys Balance: %" PRId8 ",\n Floor_x: %" PRId8 ",\n Floor_y: %" PRId8 "\n }" |
#define SERFIGHTER_NAME_BUFSIZE FIGHTER_NAME_BUFSIZE |
Defines size for SerFighter name buffer.
#define SERPATH_SEED_BUFSIZE PATH_SEED_BUFSIZE |
#define SerPerk_Arg | ( | sp | ) |
#define SerPerk_Fmt "SerPerk { Class: %s , InnerValue: %" PRId32 " }" |
#define SERSAVEHEADER_BUFSIZE 15 |
Defines size for all SerSaveHeader char buffers.
#define SerSpecialslot_Arg | ( | sp | ) |
#define SerSpecialslot_Fmt "SerSpecialslot { Move: %" PRId8 ", Enabled: %s, Cost: %" PRId8 " }" |
#define SerTurncounter_Arg | ( | st | ) |
#define SerTurncounter_Fmt "SerTurncounter { Type: %" PRId32 ", Count: %" PRId32 ", InnerValue: %" PRId32 " }" |
typedef struct SaveHeader SaveHeader |
Save header.
Normal struct. Can be obtained from a SerSaveHeader with deser_SaveHeader().
typedef struct SerArtifact SerArtifact |
Serialized Artifact.
Packed struct. Can be turned into a Artifact with deser_Artifact(). Can be obtained from an Artifact with ser_Artifact().
typedef struct SerBoss SerBoss |
Serialized Boss.
Packed struct. Can be turned into an Boss with deser_Boss(). Can be obtained from a Boss with ser_Boss().
typedef struct SerChest SerChest |
Serialized Chest.
Packed struct. Can be turned into a Chest with deser_Chest(). Can be obtained from a Chest with ser_Chest().
typedef struct SerConsumable SerConsumable |
Serialized Consumable.
Packed struct. Can be turned into a Consumable with deser_Consumable(). Can be obtained from a Consumable with ser_Consumable().
typedef struct SerCountstats SerCountstats |
Serialized countStats.
Packed struct. Can be turned into a countStats with deser_countStats(). Can be obtained from a countStats with ser_countStats().
typedef struct SerEnemy SerEnemy |
Serialized Enemy.
Packed struct. Can be turned into an Enemy with deser_Enemy(). Can be obtained from a Enemy with ser_Enemy().
typedef struct SerEquip SerEquip |
Serialized Equip.
Packed struct. Can be turned into an Equip with deser_Equip(). Can be obtained from an Equip with ser_Equip().
typedef struct SerEquipslot SerEquipslot |
Serialized Equipslot.
Packed struct. Can be turned into an Equipslot with deser_Equipslot(). Can be obtained from an Equipslot with ser_Equipslot().
typedef struct SerFighter SerFighter |
Serialized Fighter.
Packed struct. Can be turned into an Fighter with deser_Fighter(). Can be obtained from a Fighter with ser_Fighter().
typedef struct SerFloor SerFloor |
Serialized Floor.
Packed struct. Can be turned into a Floor with deser_Floor(). Can be obtained from a Floor with ser_Floor().
typedef struct SerFoeParty SerFoeParty |
Serialized FoeParty.
Packed struct. Can be turned into an FoeParty with deser_FoeParty(). Can be obtained from a FoeParty with ser_FoeParty().
typedef struct SerGameOptions SerGameOptions |
Serialized GameOptions.
Packed struct. Can be turned into a GameOptions with deser_GameOptions(). Can be obtained from a GameOptions with ser_GameOptions().
typedef struct SerGamestate SerGamestate |
Serialized Gamestate.
Packed struct. Can be turned into a Gamestate with deser_Gamestate(). Can be obtained from a Gamestate with ser_Gamestate().
typedef struct SerPath SerPath |
Serialized SerPath.
Packed struct. Can be turned into a Path with deser_Path(). Can be obtained from a Path with ser_Path().
typedef struct SerPerk SerPerk |
Serialized Perk.
Packed struct. Can be turned into a Perk with deser_Perk(). Can be obtained from a Perk with ser_Perk().
typedef struct SerRoadfork SerRoadfork |
Serialized Roadfork.
Packed struct. Can be turned into a Roadfork with deser_Roadfork(). Can be obtained from a Roadfork with ser_Roadfork().
typedef struct SerRoom SerRoom |
Serialized Room.
Packed struct. Can be turned into a Room with deser_Room(). Can be obtained from a Room with ser_Room().
typedef struct SerSaveHeader SerSaveHeader |
Serialized save header.
Packed struct. Can be turned into a SaveHeader with deser_SaveHeader().
typedef struct SerSaveslot SerSaveslot |
Serialized Saveslot.
Packed struct. Can be turned into a Saveslot with deser_Saveslot(). Can be obtained from a Saveslot with ser_Saveslot().
typedef struct SerShop SerShop |
Serialized Shop.
Packed struct. Can be turned into a Shop with deser_Shop(). Can be obtained from a Shop with ser_Shop().
typedef struct SerSkillslot SerSkillslot |
Serialized Skillslot.
Packed struct. Can be turned into a Skillslot with deser_Skillslot(). Can be obtained from a Skillslot with ser_Skillslot().
typedef struct SerSpecialslot SerSpecialslot |
Serialized Specialslot.
Packed struct. Can be turned into a Specialslot with deser_Specialslot(). Can be obtained from a Specialslot with ser_Speciaslot().
typedef struct SerTreasure SerTreasure |
Serialized Treasure.
Packed struct. Can be turned into a Treasure with deser_Treasure(). Can be obtained from a Treasure with ser_Treasure().
typedef struct SerTurncounter SerTurncounter |
Serialized Turncounter.
Packed struct. Can be turned into a Turncounter with deser_turnCounter(). Can be obtained from a Turncounter with ser_turnCounter().
typedef struct SerWincon SerWincon |
Serialized Wincon.
Packed struct. Can be turned into a Wincon with deser_Wincon(). Can be obtained from a Wincon with ser_Wincon().
bool appendSerGameOptions | ( | const char * | filename, |
SerGameOptions * | data ) |
bool appendSerGamestate | ( | const char * | filename, |
SerGamestate * | data ) |
bool appendSerTurncounter | ( | const char * | filename, |
SerTurncounter * | data ) |
bool deser_Artifact | ( | SerArtifact * | ser, |
Artifact * | deser ) |
bool deser_Consumable | ( | SerConsumable * | ser, |
Consumable * | deser ) |
bool deser_countStats | ( | SerCountstats * | ser, |
countStats * | deser ) |
bool deser_Equipslot | ( | SerEquipslot * | ser, |
Equipslot * | deser ) |
bool deser_Fighter | ( | SerFighter * | ser, |
Fighter * | deser ) |
bool deser_FoeParty | ( | SerFoeParty * | ser, |
FoeParty * | deser ) |
bool deser_GameOptions | ( | SerGameOptions * | ser, |
GameOptions * | deser ) |
bool deser_Gamestate | ( | SerGamestate * | ser, |
Gamestate * | deser ) |
bool deser_Roadfork | ( | SerRoadfork * | ser, |
Roadfork * | deser ) |
bool deser_SaveHeader | ( | SerSaveHeader * | ser, |
SaveHeader * | deser ) |
Converts passed SerSaveHeader into a SaveHeader.
ser | The SerSaveHeader to convert. |
deser | The SaveHeader destination. |
bool deser_Saveslot | ( | SerSaveslot * | ser, |
Saveslot * | deser ) |
bool deser_Skillslot | ( | SerSkillslot * | ser, |
Skillslot * | deser ) |
bool deser_Specialslot | ( | SerSpecialslot * | ser, |
Specialslot * | deser ) |
bool deser_Treasure | ( | SerTreasure * | ser, |
Treasure * | deser ) |
bool deser_Turncounter | ( | SerTurncounter * | ser, |
Turncounter * | deser ) |
bool prep_GameOptions | ( | GameOptions * | game_options, |
const char * | static_path, | ||
size_t | offset, | ||
Koliseo * | kls, | ||
bool | force_init ) |
bool prep_Gamestate | ( | Gamestate * | gmst, |
const char * | static_path, | ||
size_t | offset, | ||
Koliseo * | kls, | ||
bool | force_init ) |
Tries reading binary gamestate from passed path, at passed offset.
gmst | Pointer to Gamestate. |
static_path | The path to which we append to find our file. |
offset | The offset of the SerGameState into passed file. |
kls | Koliseo used for allocation. |
force_init | Used to force writing a new SerGamestate. |
SaveHeader * prep_saveHeader | ( | const char * | static_path, |
Koliseo * | kls, | ||
bool | force_init, | ||
bool * | did_init, | ||
int | saveslot_index ) |
Tries reading binary save from passed path.
static_path | The path to which we append to find our file. |
kls | Koliseo used for allocation. |
force_init | When true, forces the write of a new SerSaveHeader. |
did_init | Set to true when a new saveHeader is written. |
saveslot_index | Used to pass current saveslot index. |
bool read_savedir | ( | const char * | dirpath | ) |
bool readSerGameOptions | ( | const char * | filename, |
size_t | offset, | ||
SerGameOptions * | data ) |
bool readSerGamestate | ( | const char * | filename, |
size_t | offset, | ||
SerGamestate * | data ) |
bool readSerSaveHeader | ( | const char * | filename, |
SerSaveHeader * | data ) |
Reads SerSaveHeader from passed file path into passed structure.
filename | The path to read from. |
data | The structure to read into. |
bool readSerTurncounter | ( | const char * | filename, |
size_t | offset, | ||
SerTurncounter * | data ) |
bool ser_Artifact | ( | Artifact * | deser, |
SerArtifact * | ser ) |
bool ser_Consumable | ( | Consumable * | deser, |
SerConsumable * | ser ) |
bool ser_countStats | ( | countStats * | deser, |
SerCountstats * | ser ) |
bool ser_Equipslot | ( | Equipslot * | deser, |
SerEquipslot * | ser ) |
bool ser_Fighter | ( | Fighter * | deser, |
SerFighter * | ser ) |
bool ser_FoeParty | ( | FoeParty * | deser, |
SerFoeParty * | ser ) |
bool ser_GameOptions | ( | GameOptions * | deser, |
SerGameOptions * | ser ) |
bool ser_Gamestate | ( | Gamestate * | deser, |
SerGamestate * | ser ) |
bool ser_Roadfork | ( | Roadfork * | deser, |
SerRoadfork * | ser ) |
bool ser_Saveslot | ( | Saveslot * | deser, |
SerSaveslot * | ser ) |
bool ser_Skillslot | ( | Skillslot * | deser, |
SerSkillslot * | ser ) |
bool ser_Specialslot | ( | Specialslot * | deser, |
SerSpecialslot * | ser ) |
bool ser_Treasure | ( | Treasure * | deser, |
SerTreasure * | ser ) |
bool ser_Turncounter | ( | Turncounter * | deser, |
SerTurncounter * | ser ) |
bool writeSerGameOptions | ( | const char * | filename, |
SerGameOptions * | data ) |
bool writeSerGamestate | ( | const char * | filename, |
SerGamestate * | data ) |
bool writeSerSaveHeader | ( | const char * | filename, |
SerSaveHeader * | data ) |
Writes passed SerSaveHeader to passed file path.
filename | The path to write to. |
data | The structure to write. |