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 struct csurface_t
{ {
const char* name; const char* name;
int surfaceProp; short surfaceProp;
uint16_t flags; uint16_t flags;
}; };
struct cplanetrace_t
{
Vector3D normal;
float dist;
};
struct trace_t struct trace_t
{ {
Vector3D start; Vector3D start;
float unk1; float unk1;
Vector3D endpos; Vector3D endpos;
float unk2; float unk2;
cplane_t plane; cplanetrace_t plane;
float fraction; float fraction;
int contents; int contents;
bool allsolid; bool allsolid;