mirror of https://github.com/zeldaret/tp.git
92 lines
2.3 KiB
C++
92 lines
2.3 KiB
C++
#ifndef Z2LINKMGR_H_
|
|
#define Z2LINKMGR_H_
|
|
|
|
#include "JSystem/JAudio2/JAISe/JAISe.h"
|
|
#include "JSystem/JAudio2/JAISound/JAISound.h"
|
|
#include "global.h"
|
|
#include "mtx_vec.h"
|
|
|
|
class Z2SoundObjBase;
|
|
|
|
class Z2CreatureLink {
|
|
public:
|
|
Z2CreatureLink(void);
|
|
~Z2CreatureLink();
|
|
|
|
void setLinkState(u8);
|
|
void setLinkGroupInfo(u8);
|
|
void setLinkHp(s32, s32);
|
|
void setLinkSwordType(s32, s32);
|
|
void setLinkShieldType(s32, s32);
|
|
void setLinkBootsType(s32);
|
|
void deleteObject();
|
|
void init(Vec*, Vec*, Vec*);
|
|
void initKantera(Vec*);
|
|
void deleteKantera(void);
|
|
void setKanteraState(u8);
|
|
void framework(u32, s8);
|
|
void setSinkDepth(s8);
|
|
void setRiding(bool);
|
|
void setMagnetized(bool);
|
|
void setWolfEyeOpen(bool);
|
|
void startLinkSound(JAISoundID, u32, s8);
|
|
void startLinkSoundLevel(JAISoundID, u32, s8);
|
|
void startLinkVoice(JAISoundID, s8);
|
|
void startLinkVoiceLevel(JAISoundID, s8);
|
|
void startLinkSwordSound(JAISoundID, u32, s8);
|
|
void startCollisionSE(u32, u32);
|
|
int startHitItemSE(u32, u32, Z2SoundObjBase*, float);
|
|
void setResumeAttack(bool);
|
|
|
|
private:
|
|
u8 unk0[179];
|
|
u8 unk179;
|
|
float unk180;
|
|
float unk184;
|
|
float unk188;
|
|
u8 link_state;
|
|
u8 unk193;
|
|
u8 unk194;
|
|
u8 link_hp;
|
|
u8 unk196;
|
|
u8 lantern_state;
|
|
u8 unk198;
|
|
u8 unk199;
|
|
u8 unk200;
|
|
u8 unk201;
|
|
u8 sink_depth;
|
|
u8 unk203;
|
|
u8 unk204;
|
|
};
|
|
|
|
struct Z2LinkSoundStarter {
|
|
Z2LinkSoundStarter(void);
|
|
~Z2LinkSoundStarter();
|
|
// u32 startSound(JAISoundID, JAISoundHandle, TVec3<float>*, u32, float, float, float, float,
|
|
// float, u32);
|
|
};
|
|
|
|
extern "C" {
|
|
void __dt__14Z2CreatureRideFv(void);
|
|
|
|
void __dt__18Z2RideSoundStarterFv(void);
|
|
void startSound__15Z2SoundObjCoachF10JAISoundIDUlSc(void);
|
|
void startWheelSound__15Z2SoundObjCoachFf(void);
|
|
void func_802C5284(void);
|
|
void __ct__14Z2CreatureRideFv(void);
|
|
void func_802C5894(void);
|
|
void func_802C4928(void);
|
|
void func_802C588C(void);
|
|
void init__15Z2SoundObjCoachFP3VecUc(void);
|
|
void __ct__15Z2SoundObjCoachFv(void);
|
|
void startFireSound__15Z2SoundObjCoachFUs(void);
|
|
void deleteObject__14Z2CreatureRideFv(void);
|
|
void init__14Z2CreatureRideFP3VecP3VecUcUc(void);
|
|
|
|
void __ct__18Z2LinkSoundStarterFv(void);
|
|
|
|
void __ct__18Z2RideSoundStarterFP14Z2CreatureRide(void);
|
|
}
|
|
|
|
#endif // Z2LINKMGR_H_
|