1#ifndef J3DMATERIALFACTORY_H
2#define J3DMATERIALFACTORY_H
enum _GXCullMode GXCullMode
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition J3DStruct.h:12
Definition J3DMaterialFactory.h:93
J3DMaterial * create(J3DMaterial *, MaterialType, int, u32) const
Definition J3DMaterialFactory.cpp:391
u32 calcSizeNormalMaterial(J3DMaterial *, int, u32) const
Definition J3DMaterialFactory.cpp:693
u8 * mpTexGenNum
Definition J3DMaterialFactory.h:160
u16 getMaterialID(int idx) const
Definition J3DMaterialFactory.h:143
J3DTexMtxInfo * field_0x34
Definition J3DMaterialFactory.h:164
u8 newTevStageNum(int) const
Definition J3DMaterialFactory.cpp:902
J3DZModeInfo * mpZModeInfo
Definition J3DMaterialFactory.h:177
J3DTexCoordInfo * mpTexCoordInfo
Definition J3DMaterialFactory.h:161
J3DPatchingInfo * mpPatchingInfo
Definition J3DMaterialFactory.h:182
J3DTexMtx * newTexMtx(int, int) const
Definition J3DMaterialFactory.cpp:833
u32 countStages(int) const
Definition J3DMaterialFactory.cpp:366
J3DGXColor newTevKColor(int, int) const
Definition J3DMaterialFactory.cpp:891
u8 * mpDither
Definition J3DMaterialFactory.h:179
J3DTevOrder newTevOrder(int, int) const
Definition J3DMaterialFactory.cpp:864
J3DIndTexMtx newIndTexMtx(int, int) const
Definition J3DMaterialFactory.cpp:953
J3DAlphaComp newAlphaComp(int) const
Definition J3DMaterialFactory.cpp:995
J3DIndTexCoordScale newIndTexCoordScale(int, int) const
Definition J3DMaterialFactory.cpp:974
u8 newZCompLoc(int) const
Definition J3DMaterialFactory.cpp:1027
J3DTevSwapModeInfo * mpTevSwapModeInfo
Definition J3DMaterialFactory.h:172
J3DMaterial * createLockedMaterial(J3DMaterial *, int, u32) const
Definition J3DMaterialFactory.cpp:641
u8 * mpZCompLoc
Definition J3DMaterialFactory.h:178
J3DBlendInfo * mpBlendInfo
Definition J3DMaterialFactory.h:176
u8 getMaterialMode(int idx) const
Definition J3DMaterialFactory.h:144
u8 newDither(int) const
Definition J3DMaterialFactory.cpp:1038
J3DFogInfo * mpFogInfo
Definition J3DMaterialFactory.h:174
GXColor * mpAmbColor
Definition J3DMaterialFactory.h:158
GXColor * mpMatColor
Definition J3DMaterialFactory.h:155
u32 calcSizeLockedMaterial(J3DMaterial *, int, u32) const
Definition J3DMaterialFactory.cpp:752
J3DGXColorS10 newTevColor(int, int) const
Definition J3DMaterialFactory.cpp:877
J3DGXColor newMatColor(int, int) const
Definition J3DMaterialFactory.cpp:766
J3DMaterialInitData * mpMaterialInitData
Definition J3DMaterialFactory.h:152
u8 newIndTexStageNum(int) const
Definition J3DMaterialFactory.cpp:934
J3DAlphaCompInfo * mpAlphaCompInfo
Definition J3DMaterialFactory.h:175
u16 mMaterialNum
Definition J3DMaterialFactory.h:151
u16 * mpMaterialID
Definition J3DMaterialFactory.h:153
J3DCurrentMtxInfo * mpCurrentMtxInfo
Definition J3DMaterialFactory.h:183
J3DLightInfo * mpLightInfo
Definition J3DMaterialFactory.h:159
u16 * mpTexNo
Definition J3DMaterialFactory.h:165
J3DFog newFog(int) const
Definition J3DMaterialFactory.cpp:984
J3DIndInitData * mpIndInitData
Definition J3DMaterialFactory.h:154
J3DTevSwapModeTable newTevSwapModeTable(int, int) const
Definition J3DMaterialFactory.cpp:923
J3DMaterial * createPatchedMaterial(J3DMaterial *, int, u32) const
Definition J3DMaterialFactory.cpp:528
u8 newColorChanNum(int) const
Definition J3DMaterialFactory.cpp:777
J3DTevStageInfo * mpTevStageInfo
Definition J3DMaterialFactory.h:171
J3DTevStage newTevStage(int, int) const
Definition J3DMaterialFactory.cpp:912
J3DIndTevStage newIndTevStage(int, int) const
Definition J3DMaterialFactory.cpp:963
static u32 getMdlDataFlag_PEFlag(u32 flags)
Definition J3DMaterialFactory.h:149
u16 countUniqueMaterials()
Definition J3DMaterialFactory.cpp:344
GXColorS10 * mpTevColor
Definition J3DMaterialFactory.h:168
void modifyPatchedCurrentMtx(J3DMaterial *, int) const
Definition J3DMaterialFactory.cpp:619
u8 * mpTevStageNum
Definition J3DMaterialFactory.h:170
u8 * mpColorChanNum
Definition J3DMaterialFactory.h:156
J3DNBTScale newNBTScale(int) const
Definition J3DMaterialFactory.cpp:1048
MaterialType
Definition J3DMaterialFactory.h:95
@ MATERIAL_TYPE_LOCKED
Definition J3DMaterialFactory.h:97
@ MATERIAL_TYPE_PATCHED
Definition J3DMaterialFactory.h:98
@ MATERIAL_TYPE_NORMAL
Definition J3DMaterialFactory.h:96
GXColor * mpTevKColor
Definition J3DMaterialFactory.h:169
u8 * mpMaterialMode
Definition J3DMaterialFactory.h:184
J3DTexMtxInfo * mpTexMtxInfo
Definition J3DMaterialFactory.h:163
J3DColorChanInfo * mpColorChanInfo
Definition J3DMaterialFactory.h:157
static u32 getMdlDataFlag_ColorFlag(u32 flags)
Definition J3DMaterialFactory.h:148
static int getMdlDataFlag_TexGenFlag(u32 flags)
Definition J3DMaterialFactory.h:147
J3DBlend newBlend(int) const
Definition J3DMaterialFactory.cpp:1006
GXCullMode * mpCullMode
Definition J3DMaterialFactory.h:166
J3DMaterial * createNormalMaterial(J3DMaterial *, int, u32) const
Definition J3DMaterialFactory.cpp:412
J3DIndTexOrder newIndTexOrder(int, int) const
Definition J3DMaterialFactory.cpp:943
J3DTevOrderInfo * mpTevOrderInfo
Definition J3DMaterialFactory.h:167
J3DGXColor newAmbColor(int, int) const
Definition J3DMaterialFactory.cpp:801
J3DZMode newZMode(int) const
Definition J3DMaterialFactory.cpp:1017
J3DTevSwapModeTableInfo * mpTevSwapModeTableInfo
Definition J3DMaterialFactory.h:173
u8 newCullMode(int) const
Definition J3DMaterialFactory.cpp:843
J3DNBTScaleInfo * mpNBTScaleInfo
Definition J3DMaterialFactory.h:180
J3DTexCoord newTexCoord(int, int) const
Definition J3DMaterialFactory.cpp:822
J3DTexCoord2Info * mpTexCoord2Info
Definition J3DMaterialFactory.h:162
u16 newTexNo(int, int) const
Definition J3DMaterialFactory.cpp:854
J3DColorChan newColorChan(int, int) const
Definition J3DMaterialFactory.cpp:788
u32 newTexGenNum(int) const
Definition J3DMaterialFactory.cpp:812
u32 calcSizePatchedMaterial(J3DMaterial *, int, u32) const
Definition J3DMaterialFactory.cpp:730
u32 countTexGens(int) const
Definition J3DMaterialFactory.cpp:357
u32 calcSize(J3DMaterial *, MaterialType, int, u32) const
Definition J3DMaterialFactory.cpp:673
J3DDisplayListInit * mpDisplayListInit
Definition J3DMaterialFactory.h:181
static int getMdlDataFlag_TevStageNum(u32 flags)
Definition J3DMaterialFactory.h:146
Definition J3DTexture.h:40
Definition J3DMatBlock.h:735
Definition J3DMatBlock.h:761
Definition J3DMatBlock.h:680
Definition J3DMatBlock.h:696
Definition J3DMatBlock.h:1123
Definition J3DMatBlock.h:1147
Definition J3DMaterialFactory.h:81
u32 mOffset
Definition J3DMaterialFactory.h:82
u32 field_0x4
Definition J3DMaterialFactory.h:83
Definition J3DStruct.h:120
Definition J3DMatBlock.h:719
Definition J3DMatBlock.h:12
Definition J3DMatBlock.h:30
Definition J3DMaterialFactory.h:51
J3DIndTexOrderInfo mIndTexOrderInfo[3]
Definition J3DMaterialFactory.h:55
bool mEnabled
Definition J3DMaterialFactory.h:52
u8 mIndTexStageNum
Definition J3DMaterialFactory.h:53
u8 field_0x002[2]
Definition J3DMaterialFactory.h:54
u8 field_0x010[4]
Definition J3DMaterialFactory.h:56
J3DIndTevStageInfo mIndTevStageInfo[0x10]
Definition J3DMaterialFactory.h:60
J3DIndTexCoordScaleInfo mIndTexCoordScaleInfo[3]
Definition J3DMaterialFactory.h:58
u8 field_0x074[4]
Definition J3DMaterialFactory.h:59
J3DIndTexMtxInfo mIndTexMtxInfo[3]
Definition J3DMaterialFactory.h:57
Definition J3DMatBlock.h:974
Definition J3DMatBlock.h:987
Definition J3DStruct.h:110
Definition J3DMatBlock.h:1007
Definition J3DMatBlock.h:1020
Definition J3DMatBlock.h:1033
Definition J3DModelLoader.h:93
Definition J3DModelLoader.h:166
Definition J3DMaterialFactory.h:14
u8 mTevStageNumIdx
Definition J3DMaterialFactory.h:19
u8 mTexGenNumIdx
Definition J3DMaterialFactory.h:18
u8 mZModeIdx
Definition J3DMaterialFactory.h:21
u16 mTexCoordIdx[8]
Definition J3DMaterialFactory.h:27
u16 mNBTScaleIdx
Definition J3DMaterialFactory.h:44
u8 field_0x12c[0x18]
Definition J3DMaterialFactory.h:40
u16 mAmbColorIdx[2]
Definition J3DMaterialFactory.h:25
u16 mBlendIdx
Definition J3DMaterialFactory.h:43
u16 mTevSwapModeIdx[0x10]
Definition J3DMaterialFactory.h:38
u16 mTevOrderIdx[0x10]
Definition J3DMaterialFactory.h:35
u16 mTevKColorIdx[4]
Definition J3DMaterialFactory.h:32
u16 mTevStageIdx[0x10]
Definition J3DMaterialFactory.h:37
u16 mFogIdx
Definition J3DMaterialFactory.h:41
u16 mMatColorIdx[2]
Definition J3DMaterialFactory.h:23
u8 field_0x058[0x2c]
Definition J3DMaterialFactory.h:30
u8 mMaterialMode
Definition J3DMaterialFactory.h:15
u16 mTexNoIdx[8]
Definition J3DMaterialFactory.h:31
u16 mTevSwapModeTableIdx[4]
Definition J3DMaterialFactory.h:39
u16 mTevColorIdx[4]
Definition J3DMaterialFactory.h:36
u8 mCullModeIdx
Definition J3DMaterialFactory.h:16
u16 mTexMtxIdx[8]
Definition J3DMaterialFactory.h:29
u16 mAlphaCompIdx
Definition J3DMaterialFactory.h:42
u8 mTevKColorSel[0x10]
Definition J3DMaterialFactory.h:33
u8 mZCompLocIdx
Definition J3DMaterialFactory.h:20
u8 mDitherIdx
Definition J3DMaterialFactory.h:22
u8 field_0x018[0x10]
Definition J3DMaterialFactory.h:26
u16 mColorChanIdx[4]
Definition J3DMaterialFactory.h:24
u8 mColorChanNumIdx
Definition J3DMaterialFactory.h:17
u8 mTevKAlphaSel[0x10]
Definition J3DMaterialFactory.h:34
u8 field_0x038[0x10]
Definition J3DMaterialFactory.h:28
Definition d_a_hozelda.cpp:93
Definition J3DStruct.h:138
Definition J3DMatBlock.h:51
Definition J3DMaterialFactory.h:67
u8 field_0xc[4]
Definition J3DMaterialFactory.h:74
u16 mTexMtxOffset
Definition J3DMaterialFactory.h:70
u16 mFogOffset
Definition J3DMaterialFactory.h:73
u16 mColorChanOffset
Definition J3DMaterialFactory.h:69
u16 mMatColorOffset
Definition J3DMaterialFactory.h:68
u16 mTexNoOffset
Definition J3DMaterialFactory.h:71
u16 mTevRegOffset
Definition J3DMaterialFactory.h:72
Definition J3DTexture.h:68
Definition J3DTexture.h:81
Definition J3DStruct.h:93
Definition J3DMatBlock.h:632
Definition J3DMatBlock.h:645
Definition d_a_obj_sekizoa.cpp:191
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8