[IGfxWorld] Small fixes
This commit is contained in:
parent
3b986f18af
commit
67a4e5c598
@ -875,7 +875,7 @@ namespace Assets
|
|||||||
|
|
||||||
buffer->align(Utils::Stream::ALIGN_128);
|
buffer->align(Utils::Stream::ALIGN_128);
|
||||||
buffer->save(asset->surfaceCastsSunShadow, 4, asset->surfaceVisDataCount);
|
buffer->save(asset->surfaceCastsSunShadow, 4, asset->surfaceVisDataCount);
|
||||||
Utils::Stream::ClearPointer(&dest->surfaceMaterials);
|
Utils::Stream::ClearPointer(&dest->surfaceCastsSunShadow);
|
||||||
|
|
||||||
SaveLogExit();
|
SaveLogExit();
|
||||||
}
|
}
|
||||||
|
@ -2931,8 +2931,7 @@ namespace Game
|
|||||||
{
|
{
|
||||||
float mins[3];
|
float mins[3];
|
||||||
float maxs[3];
|
float maxs[3];
|
||||||
GfxColor groundLighting;
|
float lightingOrigin[3];
|
||||||
int pad[2];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum surfaceType_t
|
enum surfaceType_t
|
||||||
@ -2990,7 +2989,7 @@ namespace Game
|
|||||||
struct GfxPackedPlacement
|
struct GfxPackedPlacement
|
||||||
{
|
{
|
||||||
float origin[3];
|
float origin[3];
|
||||||
vec3_t/*PackedUnitVec*/ axis[3];
|
vec3_t axis[3];
|
||||||
float scale;
|
float scale;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -3035,7 +3034,6 @@ namespace Game
|
|||||||
volatile int usageCount;
|
volatile int usageCount;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#pragma pack(push, 4)
|
#pragma pack(push, 4)
|
||||||
|
|
||||||
struct GfxPortalWritable
|
struct GfxPortalWritable
|
||||||
@ -3059,7 +3057,7 @@ namespace Game
|
|||||||
GfxPortalWritable writable;
|
GfxPortalWritable writable;
|
||||||
DpvsPlane plane;
|
DpvsPlane plane;
|
||||||
vec3_t* vertices;
|
vec3_t* vertices;
|
||||||
char unknown[2];
|
unsigned __int16 cellIndex;
|
||||||
char vertexCount;
|
char vertexCount;
|
||||||
float hullAxis[2][3];
|
float hullAxis[2][3];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user