Files
tp/libs/Z2AudioLib/Z2AudioMgr.cpp
T
Erin Moon a072e71c33 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>
2021-01-21 23:16:51 -05:00

99 lines
2.8 KiB
C++

/* Z2AudioMgr.cpp autogenerated by split.py v0.3 at 2021-01-04 23:11:48.333955 */
#include "Z2AudioLib/Z2Param/Z2Param.h"
#include "Z2AudioLib/Z2SoundInfo/Z2SoundInfo.h"
#include "global.h"
extern "C" {
// __ct__10Z2AudioMgrFv
// Z2AudioMgr::Z2AudioMgr(void)
asm void Z2AudioMgr(void) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CD248.s"
}
// init__10Z2AudioMgrFP12JKRSolidHeapUlPvP10JKRArchive
// Z2AudioMgr::init(JKRSolidHeap*, unsigned long, void*, JKRArchive*)
asm void Z2AudioMgr_NS_init(void) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CD34C.s"
}
// __dt__24JAUStreamAramMgrBase_<1>Fv
// JAUStreamAramMgrBase_<1>::~JAUStreamAramMgrBase_<1>(void)
asm void func_802CD7F8(void) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CD7F8.s"
}
// setOutputMode__10Z2AudioMgrFUl
// Z2AudioMgr::setOutputMode(unsigned long)
asm void Z2AudioMgr_NS_setOutputMode(void*, unsigned long) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CD888.s"
}
// zeldaGFrameWork__10Z2AudioMgrFv
// Z2AudioMgr::zeldaGFrameWork(void)
asm void Z2AudioMgr_NS_zeldaGFrameWork(void) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CD8B4.s"
}
// gframeProcess__10Z2AudioMgrFv
// Z2AudioMgr::gframeProcess(void)
asm void Z2AudioMgr_NS_gframeProcess(void) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CD904.s"
}
// resetProcess__10Z2AudioMgrFUlb
// Z2AudioMgr::resetProcess(unsigned long, bool)
asm void Z2AudioMgr_NS_resetProcess(void) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CD974.s"
}
// resetRecover__10Z2AudioMgrFv
// Z2AudioMgr::resetRecover(void)
asm void Z2AudioMgr_NS_resetRecover(void) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CD9CC.s"
}
// hasReset__10Z2AudioMgrCFv
// Z2AudioMgr::hasReset(void) const
asm u32 Z2AudioMgr_NS_hasReset(void*) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CDA6C.s"
}
// startSound__10Z2AudioMgrF10JAISoundIDP14JAISoundHandlePCQ29JGeometry8TVec3<f>
// Z2AudioMgr::startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f>)
asm void func_802CDB1C(void) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CDB1C.s"
}
// __dt__26JAUStreamStaticAramMgr_<1>Fv
// JAUStreamStaticAramMgr_<1>::~JAUStreamStaticAramMgr_<1>(void)
asm void func_802CDB68(void) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CDB68.s"
}
// deleteStreamAram__26JAUStreamStaticAramMgr_<1>FUl
// JAUStreamStaticAramMgr_<1>::deleteStreamAram(unsigned long)
asm void func_802CDC08(void) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CDC08.s"
}
// newStreamAram__26JAUStreamStaticAramMgr_<1>FPUl
// JAUStreamStaticAramMgr_<1>::newStreamAram(unsigned long*)
asm void func_802CDCEC(void) {
nofralloc
#include "Z2AudioLib/Z2AudioMgr/asm/func_802CDCEC.s"
}
};