mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 23:05:36 -04:00
ec9b03241d
Removes the strong dependency on a single header file and moves declarations to their respective header file. This allows for making dependencies explicit in cpp files and other headers, and also makes it much easier to track where everything related to a particular component is. This change also creates a few header files that previously didn't exist, making it much nicer for people implementing things, as they won't need to create the header file, it'll just be there ready to go. Ideally functions.h wouldn't even be a thing, as this header adds a lot of preprocessing overhead due to its size, and will continue to grow significantly larger over the lifespan of the project, which can also impact the performance of editors that do dependency lookups and context-aware syntax highlighting.
117 lines
3.4 KiB
C++
117 lines
3.4 KiB
C++
/* Z2SpeechMgr2.cpp autogenerated by split.py v0.3 at 2021-01-04 22:38:34.026034 */
|
|
|
|
#include "Z2AudioLib/Z2SpeechMgr2/Z2SpeechMgr2.h"
|
|
#include "JSystem/JAudio2/JAISoundParamsMove.h"
|
|
#include "JSystem/JAudio2/JAISoundStarter.h"
|
|
#include "Z2AudioLib/Z2EnvSeMgr/Z2EnvSeMgr.h"
|
|
#include "Z2AudioLib/Z2SeqMgr/Z2SeqMgr.h"
|
|
#include "Z2AudioLib/Z2SoundStarter/Z2SoundStarter.h"
|
|
#include "Z2AudioLib/Z2StatusMgr/Z2StatusMgr.h"
|
|
#include "global.h"
|
|
#include "m_Do/m_Do_audio/m_Do_audio.h"
|
|
|
|
#ifdef NONMATCHING
|
|
Z2SpeechMgr2::Z2SpeechMgr2()
|
|
: mSound(NULL), field_0x4(0), mRandom(0), mSpeechStarter(), field_0x3f8(0), mTextCount(-1),
|
|
field_0x3fc(0), field_0x3fe(0), field_0x3ff(0), field_0x401(0) {
|
|
// lbl_80450B70 = this;
|
|
// this->sound = NULL;
|
|
// this->field_0x4 = 0;
|
|
// this->random
|
|
for (int i = 0; i < 0x40; i++)
|
|
this->field_0x402[i] = -1;
|
|
}
|
|
#else
|
|
asm Z2SpeechMgr2::Z2SpeechMgr2() {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CBC60.s"
|
|
}
|
|
#endif
|
|
|
|
extern "C" {
|
|
// __dt__15Z2SpeechStarterFv
|
|
// Z2SpeechStarter::~Z2SpeechStarter(void)
|
|
asm void func_802CBCEC(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CBCEC.s"
|
|
}
|
|
|
|
// setString__12Z2SpeechMgr2FPCUssUcUs
|
|
// Z2SpeechMgr2::setString(const unsigned short*, short, unsigned char, unsigned short)
|
|
asm void Z2SpeechMgr2_NS_setString(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CBD88.s"
|
|
}
|
|
|
|
// setTextCount__12Z2SpeechMgr2Fs
|
|
// Z2SpeechMgr2::setTextCount(short)
|
|
asm void Z2SpeechMgr2_NS_setTextCount(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CBF60.s"
|
|
}
|
|
|
|
// speakOneWord__12Z2SpeechMgr2Fb
|
|
// Z2SpeechMgr2::speakOneWord(bool)
|
|
asm void Z2SpeechMgr2_NS_speakOneWord(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CC190.s"
|
|
}
|
|
|
|
// isNonVerbal__12Z2SpeechMgr2Fv
|
|
// Z2SpeechMgr2::isNonVerbal(void)
|
|
asm void Z2SpeechMgr2_NS_isNonVerbal(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CC2FC.s"
|
|
}
|
|
|
|
// selectUnit__12Z2SpeechMgr2Fb
|
|
// Z2SpeechMgr2::selectUnit(bool)
|
|
asm void Z2SpeechMgr2_NS_selectUnit(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CC4C0.s"
|
|
}
|
|
|
|
// selectTail__12Z2SpeechMgr2Fv
|
|
// Z2SpeechMgr2::selectTail(void)
|
|
asm void Z2SpeechMgr2_NS_selectTail(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CC738.s"
|
|
}
|
|
|
|
// framework__12Z2SpeechMgr2Fv
|
|
// Z2SpeechMgr2::framework(void)
|
|
asm void Z2SpeechMgr2_NS_framework(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CC9D0.s"
|
|
}
|
|
|
|
// playOneShotVoice__12Z2SpeechMgr2FUcUsP3VecSc
|
|
// Z2SpeechMgr2::playOneShotVoice(unsigned char, unsigned short, Vec*, char)
|
|
asm void Z2SpeechMgr2_NS_playOneShotVoice(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CCA18.s"
|
|
}
|
|
|
|
// isMidnaSpeak__12Z2SpeechMgr2Fv
|
|
// Z2SpeechMgr2::isMidnaSpeak(void)
|
|
asm void Z2SpeechMgr2_NS_isMidnaSpeak(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CCF88.s"
|
|
}
|
|
|
|
// __ct__15Z2SpeechStarterFv
|
|
// Z2SpeechStarter::Z2SpeechStarter(void)
|
|
asm Z2SpeechStarter::Z2SpeechStarter(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CCFB8.s"
|
|
}
|
|
|
|
// startSound__15Z2SpeechStarterF10JAISoundIDP14JAISoundHandlePCQ29JGeometry8TVec3<f>UlfffffUl
|
|
// Z2SpeechStarter::startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f>, unsigned long,
|
|
// float, float, float, float, float, unsigned long)
|
|
asm void func_802CCFF8(void) {
|
|
nofralloc
|
|
#include "Z2AudioLib/Z2SpeechMgr2/asm/func_802CCFF8.s"
|
|
}
|
|
};
|