mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-25 13:41:45 +00:00
Elder:
Minor changes to get cgame to compile as VMs
This commit is contained in:
parent
4059b9692f
commit
8d08ea4b10
3 changed files with 10 additions and 4 deletions
|
@ -1408,8 +1408,11 @@ sfxHandle_t CG_CustomSound( int clientNum, const char *soundName );
|
|||
//
|
||||
void CG_BuildSolidList( void );
|
||||
int CG_PointContents( const vec3_t point, int passEntityNum );
|
||||
void CG_Trace( trace_t *result, const vec3_t start, vec3_t mins, vec3_t maxs, const vec3_t end,
|
||||
//Elder: try this
|
||||
void CG_Trace( trace_t *result, const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end,
|
||||
int skipNumber, int mask );
|
||||
//void CG_Trace( trace_t *result, const vec3_t start, vec3_t mins, vec3_t maxs, const vec3_t end,
|
||||
//int skipNumber, int mask );
|
||||
void CG_PredictPlayerState( void );
|
||||
void CG_LoadDeferredPlayers( void );
|
||||
|
||||
|
@ -1638,7 +1641,7 @@ clipHandle_t trap_CM_TempBoxModel( const vec3_t mins, const vec3_t maxs );
|
|||
int trap_CM_PointContents( const vec3_t p, clipHandle_t model );
|
||||
int trap_CM_TransformedPointContents( const vec3_t p, clipHandle_t model, const vec3_t origin, const vec3_t angles );
|
||||
void trap_CM_BoxTrace( trace_t *results, const vec3_t start, const vec3_t end,
|
||||
vec3_t mins, vec3_t maxs,
|
||||
const vec3_t mins, const vec3_t maxs,
|
||||
clipHandle_t model, int brushmask );
|
||||
void trap_CM_TransformedBoxTrace( trace_t *results, const vec3_t start, const vec3_t end,
|
||||
const vec3_t mins, const vec3_t maxs,
|
||||
|
|
|
@ -120,9 +120,12 @@ static void CG_ClipMoveToEntities ( const vec3_t start, const vec3_t mins, const
|
|||
/*
|
||||
================
|
||||
CG_Trace
|
||||
|
||||
Elder: changed header - added 'const' to mins and maxs so VMs can compile
|
||||
Also check cg_syscalls.c and cg_local.h
|
||||
================
|
||||
*/
|
||||
void CG_Trace( trace_t *result, const vec3_t start, vec3_t mins, vec3_t maxs, const vec3_t end,
|
||||
void CG_Trace( trace_t *result, const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end,
|
||||
int skipNumber, int mask ) {
|
||||
trace_t t;
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ int trap_CM_TransformedPointContents( const vec3_t p, clipHandle_t model, const
|
|||
}
|
||||
|
||||
void trap_CM_BoxTrace( trace_t *results, const vec3_t start, const vec3_t end,
|
||||
vec3_t mins, vec3_t maxs,
|
||||
const vec3_t mins, const vec3_t maxs,
|
||||
clipHandle_t model, int brushmask ) {
|
||||
syscall( CG_CM_BOXTRACE, results, start, end, mins, maxs, model, brushmask );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue