mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
engine: fix static prop lump version 10 loading
This commit is contained in:
+22
-1
@@ -271,8 +271,29 @@ struct StaticPropLumpV9_t
|
||||
bool m_bDisableX360;
|
||||
};
|
||||
|
||||
// version 10
|
||||
struct StaticPropLumpV10_t
|
||||
{
|
||||
Vector m_Origin;
|
||||
QAngle m_Angles;
|
||||
unsigned short m_PropType;
|
||||
unsigned short m_FirstLeaf;
|
||||
unsigned short m_LeafCount;
|
||||
unsigned char m_Solid;
|
||||
int m_Skin;
|
||||
float m_FadeMinDist;
|
||||
float m_FadeMaxDist;
|
||||
Vector m_LightingOrigin;
|
||||
float m_flForcedFadeScale;
|
||||
unsigned short m_nMinDXLevel;
|
||||
unsigned short m_nMaxDXLevel;
|
||||
// int m_Lighting; // index into the GAMELUMP_STATIC_PROP_LIGHTING lump
|
||||
unsigned int m_Flags;
|
||||
unsigned short m_nLightmapResolutionX;
|
||||
unsigned short m_nLightmapResolutionY;
|
||||
};
|
||||
|
||||
// version 10
|
||||
struct StaticPropLumpV10_21_t
|
||||
{
|
||||
DECLARE_BYTESWAP_DATADESC();
|
||||
Vector m_Origin;
|
||||
|
||||
Reference in New Issue
Block a user