Go to the source code of this file.
Macros | |
#define | COPY_S8_ARRAY(new, old) ver_copy_s8_array(new, old, ARRAY_COUNT(old), ARRAY_COUNT(new)); |
#define | COPY_S16_ARRAY(new, old) ver_copy_s16_array(new, old, ARRAY_COUNT(old), ARRAY_COUNT(new)); |
#define | COPY_S32_ARRAY(new, old) ver_copy_s32_array(new, old, ARRAY_COUNT(old), ARRAY_COUNT(new)); |
#define | PORT_ITEM_IDS(array, map) ver_copy_s16_array(array, map, ARRAY_COUNT(array), ARRAY_COUNT(map)); |
Functions | |
void | ver_deserialize_standard () |
Load save file data from a supported save version Assumes no changes in the SaveData, PlayerData, or PartnerData structs and no remapped item IDs. | |
void | ver_deserialize_vanilla_save (SaveData *save) |
void | fio_serialize_state () |
Store current game data to gCurrentSaveFile. | |
void | fio_deserialize_state () |
Load game data from gCurrentSaveFile Performs version checking and supports potential migration between versions. | |
void | ver_copy_s8_array (s8 *dest, s8 *src, s32 srcMax, s32 destMax) |
void | ver_copy_s16_array (s16 *dest, s16 *src, s32 srcMax, s32 destMax) |
void | ver_copy_s32_array (s32 *dest, s32 *src, s32 srcMax, s32 destMax) |
void | ver_port_item_ids (s16 *array, s16 *mapping, s32 size, s32 mapMax) |
Variables | |
s16 | VanillaItemIDs [] |
#define COPY_S8_ARRAY | ( | new, | |
old ) ver_copy_s8_array(new, old, ARRAY_COUNT(old), ARRAY_COUNT(new)); |
Definition at line 127 of file versioning.c.
Referenced by ver_deserialize_vanilla_save().
#define COPY_S16_ARRAY | ( | new, | |
old ) ver_copy_s16_array(new, old, ARRAY_COUNT(old), ARRAY_COUNT(new)); |
Definition at line 128 of file versioning.c.
Referenced by ver_deserialize_vanilla_save().
#define COPY_S32_ARRAY | ( | new, | |
old ) ver_copy_s32_array(new, old, ARRAY_COUNT(old), ARRAY_COUNT(new)); |
Definition at line 129 of file versioning.c.
Referenced by ver_deserialize_vanilla_save().
#define PORT_ITEM_IDS | ( | array, | |
map ) ver_copy_s16_array(array, map, ARRAY_COUNT(array), ARRAY_COUNT(map)); |
Definition at line 131 of file versioning.c.
Referenced by ver_deserialize_vanilla_save().
void ver_deserialize_standard | ( | ) |
Load save file data from a supported save version Assumes no changes in the SaveData, PlayerData, or PartnerData structs and no remapped item IDs.
Definition at line 61 of file versioning.c.
Referenced by fio_deserialize_state().
Definition at line 503 of file versioning.c.
Referenced by fio_deserialize_state().
void fio_serialize_state | ( | ) |
Store current game data to gCurrentSaveFile.
Definition at line 9 of file versioning.c.
Referenced by fio_save_game().
Load game data from gCurrentSaveFile Performs version checking and supports potential migration between versions.
Definition at line 36 of file versioning.c.
Referenced by fio_load_game(), and load_map_by_IDs().
Definition at line 84 of file versioning.c.
Definition at line 94 of file versioning.c.
void ver_copy_s32_array | ( | s32 * | dest, |
s32 * | src, | ||
s32 | srcMax, | ||
s32 | destMax ) |
Definition at line 104 of file versioning.c.
s16 VanillaItemIDs[] |
Definition at line 135 of file versioning.c.
Referenced by ver_deserialize_vanilla_save().