CEngineTrace adjustments @r-ex

This commit is contained in:
Marvin D 2022-10-23 23:47:27 +02:00
parent 6a91e3c7e8
commit b689a2f618
2 changed files with 9 additions and 3 deletions

View File

@ -12,7 +12,7 @@ void CEngineTrace_Attach()
}
void CEngineTrace_Dettach()
void CEngineTrace_Detach()
{
}

View File

@ -34,17 +34,23 @@ struct Ray_t
struct csurface_t
{
const char* name;
int surfaceProp;
short surfaceProp;
uint16_t flags;
};
struct cplanetrace_t
{
Vector3D normal;
float dist;
};
struct trace_t
{
Vector3D start;
float unk1;
Vector3D endpos;
float unk2;
cplane_t plane;
cplanetrace_t plane;
float fraction;
int contents;
bool allsolid;