mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-02 15:55:59 +00:00
9c35716fe2
* begin interface alpha docs * more progress/docs * First draft of docs done * cleanup * Consistency * Display -> Mode * Remaining display -> mode * Better docs * Small touchups * Small Update * Apply discord discussion * small fix * More discussions * PR Suggestions * Roman PR Suggestions * better comments * PR Suggestions * another suggestion * discord discussions * cleanup comments * more discord/pr suggestions
23 lines
821 B
C
23 lines
821 B
C
#include "global.h"
|
|
|
|
// The use of ALIGNED8 here is just a temporary solution until the SaveContext is re-structured
|
|
ALIGNED8 SaveContext gSaveContext;
|
|
u32 D_8015FA88;
|
|
u32 D_8015FA8C;
|
|
|
|
void SaveContext_Init(void) {
|
|
bzero(&gSaveContext, sizeof(gSaveContext));
|
|
D_8015FA88 = 0;
|
|
D_8015FA8C = 0;
|
|
gSaveContext.seqId = (u8)NA_BGM_DISABLED;
|
|
gSaveContext.natureAmbienceId = NATURE_ID_DISABLED;
|
|
gSaveContext.forcedSeqId = NA_BGM_GENERAL_SFX;
|
|
gSaveContext.nextCutsceneIndex = 0xFFEF;
|
|
gSaveContext.cutsceneTrigger = 0;
|
|
gSaveContext.chamberCutsceneNum = 0;
|
|
gSaveContext.nextDayTime = NEXT_TIME_NONE;
|
|
gSaveContext.skyboxTime = 0;
|
|
gSaveContext.dogIsLost = true;
|
|
gSaveContext.nextTransitionType = TRANS_NEXT_TYPE_DEFAULT;
|
|
gSaveContext.prevHudVisibilityMode = HUD_VISIBILITY_ALL;
|
|
}
|