mirror of
https://gitlab.com/kholdfuzion/goldeneye_src
synced 2026-09-03 09:49:32 -04:00
47 lines
930 B
C
47 lines
930 B
C
#ifndef _GAMEFILE_H_
|
|
#define _GAMEFILE_H_
|
|
#include "ultra64.h"
|
|
|
|
#include "bondconstants.h"
|
|
|
|
//i am not "correct", i need proper fields for times again
|
|
struct save_data
|
|
{
|
|
int chksum1;
|
|
int chksum2;
|
|
u8 completion_bitflags;
|
|
char flag_007;
|
|
char music_vol;
|
|
char sfx_vol;
|
|
short options;
|
|
u8 unlocked_cheats_1;
|
|
u8 unlocked_cheats_2;
|
|
u8 unlocked_cheats_3;
|
|
char padding;
|
|
u8 time_dam_agent[5];
|
|
u8 field_0x17[5];
|
|
u8 field_0x1c[5];
|
|
u8 field_0x21[5];
|
|
u8 field_0x26[5];
|
|
u8 field_0x2b[5];
|
|
u8 field_0x30[5];
|
|
u8 field_0x35[5];
|
|
u8 field_0x3a[5];
|
|
u8 field_0x3f[5];
|
|
u8 field_0x44[5];
|
|
u8 field_0x49[5];
|
|
u8 field_0x4e[5];
|
|
u8 field_0x53[5];
|
|
u8 field_0x58[5];
|
|
u8 field_0x5d[3];
|
|
|
|
};
|
|
|
|
extern u32 save_selected_bond[];
|
|
|
|
void set_selected_folder_num(u32 foldernum);
|
|
void set_selected_difficulty(DIFFICULTY difficulty);
|
|
void set_solo_and_ptr_briefing(LEVELID stage);
|
|
|
|
#endif
|