mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Include missing header. Remove duplicate structs definitions.
This commit is contained in:
parent
a8b188e1d5
commit
9e262a0e14
@ -36,7 +36,7 @@
|
||||
// PM_PlayerTrace results.
|
||||
#include "pmtrace.h"
|
||||
|
||||
|
||||
#include "com_model.h"
|
||||
#include "usercmd.h"
|
||||
|
||||
// physent_t
|
||||
@ -218,4 +218,4 @@ typedef struct playermove_s
|
||||
struct pmtrace_s *(*PM_TraceLineEx)( float *start, float *end, int flags, int usehulll, int (*pfnIgnore)( physent_t *pe ));
|
||||
struct msurface_s *(*PM_TraceSurface)( int ground, float *vstart, float *vend );
|
||||
} playermove_t;
|
||||
#endif//PM_DEFS_H
|
||||
#endif//PM_DEFS_H
|
||||
|
@ -38,41 +38,8 @@ static int pm_shared_initialized = 0;
|
||||
|
||||
#pragma warning( disable : 4305 )
|
||||
|
||||
typedef enum
|
||||
{
|
||||
mod_brush,
|
||||
mod_sprite,
|
||||
mod_alias,
|
||||
mod_studio
|
||||
}modtype_t;
|
||||
|
||||
playermove_t *pmove = NULL;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int planenum;
|
||||
short children[2]; // negative numbers are contents
|
||||
}dclipnode_t;
|
||||
|
||||
typedef struct mplane_s
|
||||
{
|
||||
vec3_t normal; // surface normal
|
||||
float dist; // closest appoach to origin
|
||||
byte type; // for texture axis selection and fast side tests
|
||||
byte signbits; // signx + signy<<1 + signz<<1
|
||||
byte pad[2];
|
||||
}mplane_t;
|
||||
|
||||
typedef struct hull_s
|
||||
{
|
||||
dclipnode_t *clipnodes;
|
||||
mplane_t *planes;
|
||||
int firstclipnode;
|
||||
int lastclipnode;
|
||||
vec3_t clip_mins;
|
||||
vec3_t clip_maxs;
|
||||
} hull_t;
|
||||
|
||||
// Ducking time
|
||||
#define TIME_TO_DUCK 0.4
|
||||
#define VEC_DUCK_HULL_MIN -18
|
||||
|
Loading…
Reference in New Issue
Block a user