r5sdk/r5dev/game/shared/collisionproperty.h
Kawe Mazidjatari 66ef9fb6a0 Fix crash in hitbox drawing code and light restructure
* Fix null pointer dereference crash in server hitbox drawing code; implemented a proper getter for CStudioHdr.
* Moved 'baseentity.h/cpp' to 'game/server/' instead.
* Overall light cleanup.
2023-01-23 23:21:29 +01:00

41 lines
1020 B
C++
Raw Blame History

//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef COLLISIONPROPERTY_H
#define COLLISIONPROPERTY_H
#include "public/engine/ICollideable.h"
#include "mathlib/vector.h"
#include "baseentity.h"
class CCollisionProperty : public ICollideable
{
CBaseEntity* m_pOuter;
Vector3D m_vecMins;
Vector3D m_vecMaxs;
int m_usSolidFlags;
char m_nSolidType;
char m_triggerBloat;
char m_collisionDetailLevel;
char m_isInDirtyList;
char m_hasDirtyBounds;
char m_hiddenFromSpatialQueries;
__int16 m_dirtyListIndex;
char m_nSurroundType;
char gap_35[1];
__int16 m_spatialAccelHandle;
__int16 m_partitionMask;
char gap_3a[2];
float m_flRadius;
Vector3D m_vecSpecifiedSurroundingMins;
Vector3D m_vecSpecifiedSurroundingMaxs;
Vector3D m_vecSurroundingMins;
Vector3D m_vecSurroundingMaxs;
float m_hitboxTestRadius;
};
#endif // COLLISIONPROPERTY_H