mirror of
https://github.com/zeldaret/tp
synced 2026-07-03 21:10:33 -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,16 +1,18 @@
|
||||
/* Z2SoundInfo.cpp autogenerated by split.py v0.3 at 2021-01-05 00:36:00.060978 */
|
||||
|
||||
#include "Z2AudioLib/Z2SoundInfo/Z2SoundInfo.h"
|
||||
#include "dvd/dvd.h"
|
||||
#include "global.h"
|
||||
|
||||
extern "C" {
|
||||
// getBgmSeqResourceID__11Z2SoundInfoCF10JAISoundID
|
||||
// Z2SoundInfo::getBgmSeqResourceID(JAISoundID) const
|
||||
asm void Z2SoundInfo_NS_getBgmSeqResourceID(void) {
|
||||
asm u32 Z2SoundInfo::getBgmSeqResourceID(JAISoundID) const {
|
||||
nofralloc
|
||||
#include "Z2AudioLib/Z2SoundInfo/asm/func_802BB00C.s"
|
||||
}
|
||||
|
||||
// @todo thunk
|
||||
// getSoundType__11Z2SoundInfoCF10JAISoundID
|
||||
// Z2SoundInfo::getSoundType(JAISoundID) const
|
||||
asm void func_802BB090(void) {
|
||||
@@ -80,14 +82,16 @@ asm void Z2SoundInfo_NS_getStreamFileEntry(void) {
|
||||
nofralloc
|
||||
#include "Z2AudioLib/Z2SoundInfo/asm/func_802BBA88.s"
|
||||
}
|
||||
};
|
||||
|
||||
// getSwBit__11Z2SoundInfoCF10JAISoundID
|
||||
// Z2SoundInfo::getSwBit(JAISoundID) const
|
||||
asm void Z2SoundInfo_NS_getSwBit(void) {
|
||||
asm u32 Z2SoundInfo::getSwBit(JAISoundID) const {
|
||||
nofralloc
|
||||
#include "Z2AudioLib/Z2SoundInfo/asm/func_802BBAC8.s"
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
// getSoundInfo___11Z2SoundInfoCF10JAISoundIDP8JAISound
|
||||
// Z2SoundInfo::getSoundInfo_(JAISoundID, JAISound*) const
|
||||
asm void Z2SoundInfo_NS_getSoundInfo_(void) {
|
||||
|
||||
Reference in New Issue
Block a user