mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 06:21:16 +00:00
Name scenes (scene enum, entrance enum, various identifiers) (#1343)
* Comment names on titled scenes
* Comment some more scene names
* Comment some map assets symbol prefixes
* Name collapse sequence scenes (from the non-collapse equivalent scene's name + `_COLLAPSE`)
* Name ganon/ganondorf boss scenes (symbol prefix suffixed with `Scene` to prevent confusion with boss actors)
* Fix symbol prefix for back alley night scene
* Name the two grave scenes (normal and fairy's fountain variant)
* Name most houses, name/update misc scenes
Co-authored-by: fig02 <fig02srl@gmail.com>
* (hakaana) `GRAVE` -> `REDEAD_GRAVE` to be more specific
Co-authored-by: fig02 <fig02srl@gmail.com>
* `miharigoya_scene`: `market_guard_house`
* `kakariko_scene` -> `kakariko_center_house`
* `richards_house` -> `dog_lady_house` (for localization differences)
* Revert "Comment some map assets symbol prefixes"
This reverts commit 210a38a628
.
* remove other xml prefixes
* ganon_boss, ganondorf_boss
* comments to namefixer
* `KAKARIKO_CENTER_HOUSE` -> `KAKARIKO_CENTER_GUEST_HOUSE`
* two collapse sequence scenes -> `GANONS_TOWER_COLLAPSE_`interior/exterior
* Run namefixer
`find src include -type f -exec ./tools/namefixer.py {} \;`
* run formatter
Co-authored-by: fig02 <fig02srl@gmail.com>
This commit is contained in:
parent
eb0a82c513
commit
186ecc72b5
96 changed files with 3577 additions and 3274 deletions
|
@ -123,7 +123,7 @@ void EnGe2_Init(Actor* thisx, PlayState* play) {
|
|||
this->actor.colChkInfo.mass = MASS_IMMOVABLE;
|
||||
Actor_SetScale(&this->actor, 0.01f);
|
||||
|
||||
if (play->sceneId == SCENE_SPOT09) {
|
||||
if (play->sceneId == SCENE_GERUDO_VALLEY) {
|
||||
this->actor.uncullZoneForward = 1000.0f;
|
||||
} else {
|
||||
this->actor.uncullZoneForward = 1200.0f;
|
||||
|
@ -240,11 +240,11 @@ void EnGe2_CaptureClose(EnGe2* this, PlayState* play) {
|
|||
func_8006D074(play);
|
||||
|
||||
if ((INV_CONTENT(ITEM_HOOKSHOT) == ITEM_NONE) || (INV_CONTENT(ITEM_LONGSHOT) == ITEM_NONE)) {
|
||||
play->nextEntranceIndex = ENTR_SPOT09_1;
|
||||
play->nextEntranceIndex = ENTR_GERUDO_VALLEY_1;
|
||||
} else if (GET_EVENTCHKINF(EVENTCHKINF_C7)) {
|
||||
play->nextEntranceIndex = ENTR_SPOT12_18;
|
||||
play->nextEntranceIndex = ENTR_GERUDOS_FORTRESS_18;
|
||||
} else {
|
||||
play->nextEntranceIndex = ENTR_SPOT12_17;
|
||||
play->nextEntranceIndex = ENTR_GERUDOS_FORTRESS_17;
|
||||
}
|
||||
|
||||
play->transitionType = TRANS_TYPE_CIRCLE(TCA_STARBURST, TCC_BLACK, TCS_FAST);
|
||||
|
@ -266,11 +266,11 @@ void EnGe2_CaptureCharge(EnGe2* this, PlayState* play) {
|
|||
func_8006D074(play);
|
||||
|
||||
if ((INV_CONTENT(ITEM_HOOKSHOT) == ITEM_NONE) || (INV_CONTENT(ITEM_LONGSHOT) == ITEM_NONE)) {
|
||||
play->nextEntranceIndex = ENTR_SPOT09_1;
|
||||
play->nextEntranceIndex = ENTR_GERUDO_VALLEY_1;
|
||||
} else if (GET_EVENTCHKINF(EVENTCHKINF_C7)) {
|
||||
play->nextEntranceIndex = ENTR_SPOT12_18;
|
||||
play->nextEntranceIndex = ENTR_GERUDOS_FORTRESS_18;
|
||||
} else {
|
||||
play->nextEntranceIndex = ENTR_SPOT12_17;
|
||||
play->nextEntranceIndex = ENTR_GERUDOS_FORTRESS_17;
|
||||
}
|
||||
|
||||
play->transitionType = TRANS_TYPE_CIRCLE(TCA_STARBURST, TCC_BLACK, TCS_FAST);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue