mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +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
|
@ -132,22 +132,22 @@ void ObjectKankyo_Init(Actor* thisx, PlayState* play) {
|
|||
}
|
||||
|
||||
if (gSaveContext.cutsceneTrigger != 0) {
|
||||
if (gSaveContext.entranceIndex == ENTR_GANONTIKA_2) {
|
||||
if (gSaveContext.entranceIndex == ENTR_INSIDE_GANONS_CASTLE_2) {
|
||||
this->effects[0].size = 0.1f;
|
||||
}
|
||||
if (gSaveContext.entranceIndex == ENTR_GANONTIKA_3) {
|
||||
if (gSaveContext.entranceIndex == ENTR_INSIDE_GANONS_CASTLE_3) {
|
||||
this->effects[1].size = 0.1f;
|
||||
}
|
||||
if (gSaveContext.entranceIndex == ENTR_GANONTIKA_4) {
|
||||
if (gSaveContext.entranceIndex == ENTR_INSIDE_GANONS_CASTLE_4) {
|
||||
this->effects[2].size = 0.1f;
|
||||
}
|
||||
if (gSaveContext.entranceIndex == ENTR_GANONTIKA_5) {
|
||||
if (gSaveContext.entranceIndex == ENTR_INSIDE_GANONS_CASTLE_5) {
|
||||
this->effects[3].size = 0.1f;
|
||||
}
|
||||
if (gSaveContext.entranceIndex == ENTR_GANONTIKA_6) {
|
||||
if (gSaveContext.entranceIndex == ENTR_INSIDE_GANONS_CASTLE_6) {
|
||||
this->effects[4].size = 0.1f;
|
||||
}
|
||||
if (gSaveContext.entranceIndex == ENTR_GANONTIKA_7) {
|
||||
if (gSaveContext.entranceIndex == ENTR_INSIDE_GANONS_CASTLE_7) {
|
||||
this->effects[5].size = 0.1f;
|
||||
}
|
||||
}
|
||||
|
@ -191,7 +191,7 @@ void ObjectKankyo_Fairies(ObjectKankyo* this, PlayState* play) {
|
|||
|
||||
player = GET_PLAYER(play);
|
||||
|
||||
if (play->sceneId == SCENE_SPOT04 && gSaveContext.sceneLayer == 7) {
|
||||
if (play->sceneId == SCENE_KOKIRI_FOREST && gSaveContext.sceneLayer == 7) {
|
||||
dist = Math3D_Vec3f_DistXYZ(&this->prevEyePos, &play->view.eye);
|
||||
|
||||
this->prevEyePos.x = play->view.eye.x;
|
||||
|
@ -227,7 +227,7 @@ void ObjectKankyo_Fairies(ObjectKankyo* this, PlayState* play) {
|
|||
}
|
||||
|
||||
if (play->envCtx.precipitation[PRECIP_SNOW_MAX] < 64 &&
|
||||
(gSaveContext.entranceIndex != ENTR_SPOT04_0 || gSaveContext.sceneLayer != 4 ||
|
||||
(gSaveContext.entranceIndex != ENTR_KOKIRI_FOREST_0 || gSaveContext.sceneLayer != 4 ||
|
||||
play->envCtx.precipitation[PRECIP_SNOW_MAX])) {
|
||||
play->envCtx.precipitation[PRECIP_SNOW_MAX] += 16;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue