mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +00:00
arrow_light OK
This commit is contained in:
parent
da159ec528
commit
ea7aebc731
44 changed files with 424 additions and 2466 deletions
|
@ -47,7 +47,7 @@ void ArrowIce_Init(ArrowIce* this, GlobalContext* globalCtx) {
|
|||
this->radius = 0;
|
||||
this->unk_160 = 1.0f;
|
||||
ArrowIce_SetupAction(this, ArrowIce_Charge);
|
||||
Actor_SetScale(this, 0.01);
|
||||
Actor_SetScale(&this->actor, 0.01);
|
||||
this->alpha = 0x64;
|
||||
this->timer = 0;
|
||||
this->unk_164 = 0.0f;
|
||||
|
@ -118,7 +118,7 @@ void ArrowIce_Hit(ArrowIce* this, GlobalContext* globalCtx) {
|
|||
offset = SQ(offset);
|
||||
this->radius = (((1.0f - offset) * scale) + 10.0f);
|
||||
this->unk_160 += ((2.0f - this->unk_160) * 0.1f);
|
||||
if (this->timer < 0x10) {
|
||||
if (this->timer < 16) {
|
||||
if (1){}
|
||||
this->alpha = ((this->timer * 0x23) - 0x118);
|
||||
}
|
||||
|
@ -140,7 +140,7 @@ void ArrowIce_Hit(ArrowIce* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
if (this->timer == 0) {
|
||||
this->timer = 0xFF;
|
||||
this->timer = 255;
|
||||
Actor_Kill(&this->actor);
|
||||
}
|
||||
}
|
||||
|
@ -200,7 +200,7 @@ void ArrowIce_Draw(ArrowIce* this, GlobalContext* globalCtx){
|
|||
arrow = this->actor.attachedA;
|
||||
if (1) {}
|
||||
|
||||
if ((arrow != NULL) && (arrow->actor.update != NULL) && (this->timer < 0xFF)) {
|
||||
if ((arrow != NULL) && (arrow->actor.update != NULL) && (this->timer < 255)) {
|
||||
if (1) {}
|
||||
tranform = (arrow->hitWall & 2) ? &this->actor : &arrow->actor;
|
||||
gfxCtx = globalCtx->state.gfxCtx; func_800C6AC4(gfxArr, globalCtx->state.gfxCtx, "../z_arrow_ice.c", 610);
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include <ultra64.h>
|
||||
#include <global.h>
|
||||
#include "z_arrow_ice.h"
|
||||
|
||||
static UNK_TYPE texture1[] = {
|
||||
0x00061507, 0x00000000, 0x295A2B08, 0x10030F03, 0x0D070006, 0x00031625, 0x3F230012, 0x79590000, 0x00102C2A,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue