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:
Erin Moon
2021-01-21 23:16:51 -05:00
committed by GitHub
co-authored by Pheenoh notyourav
parent afb426c60c
commit a072e71c33
595 changed files with 1228 additions and 9009 deletions
+1 -6
View File
@@ -115,7 +115,6 @@ extern u8 lbl_80451360[8];
// func_802C3464
extern u8 lbl_803CB96C[0x14];
extern u8 lbl_803C9D80[0x18];
extern u32 lbl_80450B74;
// func_802C3500
extern u8 lbl_803CAD10[0x20];
@@ -180,11 +179,8 @@ struct Z2SceneMgr;
extern Z2SceneMgr* lbl_80450B80; // Z2SceneMgr sInstance
struct Z2SoundMgr;
extern Z2SoundMgr* lbl_80450B60; // Z2SoundMgr sInstance
struct Z2SoundObjMgr;
extern Z2SoundObjMgr* lbl_80450B48; // Z2SoundObjMgr sInstance
struct Z2SpeechMgr2;
extern Z2SpeechMgr2* lbl_80450B70; // Z2SpeechMgr2 sInstance
extern void* lbl_803CC114; // JKRThread::__vt
extern void* lbl_803CC114; // JKRThread::__vt
class JKRThreadSwitch;
extern void* lbl_803CC100[5]; // JKRThreadSwitch::__vt
@@ -2501,7 +2497,6 @@ extern u8 lbl_80455B2C;
extern u8 lbl_804507E0;
extern u8 lbl_804507DC;
extern u8 lbl_80455AD8;
extern u8 lbl_80450B4C;
extern u8 lbl_8039C220;
extern u8 lbl_80455AE0;
extern u8 lbl_803CAC98;