mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-02 22:14:33 +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
|
@ -749,15 +749,15 @@ void EnInsect_Update(Actor* thisx, GlobalContext* globalCtx) {
|
|||
phi_v0 = 0;
|
||||
|
||||
if (this->unk_314 & 1) {
|
||||
phi_v0 = 4;
|
||||
phi_v0 = UPDBGCHECKINFO_FLAG_2;
|
||||
}
|
||||
|
||||
if (this->unk_314 & 2) {
|
||||
phi_v0 |= 1;
|
||||
phi_v0 |= UPDBGCHECKINFO_FLAG_0;
|
||||
}
|
||||
|
||||
if (phi_v0 != 0) {
|
||||
phi_v0 |= 0x40;
|
||||
phi_v0 |= UPDBGCHECKINFO_FLAG_6;
|
||||
Actor_UpdateBgCheckInfo(globalCtx, &this->actor, 8.0f, 5.0f, 0.0f, phi_v0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue