mirror of
https://github.com/encounter/tp.git
synced 2026-03-30 11:40:53 -07:00
a61e3491f7
* initial freezard actor struct + setActionMode OK * daE_FZ_Draw * setReflectAngle * mBoundSoundset * daE_FZ_Execute & execute * demoDelete * daE_FZ_Delete & _delete * CreateHeap * useHeapInit * cc_set * mtx_set * action WIP * way_gake_check * executeRollMove * executeMove * draw WIP * executeDamage * checkpoint * create * checkpoint * daE_FZ_c::executeWait * checkpoint * daE_FZ_c::damage_check almost done * rm asm * rm headers * setup_profile WIP + doxygen update * fix merge issues * docs fix? * fix2 * doxygen updates * setup g_profile_E_FZ, profile setup script WIP * update github actions * update progress.md
38 lines
940 B
C++
38 lines
940 B
C++
#ifndef JASBANK_H
|
|
#define JASBANK_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
class JASChannel;
|
|
class JASInstParam;
|
|
class JASWaveBank;
|
|
|
|
namespace JASDsp {
|
|
class TChannel;
|
|
}
|
|
|
|
/**
|
|
* @ingroup jsystem-jaudio
|
|
*
|
|
*/
|
|
class JASBank {
|
|
public:
|
|
JASBank() { mWaveBank = NULL; }
|
|
virtual ~JASBank() {};
|
|
virtual bool getInstParam(int, int, int, JASInstParam*) const = 0;
|
|
virtual u32 getType() const = 0;
|
|
|
|
JASWaveBank* getWaveBank() const { return mWaveBank; }
|
|
void assignWaveBank(JASWaveBank* param_0) { mWaveBank = param_0; }
|
|
|
|
/* 80297930 */ static JASChannel* noteOn(JASBank const*, int, u8, u8, u16,
|
|
void (*)(u32, JASChannel*, JASDsp::TChannel*, void*), void*);
|
|
/* 80297C40 */ static JASChannel* noteOnOsc(int, u8, u8, u16,
|
|
void (*)(u32, JASChannel*, JASDsp::TChannel*, void*), void*);
|
|
|
|
private:
|
|
/* 0x04 */ JASWaveBank* mWaveBank;
|
|
};
|
|
|
|
#endif /* JASBANK_H */
|