mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-16 23:30:15 -05:00
Add time. (#462)
This commit is contained in:
parent
73ebcf2b1b
commit
93e69c924d
@ -891,6 +891,7 @@ namespace SohImGui {
|
|||||||
Tooltip("The default response to Kaepora Gaebora is always that you understood what he said");
|
Tooltip("The default response to Kaepora Gaebora is always that you understood what he said");
|
||||||
EnhancementCheckbox("Link's Cow in Both Time Periods", "gCowOfTime");
|
EnhancementCheckbox("Link's Cow in Both Time Periods", "gCowOfTime");
|
||||||
Tooltip("Allows the Lon Lon Ranch obstacle course reward to be shared across time periods");
|
Tooltip("Allows the Lon Lon Ranch obstacle course reward to be shared across time periods");
|
||||||
|
EnhancementCheckbox("Enable passage of time on file select", "gTimeFlowFileSelect");
|
||||||
ImGui::EndMenu();
|
ImGui::EndMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ void BootCommands_Init()
|
|||||||
CVar_RegisterS32("gHudColors", 1); //0 = N64 / 1 = NGC / 2 = Custom
|
CVar_RegisterS32("gHudColors", 1); //0 = N64 / 1 = NGC / 2 = Custom
|
||||||
CVar_RegisterS32("gUseNaviCol", 0);
|
CVar_RegisterS32("gUseNaviCol", 0);
|
||||||
CVar_RegisterS32("gUseTunicsCol", 0);
|
CVar_RegisterS32("gUseTunicsCol", 0);
|
||||||
|
CVar_RegisterS32("gTimeFlowFileSelect", 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
//void BootCommands_ParseBootArgs(char* str)
|
//void BootCommands_ParseBootArgs(char* str)
|
||||||
|
@ -1601,6 +1601,10 @@ void FileChoose_Main(GameState* thisx) {
|
|||||||
};
|
};
|
||||||
FileChooseContext* this = (FileChooseContext*)thisx;
|
FileChooseContext* this = (FileChooseContext*)thisx;
|
||||||
Input* input = &this->state.input[0];
|
Input* input = &this->state.input[0];
|
||||||
|
|
||||||
|
if (CVar_GetS32("gTimeFlowFileSelect", 0) != 0) {
|
||||||
|
gSaveContext.skyboxTime += 0x10;
|
||||||
|
}
|
||||||
|
|
||||||
OPEN_DISPS(this->state.gfxCtx, "../z_file_choose.c", 2898);
|
OPEN_DISPS(this->state.gfxCtx, "../z_file_choose.c", 2898);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user