[IGfxWorld] Small fixes

This commit is contained in:
momo5502 2016-12-30 15:54:25 +01:00
parent 3b986f18af
commit 67a4e5c598
2 changed files with 4 additions and 6 deletions

View File

@ -875,7 +875,7 @@ namespace Assets
buffer->align(Utils::Stream::ALIGN_128);
buffer->save(asset->surfaceCastsSunShadow, 4, asset->surfaceVisDataCount);
Utils::Stream::ClearPointer(&dest->surfaceMaterials);
Utils::Stream::ClearPointer(&dest->surfaceCastsSunShadow);
SaveLogExit();
}

View File

@ -2931,8 +2931,7 @@ namespace Game
{
float mins[3];
float maxs[3];
GfxColor groundLighting;
int pad[2];
float lightingOrigin[3];
};
enum surfaceType_t
@ -2990,7 +2989,7 @@ namespace Game
struct GfxPackedPlacement
{
float origin[3];
vec3_t/*PackedUnitVec*/ axis[3];
vec3_t axis[3];
float scale;
};
@ -3035,7 +3034,6 @@ namespace Game
volatile int usageCount;
};
#pragma pack(push, 4)
struct GfxPortalWritable
@ -3059,7 +3057,7 @@ namespace Game
GfxPortalWritable writable;
DpvsPlane plane;
vec3_t* vertices;
char unknown[2];
unsigned __int16 cellIndex;
char vertexCount;
float hullAxis[2][3];
};