JASWaveBankMgr

This commit is contained in:
Jcw87
2023-10-30 05:17:56 -07:00
parent a60d94f79d
commit a815e3cd89
5 changed files with 113 additions and 16 deletions
+24
View File
@@ -0,0 +1,24 @@
#ifndef JASWSPARSER_H
#define JASWSPARSER_H
#include "dolphin/types.h"
namespace JASystem {
class TBasicWaveBank;
class TSimpleWaveBank;
namespace WSParser {
struct TCtrl;
struct TCtrlGroup;
struct TCtrlScene;
struct TCtrlWave;
struct TWave;
struct TWaveArchive;
struct TWaveArchiveBank;
u32 getGroupCount(void*);
TBasicWaveBank* createBasicWaveBank(void*);
TSimpleWaveBank* createSimpleWaveBank(void*);
}
}
#endif /* JASWSPARSER_H */
+1 -1
View File
@@ -24,7 +24,7 @@ namespace JASystem {
bool eraseSetup();
static s32 loadToAramCallback(void*);
bool sendLoadCmd();
void load(Kernel::THeap*);
bool load(Kernel::THeap*);
bool erase();
void onDispose();
void setEntryNum(s32);
+26
View File
@@ -0,0 +1,26 @@
#ifndef JASWAVEBANKMGR_H
#define JASWAVEBANKMGR_H
#include "dolphin/types.h"
namespace JASystem {
class TWaveArc;
class TWaveBank;
namespace Kernel {
class THeap;
}
namespace WaveBankMgr {
void init(int);
TWaveBank* getWaveBank(int);
bool registWaveBank(int, TWaveBank*);
bool registWaveBankWS(int, void*);
TWaveArc* getWaveArc(int, int);
bool loadWave(int, int, Kernel::THeap*);
bool eraseWave(int, int);
extern int sTableSize;
extern TWaveBank** sWaveBank;
}
}
#endif /* JASWAVEBANKMGR_H */