1#ifndef J3DMODELLOADER_H
2#define J3DMODELLOADER_H
J3DModelLoaderFlagTypes
Definition J3DModelLoader.h:202
@ J3DMLF_MtxTypeMask
Definition J3DModelLoader.h:209
@ J3DMLF_12
Definition J3DModelLoader.h:219
@ J3DMLF_NoMatrixTransform
Definition J3DModelLoader.h:216
@ J3DMLF_UseSingleSharedDL
Definition J3DModelLoader.h:226
@ J3DMLF_TevNumShift
Definition J3DModelLoader.h:224
@ J3DMLF_UsePostTexMtx
Definition J3DModelLoader.h:213
@ J3DMLF_18
Definition J3DModelLoader.h:225
@ J3DMLF_Material_PE_FogOff
Definition J3DModelLoader.h:237
@ J3DMLF_24
Definition J3DModelLoader.h:231
@ J3DMLF_Material_PE_Full
Definition J3DModelLoader.h:236
@ J3DMLF_16
Definition J3DModelLoader.h:223
@ J3DMLF_08
Definition J3DModelLoader.h:215
@ J3DMLF_10
Definition J3DModelLoader.h:217
@ J3DMLF_UseImmediateMtx
Definition J3DModelLoader.h:212
@ J3DMLF_DoBdlMaterialCalc
Definition J3DModelLoader.h:221
@ J3DMLF_23
Definition J3DModelLoader.h:230
@ J3DMLF_13
Definition J3DModelLoader.h:220
@ J3DMLF_07
Definition J3DModelLoader.h:214
@ J3DMLF_Material_TexGen_Block4
Definition J3DModelLoader.h:235
@ J3DMLF_Material_Color_AmbientOn
Definition J3DModelLoader.h:239
@ J3DMLF_26
Definition J3DModelLoader.h:233
@ J3DMLF_20
Definition J3DModelLoader.h:227
@ J3DMLF_UseUniqueMaterials
Definition J3DModelLoader.h:229
@ J3DMLF_27
Definition J3DModelLoader.h:234
@ J3DMLF_None
Definition J3DModelLoader.h:203
@ J3DMLF_MtxBasicCalc
Definition J3DModelLoader.h:207
@ J3DMLF_Material_Color_LightOn
Definition J3DModelLoader.h:238
@ J3DMLF_MtxMayaCalc
Definition J3DModelLoader.h:206
@ J3DMLF_21
Definition J3DModelLoader.h:228
@ J3DMLF_Material_UseIndirect
Definition J3DModelLoader.h:232
@ J3DMLF_11
Definition J3DModelLoader.h:218
@ J3DMLF_04
Definition J3DModelLoader.h:208
@ J3DMLF_MtxSoftImageCalc
Definition J3DModelLoader.h:205
@ J3DMLF_15
Definition J3DModelLoader.h:222
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition J3DModelLoader.h:326
static J3DModelData * load(void const *i_data, u32 i_flags)
Definition J3DModelLoader.cpp:31
Definition J3DModelLoader.h:302
void readMaterialTable_v21(J3DMaterialBlock_v21 const *, u32)
Definition J3DModelLoader.cpp:533
~J3DModelLoader_v21()
Definition J3DModelLoader.h:304
void readMaterial_v21(J3DMaterialBlock_v21 const *, u32)
Definition J3DModelLoader.cpp:430
Definition J3DModelLoader.h:313
void readMaterial(J3DMaterialBlock const *, u32)
Definition J3DModelLoader.cpp:386
void readMaterialTable(J3DMaterialBlock const *, u32)
Definition J3DModelLoader.cpp:511
u32 calcSizeMaterialTable(J3DMaterialBlock const *, u32)
Definition J3DModelLoaderCalcSize.cpp:277
~J3DModelLoader_v26()
Definition J3DModelLoader.h:315
u32 calcSizeMaterial(J3DMaterialBlock const *, u32)
Definition J3DModelLoaderCalcSize.cpp:220
Definition J3DModelLoader.h:246
void readEnvelop(J3DEnvelopeBlock const *)
Definition J3DModelLoader.cpp:336
virtual void readMaterialTable(J3DMaterialBlock const *, u32)
Definition J3DModelLoader.h:283
u32 calcSizeMaterialDL(J3DMaterialDLBlock const *, u32)
Definition J3DModelLoaderCalcSize.cpp:315
J3DShapeBlock const * mpShapeBlock
Definition J3DModelLoader.h:290
u32 calcSizeTexture(J3DTextureBlock const *)
Definition J3DModelLoaderCalcSize.cpp:266
virtual J3DModelData * loadBinaryDisplayList(void const *, u32)
Definition J3DModelLoader.cpp:139
virtual void readMaterialTable_v21(J3DMaterialBlock_v21 const *, u32)
Definition J3DModelLoader.h:284
virtual u16 countMaterialNum(void const *)
Definition J3DModelLoaderCalcSize.cpp:17
J3DModelData * mpModelData
Definition J3DModelLoader.h:288
J3DMaterialTable * mpMaterialTable
Definition J3DModelLoader.h:289
u32 calcSizeEnvelope(J3DEnvelopeBlock const *)
Definition J3DModelLoaderCalcSize.cpp:207
u8 field_0x19
Definition J3DModelLoader.h:294
u32 calcSizeShape(J3DShapeBlock const *, u32)
Definition J3DModelLoaderCalcSize.cpp:247
virtual u32 calcSizeMaterial(J3DMaterialBlock const *, u32)
Definition J3DModelLoader.h:285
void readPatchedMaterial(J3DMaterialBlock const *, u32)
Definition J3DModelLoader.cpp:569
void readShape(J3DShapeBlock const *, u32)
Definition J3DModelLoader.cpp:471
J3DMaterialBlock const * mpMaterialBlock
Definition J3DModelLoader.h:291
virtual void setupBBoardInfo()
Definition J3DModelLoader.cpp:203
J3DModelHierarchy * mpModelHierarchy
Definition J3DModelLoader.h:292
void readVertex(J3DVertexBlock const *)
Definition J3DModelLoader.cpp:276
virtual void readMaterial(J3DMaterialBlock const *, u32)
Definition J3DModelLoader.h:281
virtual J3DMaterialTable * loadMaterialTable(void const *)
Definition J3DModelLoader.cpp:109
void readJoint(J3DJointBlock const *)
Definition J3DModelLoader.cpp:368
void readInformation(J3DModelInfoBlock const *, u32)
Definition J3DModelLoader.cpp:243
u32 calcSizeTextureTable(J3DTextureBlock const *)
Definition J3DModelLoaderCalcSize.cpp:293
virtual ~J3DModelLoader()
Definition J3DModelLoader.h:280
void modifyMaterial(u32)
Definition J3DModelLoader.cpp:626
u16 mEnvelopeSize
Definition J3DModelLoader.h:295
u32 calcSizeInformation(J3DModelInfoBlock const *, u32)
Definition J3DModelLoaderCalcSize.cpp:174
void readTexture(J3DTextureBlock const *)
Definition J3DModelLoader.cpp:497
virtual void readMaterial_v21(J3DMaterialBlock_v21 const *, u32)
Definition J3DModelLoader.h:282
void readTextureTable(J3DTextureBlock const *)
Definition J3DModelLoader.cpp:555
u32 calcSizePatchedMaterial(J3DMaterialBlock const *, u32)
Definition J3DModelLoaderCalcSize.cpp:299
void readMaterialDL(J3DMaterialDLBlock const *, u32)
Definition J3DModelLoader.cpp:591
void readDraw(J3DDrawBlock const *)
Definition J3DModelLoader.cpp:350
u32 calcSizeDraw(J3DDrawBlock const *)
Definition J3DModelLoaderCalcSize.cpp:214
virtual J3DModelData * load(void const *, u32)
Definition J3DModelLoader.cpp:50
virtual u32 calcLoadBinaryDisplayListSize(void const *, u32)
Definition J3DModelLoaderCalcSize.cpp:117
J3DModelLoader()
Definition J3DModelLoader.cpp:19
virtual u32 calcLoadMaterialTableSize(void const *)
Definition J3DModelLoaderCalcSize.cpp:76
virtual u32 calcSizeMaterialTable(J3DMaterialBlock const *, u32)
Definition J3DModelLoader.h:286
u32 calcSizeJoint(J3DJointBlock const *)
Definition J3DModelLoaderCalcSize.cpp:195
virtual u32 calcLoadSize(void const *, u32)
Definition J3DModelLoaderCalcSize.cpp:30
u8 field_0x18
Definition J3DModelLoader.h:293
Definition J3DModelLoader.h:72
void * mpDrawMtxIndex
Definition J3DModelLoader.h:75
u16 mMtxNum
Definition J3DModelLoader.h:73
void * mpDrawMtxFlag
Definition J3DModelLoader.h:74
Definition J3DModelLoader.h:60
void * mpInvJointMtx
Definition J3DModelLoader.h:65
u16 mWEvlpMtxNum
Definition J3DModelLoader.h:61
void * mpWEvlpMixMtxNum
Definition J3DModelLoader.h:62
void * mpWEvlpMixWeight
Definition J3DModelLoader.h:64
void * mpWEvlpMixIndex
Definition J3DModelLoader.h:63
Definition J3DModelLoader.h:82
u16 mJointNum
Definition J3DModelLoader.h:83
void * mpNameTable
Definition J3DModelLoader.h:86
void * mpJointInitData
Definition J3DModelLoader.h:84
void * mpIndexTable
Definition J3DModelLoader.h:85
Definition J3DModelLoader.h:131
void * mpZModeInfo
Definition J3DModelLoader.h:156
void * mpTexMtxInfo
Definition J3DModelLoader.h:143
void * mpTevSwapModeTableInfo
Definition J3DModelLoader.h:152
void * mpTevColor
Definition J3DModelLoader.h:147
void * mpAlphaCompInfo
Definition J3DModelLoader.h:154
void * mpTexNo
Definition J3DModelLoader.h:145
void * mpTevKColor
Definition J3DModelLoader.h:148
void * mpColorChanNum
Definition J3DModelLoader.h:138
void * mpColorChanInfo
Definition J3DModelLoader.h:139
void * mpNBTScaleInfo
Definition J3DModelLoader.h:159
void * mpNameTable
Definition J3DModelLoader.h:135
void * mpTevStageInfo
Definition J3DModelLoader.h:150
void * mpTevSwapModeInfo
Definition J3DModelLoader.h:151
void * mpTevOrderInfo
Definition J3DModelLoader.h:146
void * mpDither
Definition J3DModelLoader.h:158
void * mpBlendInfo
Definition J3DModelLoader.h:155
void * mpTexGenNum
Definition J3DModelLoader.h:140
void * mpMaterialID
Definition J3DModelLoader.h:134
void * mpMaterialInitData
Definition J3DModelLoader.h:133
void * mpTevStageNum
Definition J3DModelLoader.h:149
void * mpZCompLoc
Definition J3DModelLoader.h:157
void * mpFogInfo
Definition J3DModelLoader.h:153
u16 mMaterialNum
Definition J3DModelLoader.h:132
void * mpCullMode
Definition J3DModelLoader.h:136
void * mpMatColor
Definition J3DModelLoader.h:137
void * mpTexCoordInfo
Definition J3DModelLoader.h:141
void * field_0x38
Definition J3DModelLoader.h:144
void * mpTexCoord2Info
Definition J3DModelLoader.h:142
Definition J3DModelLoader.h:93
void * mpZModeInfo
Definition J3DModelLoader.h:121
void * mpZCompLoc
Definition J3DModelLoader.h:122
void * mpTevSwapModeTableInfo
Definition J3DModelLoader.h:117
void * mpTexCoord2Info
Definition J3DModelLoader.h:107
void * mpTevOrderInfo
Definition J3DModelLoader.h:111
void * field_0x44
Definition J3DModelLoader.h:109
void * mpMaterialInitData
Definition J3DModelLoader.h:95
void * mpTevStageInfo
Definition J3DModelLoader.h:115
void * mpTevSwapModeInfo
Definition J3DModelLoader.h:116
void * mpIndInitData
Definition J3DModelLoader.h:98
void * mpNBTScaleInfo
Definition J3DModelLoader.h:124
void * mpColorChanNum
Definition J3DModelLoader.h:101
void * mpDither
Definition J3DModelLoader.h:123
void * mpLightInfo
Definition J3DModelLoader.h:104
void * mpMatColor
Definition J3DModelLoader.h:100
void * mpFogInfo
Definition J3DModelLoader.h:118
void * mpTevKColor
Definition J3DModelLoader.h:113
void * mpNameTable
Definition J3DModelLoader.h:97
void * mpTevStageNum
Definition J3DModelLoader.h:114
void * mpBlendInfo
Definition J3DModelLoader.h:120
void * mpTevColor
Definition J3DModelLoader.h:112
void * mpMaterialID
Definition J3DModelLoader.h:96
void * mpCullMode
Definition J3DModelLoader.h:99
void * mpAlphaCompInfo
Definition J3DModelLoader.h:119
void * mpTexGenNum
Definition J3DModelLoader.h:105
void * mpColorChanInfo
Definition J3DModelLoader.h:102
void * mpTexCoordInfo
Definition J3DModelLoader.h:106
u16 mMaterialNum
Definition J3DModelLoader.h:94
void * mpTexMtxInfo
Definition J3DModelLoader.h:108
void * mpAmbColor
Definition J3DModelLoader.h:103
void * mpTexNo
Definition J3DModelLoader.h:110
Definition J3DModelLoader.h:166
void * mpDisplayListInit
Definition J3DModelLoader.h:168
void * mpMaterialMode
Definition J3DModelLoader.h:171
void * mpPatchingInfo
Definition J3DModelLoader.h:169
void * mpNameTable
Definition J3DModelLoader.h:173
void * mpCurrentMtxInfo
Definition J3DModelLoader.h:170
void * field_0x1c
Definition J3DModelLoader.h:172
u16 mMaterialNum
Definition J3DModelLoader.h:167
Definition d_a_hozelda.cpp:34
Definition J3DModelLoader.h:14
u32 mBlockSize
Definition J3DModelLoader.h:16
u32 mBlockType
Definition J3DModelLoader.h:15
Definition J3DModelLoader.h:23
u8 field_0x08[4]
Definition J3DModelLoader.h:26
u32 mMagic1
Definition J3DModelLoader.h:24
J3DModelBlock mBlocks[1]
Definition J3DModelLoader.h:29
u8 field_0x10[0x10]
Definition J3DModelLoader.h:28
u32 mBlockNum
Definition J3DModelLoader.h:27
u32 mMagic2
Definition J3DModelLoader.h:25
Definition J3DJointTree.h:12
Definition J3DModelLoader.h:36
u32 mPacketNum
Definition J3DModelLoader.h:38
u32 mVtxNum
Definition J3DModelLoader.h:39
u16 mFlags
Definition J3DModelLoader.h:37
void * mpHierarchy
Definition J3DModelLoader.h:40
Definition J3DModelLoader.h:180
void * mpDrawInitData
Definition J3DModelLoader.h:189
void * mpDisplayListData
Definition J3DModelLoader.h:187
void * mpIndexTable
Definition J3DModelLoader.h:183
void * mpVtxDescList
Definition J3DModelLoader.h:185
void * mpMtxTable
Definition J3DModelLoader.h:186
void * mpShapeInitData
Definition J3DModelLoader.h:182
void * mpNameTable
Definition J3DModelLoader.h:184
u16 mShapeNum
Definition J3DModelLoader.h:181
void * mpMtxInitData
Definition J3DModelLoader.h:188
Definition J3DModelLoader.h:196
void * mpNameTable
Definition J3DModelLoader.h:199
u16 mTextureNum
Definition J3DModelLoader.h:197
void * mpTextureRes
Definition J3DModelLoader.h:198
Definition J3DModelLoader.h:47
void * mpVtxColorArray[2]
Definition J3DModelLoader.h:52
void * mpVtxNrmArray
Definition J3DModelLoader.h:50
void * mpVtxAttrFmtList
Definition J3DModelLoader.h:48
void * mpVtxTexCoordArray[8]
Definition J3DModelLoader.h:53
void * mpVtxPosArray
Definition J3DModelLoader.h:49
void * mpVtxNBTArray
Definition J3DModelLoader.h:51
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8