mirror of https://github.com/zeldaret/tp.git
61 lines
1.5 KiB
C++
61 lines
1.5 KiB
C++
#ifndef __Z2SPEECHMGR2_H__
|
|
#define __Z2SPEECHMGR2_H__
|
|
|
|
#include "JSystem/JAudio2/JAISound/JAISound.h"
|
|
#include "JSystem/JMath/random.h"
|
|
#include "dolphin/types.h"
|
|
|
|
class Z2SpeechStarter {
|
|
public:
|
|
Z2SpeechStarter();
|
|
|
|
private:
|
|
void* __vt; //! @todo vtable
|
|
};
|
|
|
|
class Z2SpeechMgr2 {
|
|
public:
|
|
Z2SpeechMgr2();
|
|
|
|
private:
|
|
JAISoundHandle mSoundHandle1;
|
|
JAISoundHandle mSoundHandle2;
|
|
JMath::TRandom_fast_ mRandom;
|
|
Z2SpeechStarter mSpeechStarter;
|
|
|
|
u16 field_0x10[500];
|
|
s16 field_0x3f8;
|
|
s16 mTextCount;
|
|
u16 field_0x3fc;
|
|
u8 field_0x3fe;
|
|
u8 field_0x3ff;
|
|
u8 field_0x400;
|
|
u8 field_0x401;
|
|
u8 field_0x402[64];
|
|
u16 field_0x442;
|
|
};
|
|
|
|
//! @todo: we need to eventually figure out how to get JASGlobalInstance working once
|
|
//! const placement is fixed.
|
|
extern Z2SpeechMgr2* lbl_80450B70; // m_Do_main::JASGlobalInstance<Z2SpeechMgr2>::sInstance
|
|
|
|
// Additional symbols needed for Z2SpeechMgr2.cpp
|
|
extern "C" {
|
|
void __ct__15Z2SpeechStarterFv(void);
|
|
|
|
void __ct__12Z2SpeechMgr2Fv(void);
|
|
void framework__12Z2SpeechMgr2Fv(void);
|
|
void isMidnaSpeak__12Z2SpeechMgr2Fv(void);
|
|
void isNonVerbal__12Z2SpeechMgr2Fv(void);
|
|
void playOneShotVoice__12Z2SpeechMgr2FUcUsP3VecSc(void);
|
|
void selectTail__12Z2SpeechMgr2Fv(void);
|
|
void selectUnit__12Z2SpeechMgr2Fb(void);
|
|
void setString__12Z2SpeechMgr2FPCUssUcUs(void);
|
|
void setTextCount__12Z2SpeechMgr2Fs(void);
|
|
void speakOneWord__12Z2SpeechMgr2Fb(void);
|
|
|
|
void func_802CCFF8(void);
|
|
void __dt__15Z2SpeechStarterFv(void);
|
|
}
|
|
|
|
#endif |