mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 06:52:03 +00:00
Fix misc 17 (#1392)
* Some cleanup on bgcheck waterbox y funcs
* Fix some typo/spelling
* EnFz_ApplyDamage match fixup
* Turn another sus construction into a switch
* Fixup comment on restoring MS as adult
* "doesnt, isnt" -> "doesn't, isn't"
* Hunt down whitespace at end of lines
* Format (clang-format does not like figs bug comment on bongo cutscene unskip sadge)
* Viewport z scale/translation: `0x1FF` -> `G_MAXZ/2` (see proman "9.7 Mixing CPU and SP Addresses", "12.7.6 Depth Source")
* static symbols: g -> s prefix
* Link young/old -> child/adult
* Fixups
* Get rid of signed vs unsigned comparison warning by changing room temps to s32
* waterbox search funcs consistency
* Revert "waterbox search funcs consistency"
This reverts commit 8f386e038f
.
* `curWaterBox` -> `waterBox`
This commit is contained in:
parent
c3dc299448
commit
22b78f169f
27 changed files with 118 additions and 114 deletions
|
@ -114,10 +114,10 @@ static ColliderQuadInit sQuadInit = {
|
|||
typedef enum {
|
||||
/* 00 */ AM_DMGEFF_NONE, // used by anything that cant kill the armos
|
||||
/* 01 */ AM_DMGEFF_NUT,
|
||||
/* 06 */ AM_DMGEFF_STUN = 6, // doesnt include deku nuts
|
||||
/* 06 */ AM_DMGEFF_STUN = 6, // doesn't include deku nuts
|
||||
/* 13 */ AM_DMGEFF_ICE = 13,
|
||||
/* 14 */ AM_DMGEFF_MAGIC_FIRE_LIGHT,
|
||||
/* 15 */ AM_DMGEFF_KILL // any damage source that can kill the armos (and isnt a special case)
|
||||
/* 15 */ AM_DMGEFF_KILL // any damage source that can kill the armos (and isn't a special case)
|
||||
} ArmosDamageEffect;
|
||||
|
||||
static DamageTable sDamageTable = {
|
||||
|
@ -246,7 +246,7 @@ void EnAm_Destroy(Actor* thisx, PlayState* play) {
|
|||
DynaPoly_DeleteBgActor(play, &play->colCtx.dyna, this->dyna.bgId);
|
||||
Collider_DestroyCylinder(play, &this->hurtCollider);
|
||||
Collider_DestroyCylinder(play, &this->blockCollider);
|
||||
//! @bug Quad collider is not destroyed (though destroy doesnt really do anything anyway)
|
||||
//! @bug Quad collider is not destroyed (though destroy doesn't really do anything anyway)
|
||||
}
|
||||
|
||||
void EnAm_SpawnEffects(EnAm* this, PlayState* play) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue