mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 22:41:14 +00:00
Defines for flags passed to Actor_UpdateBgCheckInfo
(#1127)
* Tool-assisted flags for `Actor_UpdateBgCheckInfo` * Manual flags separation * Run formatter * Light doc on the flags * `UPDBGCHECKINFOFLAG_` -> `UPDBGCHECKINFO_FLAG_` (what an improvement!) * Run formatter * Run formatter
This commit is contained in:
parent
85ce3d3ca4
commit
b9cc31dc74
183 changed files with 459 additions and 255 deletions
|
@ -694,7 +694,8 @@ void EnFirefly_Update(Actor* thisx, GlobalContext* globalCtx2) {
|
|||
}
|
||||
}
|
||||
|
||||
Actor_UpdateBgCheckInfo(globalCtx, &this->actor, 10.0f, 10.0f, 15.0f, 7);
|
||||
Actor_UpdateBgCheckInfo(globalCtx, &this->actor, 10.0f, 10.0f, 15.0f,
|
||||
UPDBGCHECKINFO_FLAG_0 | UPDBGCHECKINFO_FLAG_1 | UPDBGCHECKINFO_FLAG_2);
|
||||
this->collider.elements[0].dim.worldSphere.center.x = this->actor.world.pos.x;
|
||||
this->collider.elements[0].dim.worldSphere.center.y = this->actor.world.pos.y + 10.0f;
|
||||
this->collider.elements[0].dim.worldSphere.center.z = this->actor.world.pos.z;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue