mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 07:18:11 -05:00
Finish iw3 zone code generation
This commit is contained in:
@ -414,7 +414,7 @@ namespace IW3
|
||||
char pad[2];
|
||||
};
|
||||
|
||||
struct __declspec(align(2)) cbrushside_t
|
||||
struct cbrushside_t
|
||||
{
|
||||
cplane_s* plane;
|
||||
unsigned int materialNum;
|
||||
@ -462,6 +462,7 @@ namespace IW3
|
||||
|
||||
struct XModelStreamInfo
|
||||
{
|
||||
char pad;
|
||||
};
|
||||
|
||||
struct XModel
|
||||
@ -614,6 +615,22 @@ namespace IW3
|
||||
unsigned int nameHash;
|
||||
};
|
||||
|
||||
enum MaterialShaderArgumentType
|
||||
{
|
||||
MTL_ARG_MATERIAL_VERTEX_CONST = 0x0,
|
||||
MTL_ARG_LITERAL_VERTEX_CONST = 0x1,
|
||||
MTL_ARG_MATERIAL_PIXEL_SAMPLER = 0x2,
|
||||
MTL_ARG_CODE_PRIM_BEGIN = 0x3,
|
||||
MTL_ARG_CODE_VERTEX_CONST = 0x3,
|
||||
MTL_ARG_CODE_PIXEL_SAMPLER = 0x4,
|
||||
MTL_ARG_CODE_PIXEL_CONST = 0x5,
|
||||
MTL_ARG_CODE_PRIM_END = 0x6,
|
||||
MTL_ARG_MATERIAL_PIXEL_CONST = 0x6,
|
||||
MTL_ARG_LITERAL_PIXEL_CONST = 0x7,
|
||||
|
||||
MLT_ARG_COUNT
|
||||
};
|
||||
|
||||
struct MaterialShaderArgument
|
||||
{
|
||||
uint16_t type;
|
||||
@ -731,10 +748,10 @@ namespace IW3
|
||||
|
||||
union GfxTexture
|
||||
{
|
||||
void/*IDirect3DBaseTexture9*/* basemap;
|
||||
void/*IDirect3DTexture9*/* map;
|
||||
void/*IDirect3DVolumeTexture9*/* volmap;
|
||||
void/*IDirect3DCubeTexture9*/* cubemap;
|
||||
//void/*IDirect3DBaseTexture9*/* basemap;
|
||||
//void/*IDirect3DTexture9*/* map;
|
||||
//void/*IDirect3DVolumeTexture9*/* volmap;
|
||||
//void/*IDirect3DCubeTexture9*/* cubemap;
|
||||
Texture* texture;
|
||||
GfxImageLoadDef* loadDef;
|
||||
};
|
||||
@ -1657,7 +1674,7 @@ namespace IW3
|
||||
|
||||
struct GfxWorldStreamInfo
|
||||
{
|
||||
|
||||
char pad;
|
||||
};
|
||||
|
||||
struct GfxWorld
|
||||
@ -1790,7 +1807,7 @@ namespace IW3
|
||||
{
|
||||
int intVal;
|
||||
float floatVal;
|
||||
const char* string;
|
||||
const char* stringVal;
|
||||
};
|
||||
|
||||
enum expDataType
|
||||
|
Reference in New Issue
Block a user