mirror of
https://github.com/zeldaret/tp
synced 2026-07-07 06:04:58 -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:
@@ -1,5 +1,6 @@
|
||||
/* Z2SoundStarter.cpp autogenerated by split.py v0.3 at 2021-01-04 23:38:28.244752 */
|
||||
|
||||
#include "Z2AudioLib/Z2SoundStarter/Z2SoundStarter.h"
|
||||
#include "Z2AudioLib/Z2EnvSeMgr/Z2EnvSeMgr.h"
|
||||
#include "Z2AudioLib/Z2StatusMgr/Z2StatusMgr.h"
|
||||
#include "global.h"
|
||||
@@ -7,14 +8,14 @@
|
||||
extern "C" {
|
||||
// __ct__14Z2SoundStarterFb
|
||||
// Z2SoundStarter::Z2SoundStarter(bool)
|
||||
asm void Z2SoundStarter_NS_ctor(void) {
|
||||
asm Z2SoundStarter::Z2SoundStarter(bool) {
|
||||
nofralloc
|
||||
#include "Z2AudioLib/Z2SoundStarter/asm/func_802AAB94.s"
|
||||
}
|
||||
|
||||
// startSound__14Z2SoundStarterF10JAISoundIDP14JAISoundHandlePCQ29JGeometry8TVec3<f>
|
||||
// Z2SoundStarter::startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f>)
|
||||
asm void func_802AABF4(void) {
|
||||
asm void Z2SoundStarter::startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f32> const*) {
|
||||
nofralloc
|
||||
#include "Z2AudioLib/Z2SoundStarter/asm/func_802AABF4.s"
|
||||
}
|
||||
@@ -22,28 +23,29 @@ asm void func_802AABF4(void) {
|
||||
// startSound__14Z2SoundStarterF10JAISoundIDP14JAISoundHandlePCQ29JGeometry8TVec3<f>UlfffffUl
|
||||
// Z2SoundStarter::startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f>, unsigned long,
|
||||
// float, float, float, float, float, unsigned long)
|
||||
asm void Z2SoundStarter_NS_startSound_X1_(void) {
|
||||
asm void Z2SoundStarter::startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f32> const*, u32,
|
||||
float, float, float, float, float, u32) {
|
||||
nofralloc
|
||||
#include "Z2AudioLib/Z2SoundStarter/asm/func_802AAC3C.s"
|
||||
}
|
||||
|
||||
// setPortData__14Z2SoundStarterFP14JAISoundHandleUlUsSc
|
||||
// Z2SoundStarter::setPortData(JAISoundHandle*, unsigned long, unsigned short, char)
|
||||
asm void Z2SoundStarter_NS_setPortData(void) {
|
||||
asm void Z2SoundStarter::setPortData(JAISoundHandle*, u32, u16, s8) {
|
||||
nofralloc
|
||||
#include "Z2AudioLib/Z2SoundStarter/asm/func_802AAEDC.s"
|
||||
}
|
||||
|
||||
// getPortData__14Z2SoundStarterFP14JAISoundHandleUlSc
|
||||
// Z2SoundStarter::getPortData(JAISoundHandle*, unsigned long, char)
|
||||
asm void Z2SoundStarter_NS_getPortData(void) {
|
||||
asm void Z2SoundStarter::getPortData(JAISoundHandle*, u32, s8) {
|
||||
nofralloc
|
||||
#include "Z2AudioLib/Z2SoundStarter/asm/func_802AAF74.s"
|
||||
}
|
||||
|
||||
// __dt__14Z2SoundStarterFv
|
||||
// Z2SoundStarter::~Z2SoundStarter(void)
|
||||
asm void func_802AAFF0(void) {
|
||||
asm Z2SoundStarter::~Z2SoundStarter(void) {
|
||||
nofralloc
|
||||
#include "Z2AudioLib/Z2SoundStarter/asm/func_802AAFF0.s"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user