mirror of
https://github.com/zeldaret/tp
synced 2026-05-30 00:47:05 -04:00
a072e71c33
* Z2SoundHandles: decomp portions
* start decomping: Z2SpeechMgr2, Z2SoundHandles
* Z2SoundHandles::stopAllSounds(): ok
* Z2SoundHandles::getHandleUserData(): ok
* Z2SoundInfo: header
* Z2SoundObjBase::framework(): ok
* Z2SoundObjBase::Z2SoundObjBase(), Z2SoundObjBase::init(): ok
* Z2SoundObjBase::~Z2SoundObjBase(): ok
* Z2SoundObjBase::stopOK(): ok
* Z2SoundObjBase::stopOK, incomplete Z2SoundObjBase::dispose()
* clang-format
* Z2SoundObjBase::dispose(): ok
* JAISound::operator->(): null assert
* JAIAudience: stub
* Z2SoundObject::{init, deleteObject, isAlive}: ok
* Z2SeMgr: elaborate struct (and decl JAISoundHandles to support this)
* start subclassing Z2SoundObjBase; nonmatching Z2SoundObjSimple::init()
* Z2SeMGr::{incrCrowdSize, decrCrowdSize}: ok
* Z2MultiSeMgr::resetMultiSePos(): ok
* Z2WolfHowlMgr.h: decls
* Z2SoundStarter: move to decls and fix postprocess.py symbol pass
* Z2AudioArcLoader: decls
* Z2SoundObjMgr: ok some fns
- deleteEnemyAll()
- isTwilightBattle()
- setGhostEnemyState()
additionally elaborates parts of the Z2Creature hierarchy
* delete unused .s files and add tool to find them (only runs on linux)
* run clang-format
* postprocess.py: comment out debugging
* add python step to ok-check workflow
* address review comments
* address review comments
Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com>
60 lines
1.5 KiB
C
60 lines
1.5 KiB
C
#include "JSystem/JAudio2/JAISe/JAISe.h"
|
|
#include "JSystem/JAudio2/JAISound/JAISound.h"
|
|
#include "global.h"
|
|
|
|
struct Z2SoundObjBase {};
|
|
|
|
struct Z2CreatureLink {
|
|
void setLinkState(u8);
|
|
void setLinkGroupInfo(u8);
|
|
void setLinkHp(s32, s32);
|
|
void setLinkSwordType(s32, s32);
|
|
void setLinkShieldType(s32, s32);
|
|
void setLinkBootsType(s32);
|
|
Z2CreatureLink(void);
|
|
~Z2CreatureLink();
|
|
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);
|
|
|
|
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);
|
|
}; |