mirror of https://github.com/zeldaret/mm.git
31 lines
964 B
C
31 lines
964 B
C
#include "z64save.h"
|
|
|
|
#include "alignment.h"
|
|
#include "sequence.h"
|
|
#include "stdbool.h"
|
|
#include "z64environment.h"
|
|
#include "z64transition.h"
|
|
|
|
SaveContext gSaveContext ALIGNED(16);
|
|
|
|
void SaveContext_Init(void) {
|
|
bzero(&gSaveContext, sizeof(SaveContext));
|
|
|
|
gSaveContext.save.playerForm = 0;
|
|
gSaveContext.seqId = (u8)NA_BGM_DISABLED;
|
|
gSaveContext.ambienceId = AMBIENCE_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.prevHudVisibility = HUD_VISIBILITY_ALL;
|
|
|
|
gSaveContext.options.language = LANGUAGE_ENG;
|
|
gSaveContext.options.audioSetting = SAVE_AUDIO_STEREO;
|
|
gSaveContext.options.zTargetSetting = 0;
|
|
}
|