mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-10 08:50:23 +00:00
En_Arrow OK (#648)
* fix colliderinit typo * fix initchain * start init * match init * progress * progress * more funcs * match func_809B3DD8 * progress * last func almost done * enum * name some more types * progress * all but one * fix warning * remove undefined syms * match arrows * review * spec * remove asm
This commit is contained in:
parent
6221723aad
commit
dff2dfef0f
29 changed files with 513 additions and 1609 deletions
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include "z_demo_im.h"
|
||||
|
||||
#include "overlays/actors/ovl_En_Arrow/z_en_arrow.h"
|
||||
#include "vt.h"
|
||||
|
||||
#define FLAGS 0x00000011
|
||||
|
@ -750,7 +750,7 @@ void func_809865F8(DemoIm* this, GlobalContext* globalCtx, s32 arg2) {
|
|||
f32 spawnPosZ = thisPos->z + (Math_CosS(shapeRotY) * 30.0f);
|
||||
|
||||
Actor_Spawn(&globalCtx->actorCtx, globalCtx, ACTOR_EN_ARROW, spawnPosX, spawnPosY, spawnPosZ, 0xFA0,
|
||||
this->actor.shape.rot.y, 0, 0xFFF6);
|
||||
this->actor.shape.rot.y, 0, ARROW_CS_NUT);
|
||||
this->unk_27C = 1;
|
||||
}
|
||||
} else {
|
||||
|
@ -1160,18 +1160,17 @@ s32 DemoIm_OverrideLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList
|
|||
}
|
||||
}
|
||||
|
||||
if (*unk_2D0 != 0) {
|
||||
if (limbIndex == 15) {
|
||||
*dList = D_0600EDE8;
|
||||
}
|
||||
if ((*unk_2D0 != 0) && (limbIndex == 15)) {
|
||||
*dList = D_0600EDE8;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void DemoIm_PostLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, void* thisx) {
|
||||
DemoIm* this = THIS;
|
||||
|
||||
if (limbIndex == 0x10) {
|
||||
if (limbIndex == 16) {
|
||||
Vec3f sp28 = D_809887D8;
|
||||
Vec3f dest;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue