mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
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:
@@ -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:
|
||||
|
||||
@@ -29,7 +29,7 @@ public:
|
||||
u32 getNumHandles() const { return this->getNumLinks(); }
|
||||
|
||||
private:
|
||||
u8 mNumHandles;
|
||||
/* 0xC */ u8 mNumHandles;
|
||||
};
|
||||
|
||||
#endif /* Z2SOUNDHANDLES_H */
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user