mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 15:01:17 +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
|
@ -362,7 +362,8 @@ void func_80A4ED34(EnGs* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
if (this->unk_19F == 4) {
|
||||
Actor_UpdateBgCheckInfo(globalCtx, &this->actor, 20.0f, 20.0f, 60.0f, 3);
|
||||
Actor_UpdateBgCheckInfo(globalCtx, &this->actor, 20.0f, 20.0f, 60.0f,
|
||||
UPDBGCHECKINFO_FLAG_0 | UPDBGCHECKINFO_FLAG_1);
|
||||
if (this->actor.bgCheckFlags & (BGCHECKFLAG_WALL | BGCHECKFLAG_CEILING)) {
|
||||
bomb2Pos.x = this->actor.world.pos.x;
|
||||
bomb2Pos.y = this->actor.world.pos.y;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue