big d_a_alink pass (#214)

* d_a_alink pass1 wip

* more d_a_alink work

* remove asm

* more daalink work

* 20% dol code decompiled

* fixed some nonmatchings for building

* a few daalink functions and labeling some HIO data
This commit is contained in:
TakaRikka
2022-12-19 11:06:32 -08:00
committed by GitHub
parent 1114b13da8
commit ca71275bbe
727 changed files with 15610 additions and 33013 deletions
+4
View File
@@ -72,6 +72,10 @@ public:
int startHitItemSE(u32, u32, Z2SoundObjBase*, float);
void setResumeAttack(bool);
void setInWater(bool status) {
mFlags = (u8)((mFlags & ~0x40) | ((status << 6) & 0x40)); // what is going on here
}
static Z2CreatureLink* mLinkPtr;
private:
+1 -1
View File
@@ -29,7 +29,7 @@ public:
u32 getNumHandles() const { return this->getNumLinks(); }
private:
u8 mNumHandles;
/* 0xC */ u8 mNumHandles;
};
#endif /* Z2SOUNDHANDLES_H */
+3
View File
@@ -27,6 +27,9 @@ public:
/* 802A9EE8 */ /* virtual */ void startSound(JAISoundID, JAISoundHandle*,
JGeometry::TVec3<f32> const*);
/* 0x000 */ void* vtable; // remove later
JAISeMgr* getSeMgr() { return &mSeMgr; }
private:
/* 0x004 */ JAISeMgr mSeMgr;
/* 0x728 */ JAISeqMgr mSeqMgr;
+15 -1
View File
@@ -72,14 +72,28 @@ public:
};
class Z2DopplerSoundObjBase : public Z2SoundHandles {
public:
Z2DopplerSoundObjBase();
~Z2DopplerSoundObjBase();
virtual void temp(); // temp to build OK, remove later
virtual void framework(u32, s8);
virtual void init(Vec*, u8);
virtual void startSound(JAISoundID, u32, s8);
virtual void startLevelSound(JAISoundID, u32, s8);
/* 0x14 */ Z2SoundStarter* field_0x14;
/* 0x18 */ JGeometry::TVec3<f32>* field_0x18;
/* 0x1C */ u16 field_0x1c;
/* 0x1E */ u8 field_0x1e;
/* 0x1F */ bool field_0x1f;
/* 0x20 */ JGeometry::TVec3<f32> field_0x20;
/* 0x2C */ JGeometry::TVec3<f32> field_0x2c;
};
class Z2SoundObjArrow : public Z2DopplerSoundObjBase {
public:
/* 802BEB38 */ Z2SoundObjArrow();
/* 802BEB74 */ virtual void init(Vec*, u8);
};
#endif /* Z2SOUNDOBJECT_H */