mirror of
https://github.com/zeldaret/tp
synced 2026-07-10 07:06:50 -04:00
Z2AudioLib misc decomp (#75)
* 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>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#ifndef Z2AUDIOARCLOADER_H_
|
||||
#define Z2AUDIOARCLOADER_H_
|
||||
|
||||
#include "JSystem/JAudio2/JAUAudioArcLoader/JAUAudioArcLoader.h"
|
||||
#include "global.h"
|
||||
|
||||
class Z2AudioArcLoader {
|
||||
Z2AudioArcLoader(JAUSection*);
|
||||
~Z2AudioArcLoader();
|
||||
|
||||
void readCommandMore(u32);
|
||||
void readBFCA(const void*);
|
||||
void readBSTN(const void*, u32);
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ lbl_802A9A94:
|
||||
/* 802A9AA0 002A69E0 90 03 00 04 */ stw r0, 4(r3)
|
||||
/* 802A9AA4 002A69E4 80 03 00 08 */ lwz r0, 8(r3)
|
||||
/* 802A9AA8 002A69E8 7C 80 2A 14 */ add r4, r0, r5
|
||||
/* 802A9AAC 002A69EC 48 00 00 1D */ bl Z2AudioArcLoader_NS_readBFCA
|
||||
/* 802A9AAC 002A69EC 48 00 00 1D */ bl readBFCA__16Z2AudioArcLoaderFPCv
|
||||
/* 802A9AB0 002A69F0 38 C0 00 01 */ li r6, 1
|
||||
lbl_802A9AB4:
|
||||
/* 802A9AB4 002A69F4 7C C3 33 78 */ mr r3, r6
|
||||
|
||||
Reference in New Issue
Block a user