160 lines
2.7 KiB
C
160 lines
2.7 KiB
C
#include "loadsave.h"
|
|
|
|
// Global variables
|
|
tSave_game *gSaved_games[8];
|
|
int gStarted_typing;
|
|
int gSave_allowed;
|
|
|
|
// Offset: 0
|
|
// Size: 647
|
|
// EAX: pIndex
|
|
void CorrectLoadByteOrdering(int pIndex) {
|
|
int i;
|
|
}
|
|
|
|
// Offset: 648
|
|
// Size: 128
|
|
// EAX: pSaved_game
|
|
tU32 CalcLSChecksum(tSave_game *pSaved_game) {
|
|
tU32 checksum;
|
|
tU32 checksum2;
|
|
int i;
|
|
tU8 *ptr;
|
|
}
|
|
|
|
// Offset: 776
|
|
// Size: 391
|
|
void LoadSavedGames() {
|
|
int i;
|
|
FILE *f;
|
|
tU32 the_size;
|
|
}
|
|
|
|
// Offset: 1168
|
|
// Size: 94
|
|
void DisposeSavedGames() {
|
|
}
|
|
|
|
// Offset: 1264
|
|
// Size: 701
|
|
// EAX: pSlot_index
|
|
void LoadTheGame(int pSlot_index) {
|
|
int i;
|
|
char the_car_name[14];
|
|
}
|
|
|
|
// Offset: 1968
|
|
// Size: 331
|
|
void StartRollingSaveNamesIn() {
|
|
int save_slot_height;
|
|
}
|
|
|
|
// Offset: 2300
|
|
// Size: 39
|
|
void LoadStart() {
|
|
}
|
|
|
|
// Offset: 2340
|
|
// Size: 415
|
|
// EAX: pSave_allowed
|
|
int DoLoadGame(int pSave_allowed) {
|
|
tFlicette flicker_on[9];
|
|
tFlicette flicker_off[9];
|
|
tFlicette push[9];
|
|
tMouse_area mouse_areas[9];
|
|
tRectile recopy_areas[24];
|
|
tInterface_spec interface_spec;
|
|
int result;
|
|
}
|
|
|
|
// Offset: 2756
|
|
// Size: 647
|
|
// EAX: pIndex
|
|
void CorrectSaveByteOrdering(int pIndex) {
|
|
int i;
|
|
}
|
|
|
|
// Offset: 3404
|
|
// Size: 229
|
|
// EAX: pSlot_number
|
|
void SaveTheGame(int pSlot_number) {
|
|
tPath_name the_path;
|
|
FILE *f;
|
|
}
|
|
|
|
// Offset: 3636
|
|
// Size: 77
|
|
int ConfirmMidGameSave() {
|
|
tFlicette flicker_off[2];
|
|
tFlicette push[2];
|
|
tMouse_area mouse_areas[2];
|
|
tInterface_spec interface_spec;
|
|
}
|
|
|
|
// Offset: 3716
|
|
// Size: 492
|
|
// EAX: pSave_record
|
|
void MakeSavedGame(tSave_game **pSave_record) {
|
|
int i;
|
|
}
|
|
|
|
// Offset: 4208
|
|
// Size: 39
|
|
void SaveStart() {
|
|
}
|
|
|
|
// Offset: 4248
|
|
// Size: 152
|
|
// EAX: pStarting_to_type
|
|
// EDX: pCurrent_choice
|
|
// EBX: pString
|
|
// ECX: pMax_length
|
|
void GetSaveName(int pStarting_to_type, int pCurrent_choice, char *pString, int *pMax_length) {
|
|
}
|
|
|
|
// Offset: 4400
|
|
// Size: 188
|
|
// EAX: pCurrent_choice
|
|
// EDX: pCurrent_mode
|
|
// EBX: pGo_ahead
|
|
// ECX: pEscaped
|
|
int SaveDone(int pCurrent_choice, int pCurrent_mode, int pGo_ahead, int pEscaped, int pTimed_out) {
|
|
}
|
|
|
|
// Offset: 4588
|
|
// Size: 368
|
|
// EAX: pCurrent_choice
|
|
// EDX: pCurrent_mode
|
|
int SaveGoAhead(int *pCurrent_choice, int *pCurrent_mode) {
|
|
char s1[256];
|
|
char s2[256];
|
|
}
|
|
|
|
// Offset: 4956
|
|
// Size: 368
|
|
// EAX: pCurrent_choice
|
|
// EDX: pCurrent_mode
|
|
int SaveEscape(int *pCurrent_choice, int *pCurrent_mode) {
|
|
char s1[256];
|
|
char s2[256];
|
|
}
|
|
|
|
// Offset: 5324
|
|
// Size: 92
|
|
// EAX: pDefault_choice
|
|
int SaveGameInterface(int pDefault_choice) {
|
|
tFlicette flicker_on[9];
|
|
tFlicette flicker_off[9];
|
|
tFlicette push[9];
|
|
tMouse_area mouse_areas[9];
|
|
tRectile recopy_areas[24];
|
|
tInterface_spec interface_spec;
|
|
}
|
|
|
|
// Offset: 5416
|
|
// Size: 181
|
|
// EAX: pSave_allowed
|
|
void DoSaveGame(int pSave_allowed) {
|
|
}
|
|
|