mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-04 01:03:00 -04:00
JASWaveBankMgr
This commit is contained in:
@@ -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 */
|
||||
@@ -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);
|
||||
|
||||
@@ -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 */
|
||||
Reference in New Issue
Block a user