mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-12 15:58:28 -05:00
ZoneCode: Add commands for GfxWorld and enable it
This commit is contained in:
@ -1122,6 +1122,7 @@ namespace T6
|
||||
};
|
||||
|
||||
typedef __declspec(align(4)) char aligned_byte_pointer;
|
||||
typedef __declspec(align(4)) GfxCompressedLightGridCoeffs GfxCompressedLightGridCoeffs_align4;
|
||||
|
||||
struct GfxLightGrid
|
||||
{
|
||||
@ -1139,7 +1140,7 @@ namespace T6
|
||||
unsigned int colorCount;
|
||||
GfxCompressedLightGridColors* colors;
|
||||
unsigned int coeffCount;
|
||||
GfxCompressedLightGridCoeffs* coeffs;
|
||||
GfxCompressedLightGridCoeffs_align4* coeffs;
|
||||
unsigned int skyGridVolumeCount;
|
||||
GfxSkyGridVolume* skyGridVolumes;
|
||||
};
|
||||
@ -1171,6 +1172,7 @@ namespace T6
|
||||
vec3_t sunFxPosition;
|
||||
};
|
||||
|
||||
typedef __declspec(align(4)) GfxDrawSurf GfxDrawSurf_align4;
|
||||
|
||||
|
||||
struct GfxWorldDpvsStatic
|
||||
@ -1195,7 +1197,7 @@ namespace T6
|
||||
GfxStaticModelInst* smodelInsts;
|
||||
GfxSurface* surfaces;
|
||||
GfxStaticModelDrawInst* smodelDrawInsts;
|
||||
GfxDrawSurf* surfaceMaterials;
|
||||
GfxDrawSurf_align4* surfaceMaterials;
|
||||
raw_byte128* surfaceCastsSunShadow;
|
||||
raw_byte128* surfaceCastsShadow;
|
||||
raw_byte128* smodelCastsShadow;
|
||||
@ -3463,7 +3465,7 @@ namespace T6
|
||||
};*/
|
||||
|
||||
|
||||
struct GfxLightGridEntry
|
||||
struct __declspec(align(4)) GfxLightGridEntry
|
||||
{
|
||||
unsigned __int16 colorsIndex;
|
||||
char primaryLightIndex;
|
||||
@ -3471,7 +3473,7 @@ namespace T6
|
||||
};
|
||||
|
||||
|
||||
struct GfxCompressedLightGridColors
|
||||
struct __declspec(align(4)) GfxCompressedLightGridColors
|
||||
{
|
||||
char rgb[56][3];
|
||||
};
|
||||
@ -3547,7 +3549,7 @@ namespace T6
|
||||
};
|
||||
|
||||
|
||||
struct GfxSceneDynBrush
|
||||
struct __declspec(align(4)) GfxSceneDynBrush
|
||||
{
|
||||
BModelDrawInfo info;
|
||||
unsigned __int16 dynEntId;
|
||||
@ -5545,7 +5547,7 @@ namespace T6
|
||||
{
|
||||
char_align128* pixelShaderAlign;
|
||||
char_align4* pixelShader;
|
||||
char_align128* vertexShader;
|
||||
char_align4* vertexShader;
|
||||
int pixelShaderSize;
|
||||
int vertexShaderSize;
|
||||
};
|
||||
@ -5585,7 +5587,7 @@ namespace T6
|
||||
half w;
|
||||
};
|
||||
|
||||
unsigned __int64 v;
|
||||
// unsigned __int64 v;
|
||||
};
|
||||
|
||||
|
||||
@ -5601,7 +5603,7 @@ namespace T6
|
||||
};
|
||||
|
||||
|
||||
struct SSkinVert
|
||||
struct __declspec(align(4)) SSkinVert
|
||||
{
|
||||
half4 pos_bone;
|
||||
PackedUnitVec normal;
|
||||
|
Reference in New Issue
Block a user