mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-06 14:20:11 +00:00
Rename culling related variables (#225)
* rename some things * reword one comment * rename vars * fix bgjyalift
This commit is contained in:
parent
6b2a013cca
commit
d77dbe0465
46 changed files with 189 additions and 189 deletions
|
@ -36,7 +36,7 @@ const ActorInit Arrow_Light_InitVars = {
|
|||
};
|
||||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
ICHAIN_F32(unk_F4, 2000, ICHAIN_STOP),
|
||||
ICHAIN_F32(uncullZoneForward, 2000, ICHAIN_STOP),
|
||||
};
|
||||
|
||||
void ArrowLight_SetupAction(ArrowLight* this, ArrowLightActionFunc actionFunc) {
|
||||
|
@ -100,13 +100,13 @@ void ArrowLight_Hit(ArrowLight* this, GlobalContext* globalCtx) {
|
|||
f32 offset;
|
||||
u16 timer;
|
||||
|
||||
if (this->actor.unk_F0 < 50.0f) {
|
||||
if (this->actor.projectedW < 50.0f) {
|
||||
scale = 10.0f;
|
||||
} else {
|
||||
if (950.0f < this->actor.unk_F0) {
|
||||
if (950.0f < this->actor.projectedW) {
|
||||
scale = 310.0f;
|
||||
} else {
|
||||
scale = this->actor.unk_F0;
|
||||
scale = this->actor.projectedW;
|
||||
scale = ((scale - 50.0f) * (1.0f / 3.0f)) + 10.0f;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue