mirror of
https://github.com/zeldaret/tww.git
synced 2026-09-07 02:59:59 -04:00
Move extern forward decls from cpps to headers
This commit is contained in:
@@ -594,8 +594,6 @@ void calcViewBaseMtx(MtxP viewMtx, const Vec& scale, const Mtx& baseMtx, MtxP ds
|
||||
MTXConcat(viewMtx, mtx, dstMtx);
|
||||
}
|
||||
|
||||
extern void J3DPSMtxArrayConcat(Mtx, Mtx, Mtx, u32);
|
||||
|
||||
/* 802EEBDC-802EEE30 .text calcDrawMtx__8J3DModelFv */
|
||||
void J3DModel::calcDrawMtx() {
|
||||
u16 i;
|
||||
|
||||
@@ -16,13 +16,6 @@
|
||||
#include "dolphin/types.h"
|
||||
#include "string.h"
|
||||
|
||||
extern bool isTexNoReg(void*);
|
||||
extern u16 getTexNoReg(void*);
|
||||
extern void loadTexNo(u32, const u16 &);
|
||||
|
||||
extern void J3DGDSetTevColorS10(GXTevRegID, GXColorS10);
|
||||
extern void J3DGDSetTevKColor(GXTevKColorID, GXColor);
|
||||
|
||||
int SizeOfLoadMatColors = 13;
|
||||
int SizeOfLoadAmbColors = 13;
|
||||
int SizeOfLoadColorChans = 21;
|
||||
@@ -1347,8 +1340,6 @@ void J3DTevBlock16::diffTexCoordScale() {
|
||||
}
|
||||
}
|
||||
|
||||
extern void patchTexNo_PtrToIdx(u32 texID, const u16& idx);
|
||||
|
||||
/* 802E603C-802E6120 .text ptrToIndex__13J3DTevBlock16Fv */
|
||||
void J3DTevBlock16::ptrToIndex() {
|
||||
GDSetCurrOffset(mTexNoOffset);
|
||||
|
||||
@@ -9,14 +9,11 @@
|
||||
#include "JSystem/J3DGraphBase/J3DPacket.h"
|
||||
#include "JSystem/J3DGraphBase/J3DSys.h"
|
||||
#include "JSystem/J3DGraphBase/J3DVertex.h"
|
||||
#include "JSystem/J3DGraphBase/J3DGD.h"
|
||||
#include "dolphin/gd/GDBase.h"
|
||||
#include "dolphin/gd/GDGeometry.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
extern void J3DGDSetVtxAttrFmtv(GXVtxFmt, GXVtxAttrFmtList *, bool);
|
||||
extern void J3DFifoLoadPosMtxImm(Mtx, u32);
|
||||
extern void J3DFifoLoadNrmMtxImm(Mtx, u32);
|
||||
|
||||
/* 802DD18C-802DD1FC .text initialize__8J3DShapeFv */
|
||||
void J3DShape::initialize() {
|
||||
mMaterial = NULL;
|
||||
|
||||
@@ -14,10 +14,6 @@
|
||||
#include "JSystem/J3DGraphAnimator/J3DModel.h"
|
||||
#include "JSystem/J3DGraphAnimator/J3DModelData.h"
|
||||
|
||||
extern void J3DFifoLoadNrmMtxImm(Mtx, u32);
|
||||
extern void J3DFifoLoadNrmMtxImm3x3(Mtx33, u32);
|
||||
extern void J3DFifoLoadPosMtxImm(Mtx, u32);
|
||||
|
||||
u32 J3DShapeMtx::sCurrentPipeline;
|
||||
|
||||
/* 802DB9D8-802DBA1C .text loadMtxIndx_PNGP__11J3DShapeMtxCFiUs */
|
||||
|
||||
@@ -8,15 +8,10 @@
|
||||
#include "JSystem/J3DGraphBase/J3DSys.h"
|
||||
#include "JSystem/J3DGraphBase/J3DGD.h"
|
||||
#include "JSystem/J3DGraphBase/J3DTevs.h"
|
||||
#include "JSystem/JRenderer/JRenderer.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "global.h"
|
||||
|
||||
extern void JRNLoadTexCached(GXTexMapID, u32, GXTexCacheSize, u32, GXTexCacheSize);
|
||||
extern void makeTexCoordTable();
|
||||
extern void makeAlphaCmpTable();
|
||||
extern void makeZModeTable();
|
||||
extern void makeTevSwapTable();
|
||||
|
||||
/* 802D8AA8-802D8B8C .text __ct__6J3DSysFv */
|
||||
J3DSys::J3DSys() {
|
||||
makeTexCoordTable();
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "JSystem/JSystem.h" // IWYU pragma: keep
|
||||
|
||||
#include "JSystem/JRenderer/JRenderer.h"
|
||||
#include "dolphin/gx/GX.h"
|
||||
#include "JSystem/J3DGraphBase/J3DGD.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user