|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
Per-slot progress payload, used by save/load UI and completion calculations. More...
#include <dttr_pcdogs.h>
Data Fields | |
| char | max_world_reached |
| uint8_t | is_valid |
| uint8_t | save_game_puppy_count_backup |
| uint8_t | save_game_init_flag |
| uint8_t | save_game_complete_flag |
| uint8_t | slot_padding [3] |
| uint8_t | level_completion_flags [16] |
| uint8_t | level_bonus_item_flags [16] |
| uint8_t | level_best_scores [16] |
| uint16_t | bonus_level_data [5] |
| uint16_t | save_game_level_best_time |
| uint8_t | bonus_name_entry_buffer [24] |
Per-slot progress payload, used by save/load UI and completion calculations.
Definition at line 3123 of file dttr_pcdogs.h.
| uint16_t DTTR_PCDOGS_T_Save_GameSlot::bonus_level_data[5] |
Packed bonus-level parameters read by Level_InitializeBonusData. Offset 0x38.
Definition at line 3146 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Save_GameSlot::bonus_name_entry_buffer[24] |
Name-entry/bonus scratch data copied as part of the save slot payload. Offset 0x44.
Definition at line 3151 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Save_GameSlot::is_valid |
Per-slot valid flag set to 1 by Save_SaveGameToSlot after copying the progress block. Offset 0x1.
Definition at line 3127 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Save_GameSlot::level_best_scores[16] |
Per-level best completion scores; Level_CalculateCompletionPercent treats 100 as full level score. Offset 0x28.
Definition at line 3143 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Save_GameSlot::level_bonus_item_flags[16] |
Per-level dalmatian/bonus bitfields updated by Save_SaveGameLevelCompletion. Offset 0x18.
Definition at line 3141 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Save_GameSlot::level_completion_flags[16] |
Per-level puppy/bone completion bitfields updated by Save_SaveGameLevelCompletion. Offset 0x8.
Definition at line 3139 of file dttr_pcdogs.h.
| char DTTR_PCDOGS_T_Save_GameSlot::max_world_reached |
Highest world/progress index used by Level_CalculateCompletionPercent as the base completion contribution. Offset 0x0.
Definition at line 3124 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Save_GameSlot::save_game_complete_flag |
Game-complete flag written by Save_SetGameComplete. Offset 0x4.
Definition at line 3134 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Save_GameSlot::save_game_init_flag |
Initialization/progress flag set to 4 by Save_InitializeGameState. Offset 0x3.
Definition at line 3132 of file dttr_pcdogs.h.
| uint16_t DTTR_PCDOGS_T_Save_GameSlot::save_game_level_best_time |
Best time/value for the TOB bonus level, written from menu_items by Save_SaveGameLevelCompletion. Offset 0x42.
Definition at line 3148 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Save_GameSlot::save_game_puppy_count_backup |
Backed-up puppy/life count copied from backup_puppy_count by Save_BackupGamePuppyCount. Offset 0x2.
Definition at line 3129 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Save_GameSlot::slot_padding[3] |
Reserved alignment bytes before the per-level progress arrays. Offset 0x5.
Definition at line 3136 of file dttr_pcdogs.h.