summaryrefslogtreecommitdiff
path: root/libs/Z2AudioLib/Z2AudioMgr.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2021-06-12 15:22:36 -0700
committerGitHub <noreply@github.com>2021-06-12 18:22:36 -0400
commit4448c08ac082e8f569f2b4c0dd9e5f4d91dec093 (patch)
tree8778c90e82d9b79e70ff998082a83ab8391edb68 /libs/Z2AudioLib/Z2AudioMgr.cpp
parent5be309a186d35e952080d73cc9584a8345d9e029 (diff)
move / fix bunch of stuff (#133)
* fix some class structures / d_event wip * d_event wip * move gamepad stuff * move m_Do_main * move d_bomb / partial m_Do_reset * format * remove asm * add Z2SoundID enum * move some Z2 classes * fix * move more Z2 stuff * fix fopAc_ac_c more
Diffstat (limited to 'libs/Z2AudioLib/Z2AudioMgr.cpp')
-rw-r--r--libs/Z2AudioLib/Z2AudioMgr.cpp62
1 files changed, 1 insertions, 61 deletions
diff --git a/libs/Z2AudioLib/Z2AudioMgr.cpp b/libs/Z2AudioLib/Z2AudioMgr.cpp
index 783abd142c..1e253033bd 100644
--- a/libs/Z2AudioLib/Z2AudioMgr.cpp
+++ b/libs/Z2AudioLib/Z2AudioMgr.cpp
@@ -11,22 +11,11 @@
// Types:
//
-struct Z2StatusMgr {
- /* 802B5F1C */ Z2StatusMgr();
- /* 802B5F7C */ void processHeartGaugeSound();
- /* 802B617C */ void menuOut();
- /* 802B671C */ void processTime();
-};
-
struct Z2SpeechMgr2 {
/* 802CBC60 */ Z2SpeechMgr2();
/* 802CC9D0 */ void framework();
};
-struct Z2SoundStarter {
- /* 802AAB94 */ Z2SoundStarter(bool);
-};
-
struct Z2SoundObjMgr {
/* 802BF920 */ Z2SoundObjMgr();
};
@@ -38,22 +27,6 @@ struct Z2SoundMgr {
/* 802AA908 */ void initParams();
};
-struct Z2SeqMgr {
- /* 802AEEA0 */ Z2SeqMgr();
- /* 802B33A8 */ void processBgmFramework();
-};
-
-struct Z2SeMgr {
- /* 802AB64C */ Z2SeMgr();
- /* 802AB750 */ void initSe();
- /* 802AE184 */ void processSeFramework();
-};
-
-struct Z2SceneMgr {
- /* 802B6840 */ Z2SceneMgr();
- /* 802B9C50 */ void framework();
-};
-
struct Z2Param {
static f32 VOL_BGM_DEFAULT;
static f32 VOL_SE_SYSTEM_DEFAULT;
@@ -70,35 +43,6 @@ struct Z2FxLineMgr {
/* 802BA7DC */ Z2FxLineMgr();
};
-struct JGeometry {
- template <typename A1>
- struct TVec3 {};
- /* TVec3<f32> */
- struct TVec3__template0 {};
-};
-
-struct JKRSolidHeap {};
-
-struct JAISoundID {};
-
-struct JKRArchive {};
-
-struct JAISoundHandle {};
-
-struct Z2AudioMgr {
- /* 802CD248 */ Z2AudioMgr();
- /* 802CD34C */ void init(JKRSolidHeap*, u32, void*, JKRArchive*);
- /* 802CD888 */ void setOutputMode(u32);
- /* 802CD8B4 */ void zeldaGFrameWork();
- /* 802CD904 */ void gframeProcess();
- /* 802CD974 */ void resetProcess(u32, bool);
- /* 802CD9CC */ void resetRecover();
- /* 802CDA6C */ void hasReset() const;
- /* 802CDB1C */ void startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f32> const*);
-
- static u8 mAudioMgrPtr[4 + 4 /* padding */];
-};
-
struct JAUSection {
/* 802A50F8 */ void finishBuild();
};
@@ -111,8 +55,6 @@ struct Z2Audience {
/* 802BD130 */ Z2Audience();
};
-struct JKRHeap {};
-
struct JAU_JASInitializer {
/* 802A4AD0 */ JAU_JASInitializer();
/* 802A4B28 */ void initJASystem(JKRSolidHeap*);
@@ -152,8 +94,6 @@ struct JAUAudioArcInterpreter {
/* 802A4260 */ ~JAUAudioArcInterpreter();
};
-struct JASTrack {};
-
struct JASSeqParser {
static u8 sCallBackFunc[4];
};
@@ -361,7 +301,7 @@ SECTION_DATA extern void* __vt__10Z2AudioMgr[3] = {
/* 80451368-80451370 000868 0004+04 1/1 251/251 900/900 .sbss mAudioMgrPtr__10Z2AudioMgr
*/
-u8 Z2AudioMgr::mAudioMgrPtr[4 + 4 /* padding */];
+Z2AudioMgr* Z2AudioMgr::mAudioMgrPtr;
/* 802CD248-802CD34C 2C7B88 0104+00 0/0 1/1 0/0 .text __ct__10Z2AudioMgrFv */
#pragma push