diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-04-01 19:38:51 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-04-01 19:38:51 -0400 |
| commit | 765f88e4f3a804418fb19aeb33f4f7cf7a1dd35d (patch) | |
| tree | 0654937274294a6762475573fc5921446f0bcf84 /include/JSystem/J3DGraphBase | |
| parent | 36c9a1e4b43b0d89c4faa5b9e5865abb771cadb5 (diff) | |
Move extern forward decls from cpps to headers
Diffstat (limited to 'include/JSystem/J3DGraphBase')
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DGD.h | 1 | ||||
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DSys.h | 4 | ||||
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DTevs.h | 8 | ||||
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DTransform.h | 1 |
4 files changed, 14 insertions, 0 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DGD.h b/include/JSystem/J3DGraphBase/J3DGD.h index d16094f5..6f41992b 100644 --- a/include/JSystem/J3DGraphBase/J3DGD.h +++ b/include/JSystem/J3DGraphBase/J3DGD.h @@ -77,6 +77,7 @@ void J3DGDSetTevKColor(GXTevKColorID, GXColor); void J3DGDSetTevColorS10(GXTevRegID, GXColorS10); void J3DGDSetFog(GXFogType, f32, f32, f32, f32, GXColor); void J3DGDSetFogRangeAdj(u8, u16, GXFogAdjTable*); +void J3DGDSetVtxAttrFmtv(GXVtxFmt, GXVtxAttrFmtList*, bool); static inline void J3DFifoLoadIndx(u8 cmd, u16 indx, u16 addr) { GXFIFO.u8 = cmd; diff --git a/include/JSystem/J3DGraphBase/J3DSys.h b/include/JSystem/J3DGraphBase/J3DSys.h index 8100f78e..39e9ce20 100644 --- a/include/JSystem/J3DGraphBase/J3DSys.h +++ b/include/JSystem/J3DGraphBase/J3DSys.h @@ -163,4 +163,8 @@ public: extern u32 j3dDefaultViewNo; extern J3DSys j3dSys; +void J3DFifoLoadNrmMtxImm(Mtx, u32); +void J3DFifoLoadNrmMtxImm3x3(Mtx33, u32); +void J3DFifoLoadPosMtxImm(Mtx, u32); + #endif /* J3DSYS_H */ diff --git a/include/JSystem/J3DGraphBase/J3DTevs.h b/include/JSystem/J3DGraphBase/J3DTevs.h index d3d75b26..8ed44979 100644 --- a/include/JSystem/J3DGraphBase/J3DTevs.h +++ b/include/JSystem/J3DGraphBase/J3DTevs.h @@ -207,5 +207,13 @@ struct J3DNBTScale : public J3DNBTScaleInfo { struct J3DTexCoord; void loadTexCoordGens(u32, J3DTexCoord*); void loadNBTScale(J3DNBTScale& param_0); +bool isTexNoReg(void*); +u16 getTexNoReg(void*); +void loadTexNo(u32, const u16&); +void makeTexCoordTable(); +void makeAlphaCmpTable(); +void makeZModeTable(); +void makeTevSwapTable(); +void patchTexNo_PtrToIdx(u32 texID, const u16& idx); #endif /* J3DTEVS_H */ diff --git a/include/JSystem/J3DGraphBase/J3DTransform.h b/include/JSystem/J3DGraphBase/J3DTransform.h index c76dc51e..d6f24aff 100644 --- a/include/JSystem/J3DGraphBase/J3DTransform.h +++ b/include/JSystem/J3DGraphBase/J3DTransform.h @@ -40,6 +40,7 @@ void J3DScaleNrmMtx33(Mtx33, const Vec&); void J3DMtxProjConcat(Mtx, Mtx, Mtx); void J3DPSMtx33Copy(Mtx3P src, Mtx3P dst); void J3DPSMtx33CopyFrom34(MtxP src, Mtx3P dst); +void J3DPSMtxArrayConcat(Mtx, Mtx, Mtx, u32); inline void J3DPSMulMtxVec(register MtxP mtx, register Vec* vec, register Vec* dst) { #ifdef __MWERKS__ |
