mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 07:21:19 +00:00
Use DMG_
defines in code (#1245)
* Use `DMG_` defines for `dmgFlags` when single bits are used * Pass on several (in code, no colliders) * Conditional cleanup * Remove wip comment, just use the flags 4head
This commit is contained in:
parent
b2752a6a2e
commit
b3b913d33d
53 changed files with 201 additions and 180 deletions
|
@ -296,7 +296,7 @@ void EnMb_Init(Actor* thisx, PlayState* play) {
|
|||
this->actor.uncullZoneScale = 800.0f;
|
||||
this->actor.uncullZoneDownward = 1800.0f;
|
||||
this->playerDetectionRange = 710.0f;
|
||||
this->attackCollider.info.toucher.dmgFlags = 0x20000000;
|
||||
this->attackCollider.info.toucher.dmgFlags = DMG_UNBLOCKABLE;
|
||||
|
||||
relYawFromPlayer =
|
||||
this->actor.world.rot.y - Math_Vec3f_Yaw(&this->actor.world.pos, &player->actor.world.pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue