mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-09-07 20:00:35 -04:00
Entrance Enum and Name Refactor (#4484)
* Rename entrance enums for clearer location by name. Change entrance name strings to be clearer for single-entrance tracking. * Rename grotto macros to remove "RANDO", and move them to `randomizerTypes.h` for use elsewhere. * Add entrance enums to rando's entrance.cpp. Rename a couple RandomizerRegions for consistency. * Swap entrance ids to enum values in rando's entrance.cpp. Few more renames for clarity and consistency. * Adapt entrance tracker to utilize new names and only display original source and substituted destination. Few more renames for consistency. * Missed a space in the tracker output. * Restore pre-digit names of some enums, name great fairies more consistently.
This commit is contained in:
@@ -363,7 +363,7 @@ void Scene_CommandTimeSettings(PlayState* play, SceneCmd* cmd) {
|
||||
play->envCtx.sunPos.z = (Math_CosS(((void)0, gSaveContext.dayTime) - 0x8000) * 20.0f) * 25.0f;
|
||||
|
||||
if (((play->envCtx.timeIncrement == 0) && (gSaveContext.cutsceneIndex < 0xFFF0)) ||
|
||||
(gSaveContext.entranceIndex == ENTR_LAKE_HYLIA_8)) {
|
||||
(gSaveContext.entranceIndex == ENTR_LAKE_HYLIA_WARP_PAD)) {
|
||||
gSaveContext.skyboxTime = ((void)0, gSaveContext.dayTime);
|
||||
if ((gSaveContext.skyboxTime >= 0x2AAC) && (gSaveContext.skyboxTime < 0x4555)) {
|
||||
gSaveContext.skyboxTime = 0x3556;
|
||||
|
||||
Reference in New Issue
Block a user