mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-06 18:02:28 -04:00
J3DMaterialFactory and J3DMaterialFactory_v21 OK
This commit is contained in:
@@ -124,6 +124,12 @@ struct J3DTextureBlock : public JUTDataBlockHeader {
|
||||
/* 0x10 */ void* mpNameTable;
|
||||
};
|
||||
|
||||
static inline u32 getMdlDataFlag_TevStageNum(u32 flags) { return (flags >> 0x10) & 0x1f; }
|
||||
static inline u32 getMdlDataFlag_TexGenFlag(u32 flags) { return flags & 0x0c000000; }
|
||||
static inline u32 getMdlDataFlag_ColorFlag(u32 flags) { return flags & 0xc0000000; }
|
||||
static inline u32 getMdlDataFlag_PEFlag(u32 flags) { return flags & 0x30000000; }
|
||||
static inline u32 getMdlDataFlag_MtxLoadType(u32 flags) { return flags & 0x10; }
|
||||
|
||||
class J3DModelLoaderDataBase {
|
||||
public:
|
||||
static J3DModelData* load(void const*, u32);
|
||||
|
||||
Reference in New Issue
Block a user