mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -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>
124 lines
3.3 KiB
C++
124 lines
3.3 KiB
C++
/* Z2SoundMgr.cpp autogenerated by split.py v0.3 at 2021-01-04 23:01:21.950031 */
|
|
|
|
#include "Z2AudioLib/Z2SoundMgr/Z2SoundMgr.h"
|
|
#include "Z2AudioLib/Z2SeMgr/Z2SeMgr.h"
|
|
#include "Z2AudioLib/Z2SeqMgr/Z2SeqMgr.h"
|
|
#include "Z2AudioLib/Z2SoundInfo/Z2SoundInfo.h"
|
|
#include "Z2AudioLib/Z2SpeechMgr2/Z2SpeechMgr2.h"
|
|
#include "global.h"
|
|
|
|
extern "C" {
|
|
// seqCallback__FP8JASTrackUs
|
|
// seqCallback(JASTrack*, unsigned short)
|
|
asm void seqCallback(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802A9BC8.s"
|
|
}
|
|
|
|
// __ct__10Z2SoundMgrFv
|
|
// Z2SoundMgr::Z2SoundMgr(void)
|
|
asm void Z2SoundMgr_NS_ctor(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802A9E80.s"
|
|
}
|
|
|
|
// startSound__10Z2SoundMgrF10JAISoundIDP14JAISoundHandlePCQ29JGeometry8TVec3<f>
|
|
// Z2SoundMgr::startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f>)
|
|
asm void func_802A9EE8(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802A9EE8.s"
|
|
}
|
|
|
|
// calc__10Z2SoundMgrFv
|
|
// Z2SoundMgr::calc(void)
|
|
asm void Z2SoundMgr_NS_calc(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AA1B0.s"
|
|
}
|
|
|
|
// setIIR__10Z2SoundMgrFP8JAISoundPCs
|
|
// Z2SoundMgr::setIIR(JAISound*, const short*)
|
|
asm void Z2SoundMgr_NS_setIIR(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AA270.s"
|
|
}
|
|
|
|
// setFilterOff__10Z2SoundMgrFP8JAISound
|
|
// Z2SoundMgr::setFilterOff(JAISound*)
|
|
asm void Z2SoundMgr_NS_setFilterOff(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AA33C.s"
|
|
}
|
|
|
|
// resetFilterAll__10Z2SoundMgrFv
|
|
// Z2SoundMgr::resetFilterAll(void)
|
|
asm void resetFilterAll__10Z2SoundMgrFv(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AA430.s"
|
|
}
|
|
|
|
// mixOut__10Z2SoundMgrFv
|
|
// Z2SoundMgr::mixOut(void)
|
|
asm void Z2SoundMgr_NS_mixOut(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AA528.s"
|
|
}
|
|
|
|
// framework__10Z2SoundMgrFv
|
|
// Z2SoundMgr::framework(void)
|
|
asm void Z2SoundMgr_NS_framework(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AA67C.s"
|
|
}
|
|
|
|
// pauseAllGameSound__10Z2SoundMgrFb
|
|
// Z2SoundMgr::pauseAllGameSound(bool)
|
|
|
|
asm void Z2SoundMgr_NS_pauseAllGameSound(Z2SoundMgr* p0, bool p1) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AA6B0.s"
|
|
}
|
|
|
|
// stopSoundID__10Z2SoundMgrF10JAISoundID
|
|
// Z2SoundMgr::stopSoundID(JAISoundID)
|
|
asm void Z2SoundMgr_NS_stopSoundID(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AA7DC.s"
|
|
}
|
|
|
|
// stopSync__10Z2SoundMgrFv
|
|
// Z2SoundMgr::stopSync(void)
|
|
asm void Z2SoundMgr_NS_stopSync(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AA84C.s"
|
|
}
|
|
|
|
// stop__10Z2SoundMgrFv
|
|
// Z2SoundMgr::stop(void)
|
|
asm void Z2SoundMgr_NS_stop(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AA8C8.s"
|
|
}
|
|
|
|
// initParams__10Z2SoundMgrFv
|
|
// Z2SoundMgr::initParams(void)
|
|
asm void Z2SoundMgr_NS_initParams(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AA908.s"
|
|
}
|
|
|
|
// multiVolumeSoundID__10Z2SoundMgrF10JAISoundIDf
|
|
// Z2SoundMgr::multiVolumeSoundID(JAISoundID, float)
|
|
asm void Z2SoundMgr_NS_multiVolumeSoundID(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AA9E8.s"
|
|
}
|
|
|
|
// isPlayingSoundID__10Z2SoundMgrF10JAISoundID
|
|
// Z2SoundMgr::isPlayingSoundID(JAISoundID)
|
|
asm void Z2SoundMgr_NS_isPlayingSoundID(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SoundMgr/asm/func_802AAAC4.s"
|
|
}
|
|
};
|