mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 07:21:19 +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
|
@ -1422,7 +1422,9 @@ void EnMb_Update(Actor* thisx, GlobalContext* globalCtx) {
|
|||
if (thisx->colChkInfo.damageEffect != ENMB_DMGEFF_FREEZE) {
|
||||
this->actionFunc(this, globalCtx);
|
||||
Actor_MoveForward(thisx);
|
||||
Actor_UpdateBgCheckInfo(globalCtx, thisx, 40.0f, 40.0f, 70.0f, 0x1D);
|
||||
Actor_UpdateBgCheckInfo(globalCtx, thisx, 40.0f, 40.0f, 70.0f,
|
||||
UPDBGCHECKINFO_FLAG_0 | UPDBGCHECKINFO_FLAG_2 | UPDBGCHECKINFO_FLAG_3 |
|
||||
UPDBGCHECKINFO_FLAG_4);
|
||||
Actor_SetFocus(thisx, thisx->scale.x * 4500.0f);
|
||||
Collider_UpdateCylinder(thisx, &this->hitbox);
|
||||
if (thisx->colChkInfo.health <= 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue