Update interface version
This commit is contained in:
parent
b5f3d79c16
commit
2dabb9f29d
4 changed files with 139 additions and 95 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include "gametrace.h"
|
||||
#include "entityinstance.h"
|
||||
|
||||
#define RAYTRACE_INTERFACE_VERSION "CRayTraceInterface001"
|
||||
#define RAYTRACE_INTERFACE_VERSION "CRayTraceInterface002"
|
||||
|
||||
enum class InteractionLayers : uint64_t
|
||||
{
|
||||
|
|
@ -172,28 +172,28 @@ public:
|
|||
virtual ~CRayTraceInterface() = default;
|
||||
|
||||
virtual bool TraceShape(const Vector* pVecStart,
|
||||
const QAngle* pAngAngles,
|
||||
CEntityInstance* pIgnoreEntity,
|
||||
TraceOptions* pTraceOptions,
|
||||
TraceResult* pTraceResult) = 0;
|
||||
const QAngle* pAngAngles,
|
||||
CEntityInstance* pIgnoreEntity,
|
||||
TraceOptions* pTraceOptions,
|
||||
TraceResult* pTraceResult) = 0;
|
||||
|
||||
virtual bool TraceEndShape(const Vector* pVecStart,
|
||||
const Vector* pVecEnd,
|
||||
CEntityInstance* pIgnoreEntity,
|
||||
TraceOptions* pTraceOptions,
|
||||
TraceResult* pTraceResult) = 0;
|
||||
const Vector* pVecEnd,
|
||||
CEntityInstance* pIgnoreEntity,
|
||||
TraceOptions* pTraceOptions,
|
||||
TraceResult* pTraceResult) = 0;
|
||||
|
||||
virtual bool TraceHullShape(const Vector* pVecStart,
|
||||
const Vector* pVecEnd,
|
||||
const Vector* pVecMins,
|
||||
const Vector* pVecMaxs,
|
||||
CEntityInstance* pIgnoreEntity,
|
||||
TraceOptions* pTraceOptions,
|
||||
TraceResult* pTraceResult) = 0;
|
||||
const Vector* pVecEnd,
|
||||
const Vector* pVecMins,
|
||||
const Vector* pVecMaxs,
|
||||
CEntityInstance* pIgnoreEntity,
|
||||
TraceOptions* pTraceOptions,
|
||||
TraceResult* pTraceResult) = 0;
|
||||
|
||||
virtual bool TraceShapeEx(const Vector* pVecStart,
|
||||
const Vector* pVecEnd,
|
||||
CTraceFilter* pTraceFilter,
|
||||
Ray_t* pRay,
|
||||
TraceResult* pTraceResult) = 0;
|
||||
const Vector* pVecEnd,
|
||||
CTraceFilter* pTraceFilter,
|
||||
Ray_t* pRay,
|
||||
TraceResult* pTraceResult) = 0;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue