Add a precompiled header for RELs (#2597)

This commit is contained in:
Max Roncace
2025-08-24 02:52:08 -04:00
committed by GitHub
parent 8a30030dc7
commit 513816ce5c
1085 changed files with 4491 additions and 12588 deletions
+1 -1
View File
@@ -488,4 +488,4 @@ bool J2DTextBox::isUsed(ResTIMG const* p_timg) {
/* 80300C90-80300C94 2FB5D0 0004+00 1/0 0/0 0/0 .text rewriteAlpha__10J2DTextBoxFv */
void J2DTextBox::rewriteAlpha() {
/* empty function */
}
}
-5
View File
@@ -337,11 +337,6 @@ static u8 sdata_padding[4] = {};
/* 804515D8-804515DC 000AD8 0004+00 2/2 0/0 0/0 .sbss SizeOfJ3DColorBlockLightOffLoad */
static u32 SizeOfJ3DColorBlockLightOffLoad = SizeOfLoadMatColors + SizeOfLoadColorChans;
u8 J3DColorChan::getAttnFn() const {
u8 AttnArr[] = {2,0,2,1};
return AttnArr[(u32)(mColorChanID & (3 << 9)) >> 9];
}
/* 80317C0C-8031816C 31254C 0560+00 1/0 0/0 0/0 .text load__21J3DColorBlockLightOffFv */
void J3DColorBlockLightOff::load() {
GDOverflowCheck(SizeOfJ3DColorBlockLightOffLoad);
+1 -1
View File
@@ -9,4 +9,4 @@
// Fake function to make the weak function J3DShapeMtx::getUseMtxNum appear in this TU
u32 J3DUGetUseMtxNum(J3DShapeMtx* i_shapeMtx) {
return i_shapeMtx->getUseMtxNum();
}
}
+1 -1
View File
@@ -35,4 +35,4 @@ JAISoundHandle* JAISoundHandles::getFreeHandle() {
}
}
return NULL;
}
}
+1 -1
View File
@@ -25,4 +25,4 @@ JAISoundInfo::JAISoundInfo(bool param_0) : JASGlobalInstance<JAISoundInfo>(param
/* 802A2D50-802A2DB4 29D690 0064+00 1/0 2/2 0/0 .text __dt__12JAISoundInfoFv */
JAISoundInfo::~JAISoundInfo() {
}
}
+1 -1
View File
@@ -114,4 +114,4 @@ s32 JASAudioReseter::calc() {
/* 8029D2D4-8029D2F4 297C14 0020+00 1/1 0/0 0/0 .text callback__15JASAudioReseterFPv */
s32 JASAudioReseter::callback(void* param_0) {
return ((JASAudioReseter*)param_0)->calc();
}
}
+1 -1
View File
@@ -60,4 +60,4 @@ void JASCallbackMgr::callback() {
mCallbacks[i].mArgument = NULL;
}
}
}
}
+1 -1
View File
@@ -245,4 +245,4 @@ int JASDSPChannel::killActiveChannel() {
/* 8029D948-8029D958 298288 0010+00 0/0 1/1 0/0 .text getHandle__13JASDSPChannelFUl */
JASDSPChannel* JASDSPChannel::getHandle(u32 i_index) {
return &sDspChannels[i_index];
}
}
+1 -1
View File
@@ -118,4 +118,4 @@ void JASDrumSet::TPerc::setRelease(u32 param_0) {
}
/* 802984EC-802984F8 292E2C 000C+00 1/0 0/0 0/0 .text getType__10JASDrumSetCFv */
u32 JASDrumSet::getType() const { return 'PERC'; }
u32 JASDrumSet::getType() const { return 'PERC'; }
+1 -1
View File
@@ -36,4 +36,4 @@ bool JASDvd::createThread(s32 priority, int param_1, u32 param_2) {
sThread->setCurrentHeap(JKRGetSystemHeap());
OSResumeThread(sThread->getThreadRecord());
return true;
}
}
+1 -1
View File
@@ -82,4 +82,4 @@ void JASLfo::resetCounter() {
}
}
/* 8029BE6C-8029BE94 2967AC 0028+00 0/0 1/0 0/0 .text __sinit_JASLfo_cpp */
/* 8029BE6C-8029BE94 2967AC 0028+00 0/0 1/0 0/0 .text __sinit_JASLfo_cpp */
+1 -1
View File
@@ -214,4 +214,4 @@ void JASOscillator::updateCurrentValue(f32 param_0) {
f32 fVar2 = (1.0f - fVar3) * table[index];
f32 fVar4 = fVar2 + fVar3 * table[index + 1];
_08 = _0C * fVar4 + _10 * (1.0f - fVar4);
}
}
+1 -1
View File
@@ -68,4 +68,4 @@ void JASProbe::stop(s32 index) {
sProbeTable[index]->stop();
}
}
}
}
+1 -1
View File
@@ -147,4 +147,4 @@ u32 JASRegisterParam::read(JASRegisterParam::RegID param_0) {
break;
}
return rv;
}
}
+1 -1
View File
@@ -68,4 +68,4 @@ int JASResArcLoader::loadResourceAsync(JKRArchive* archive, u16 id, u8* buffer,
args.mCallbackArg = cbArg;
return JASDvd::getThreadPointer()->sendCmdMsg(&loadResourceCallback, (void*)&args, sizeof(CallbackArgs));
}
}
+1 -1
View File
@@ -155,4 +155,4 @@ void JASSeqCtrl::timerProcess() {
}
}
/* ############################################################################################## */
/* ############################################################################################## */
+1 -1
View File
@@ -22,4 +22,4 @@ void JASSoundParams::combine(const JASSoundParams &other1, const JASSoundParams
mFxMix = other1.mFxMix + other2.mFxMix;
mPan = other1.mPan + other2.mPan - 0.5f;
mDolby = other1.mDolby + other2.mDolby;
}
}
+1 -1
View File
@@ -46,4 +46,4 @@ u32 JASTrackPort::checkImport(u32 param_0) const {
/* 80293628-80293644 28DF68 001C+00 0/0 1/1 0/0 .text checkExport__12JASTrackPortCFUl */
u32 JASTrackPort::checkExport(u32 param_0) const {
return field_0x2 & 1 << param_0 ? 1 : 0;
}
}
+1 -1
View File
@@ -39,4 +39,4 @@ JASVoiceBank::~JASVoiceBank() {}
/* 80298008-80298014 292948 000C+00 1/0 0/0 0/0 .text getType__12JASVoiceBankCFv */
u32 JASVoiceBank::getType() const {
return 'VOIC';
}
}
@@ -130,4 +130,4 @@ bool JAUAudioArcInterpreter::readCommand_() {
break;
}
return true;
}
}
+1 -1
View File
@@ -105,4 +105,4 @@ void JAUAudioArcLoader::readMaxSeCategory(int param_0, int param_1, int param_2)
seMgr->getCategory(param_0)->setMaxActiveSe(param_1);
seMgr->getCategory(param_0)->setMaxInactiveSe(param_2);
}
}
}
+1 -1
View File
@@ -103,4 +103,4 @@ JAUSeqDataMgr_SeqCollection::SeqDataReturnValue JAUSeqDataMgr_SeqCollection::get
}
/* 802A6894-802A68F4 2A11D4 0060+00 1/0 0/0 0/0 .text __dt__27JAUSeqDataMgr_SeqCollectionFv */
JAUSeqDataMgr_SeqCollection::~JAUSeqDataMgr_SeqCollection() {}
JAUSeqDataMgr_SeqCollection::~JAUSeqDataMgr_SeqCollection() {}
+1 -1
View File
@@ -25,4 +25,4 @@ int JAUSoundAnimation::getEndSoundIndex(f32 param_0) const {
}
}
return i;
}
}
+1 -1
View File
@@ -135,4 +135,4 @@ void JMAMTXApplyScale(register const Mtx src, register Mtx dst, register f32 xSc
psq_st z, 40(dst), 0, 0
}
#endif // clang-format on
}
}
+1 -1
View File
@@ -8,4 +8,4 @@
/* 80339AE4-80339AEC -00001 0008+00 0/0 0/0 0/0 .text __ct__Q25JMath13TRandom_fast_FUl */
JMath::TRandom_fast_::TRandom_fast_(u32 param_0) {
value = param_0;
}
}
+1 -1
View File
@@ -32,4 +32,4 @@ void JPALoadExTex(JPAEmitterWorkData* work) {
/* 8027B13C-8027B144 -00001 0008+00 0/0 0/0 0/0 .text __ct__13JPAExTexShapeFPCUc */
JPAExTexShape::JPAExTexShape(u8 const* data) {
mpData = (const JPAExTexShapeData*)data;
}
}
+1 -1
View File
@@ -81,4 +81,4 @@ u32 JPAResourceManager::getResUserWork(u16 usrIdx) const {
ret = res->getDyn()->getResUserWork();
return ret;
}
}
+1 -1
View File
@@ -12,4 +12,4 @@ JPATexture::JPATexture(u8 const* pData) {
}
/* 8027D83C-8027D8A0 27817C 0064+00 1/0 0/0 0/0 .text __dt__10JPATextureFv */
JPATexture::~JPATexture() {}
JPATexture::~JPATexture() {}
@@ -34,4 +34,4 @@ void JStudio::fvb::data::TParse_TParagraph::getData(TParse_TParagraph::TData* da
data->pContent = parse;
data->next = parse + ((t + 3) >> 1 & ~1);
}
}
}
+1 -1
View File
@@ -71,4 +71,4 @@ s32 JSUFileInputStream::getLength() const {
/* 802DC85C-802DC864 2D719C 0008+00 1/0 0/0 0/0 .text getPosition__18JSUFileInputStreamCFv */
s32 JSUFileInputStream::getPosition() const {
return mPosition;
}
}
+1 -1
View File
@@ -159,4 +159,4 @@ JSUPtrLink* JSUPtrList::getNthLink(u32 index) const {
}
return node;
}
}
+1 -1
View File
@@ -529,4 +529,4 @@ s32 JUTResFont::getDescent() const {
/* 802DE01C-802DE078 2D895C 005C+00 1/0 1/0 0/0 .text getHeight__10JUTResFontCFv */
s32 JUTResFont::getHeight() const {
return getAscent() + getDescent();
}
}
+1 -1
View File
@@ -129,4 +129,4 @@ void JUTReport(int param_0, int param_1, int param_2, char const* fmt, ...) {
return;
}
JUTDbPrint::sDebugPrint->enter(param_0, param_1, param_2, buf, ret < 0x100 ? ret : 0xFF);
}
}
+1 -1
View File
@@ -116,4 +116,4 @@ void JUTFader::setStatus(JUTFader::EStatus i_status, int param_1) {
}
/* 802E5840-802E5888 2E0180 0048+00 1/0 0/0 0/0 .text __dt__8JUTFaderFv */
JUTFader::~JUTFader() {}
JUTFader::~JUTFader() {}
+1 -1
View File
@@ -56,4 +56,4 @@ f32 JUTFont::drawString_size_scale(f32 a1, f32 a2, f32 a3, f32 a4, const char* s
}
return a1 - temp;
}
}
+1 -1
View File
@@ -44,4 +44,4 @@ JUTGraphFifo::~JUTGraphFifo() {
sCurrentFifo = NULL;
}
JKRFreeToSysHeap(mBase);
}
}
+1 -1
View File
@@ -49,4 +49,4 @@ u16 JUTNameTab::calcKeyCode(const char* pName) const {
while (*pName)
keyCode = (keyCode * 3) + *pName++;
return keyCode;
}
}