Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
//========= Copyright <EFBFBD> 1996-2002, Valve LLC, All rights reserved. ============
|
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
|
|
// eventscripts.h
|
|
|
|
|
#if !defined ( EVENTSCRIPTSH )
|
|
|
|
|
#define EVENTSCRIPTSH
|
|
|
|
|
|
|
|
|
|
// defaults for clientinfo messages
|
|
|
|
|
#define DEFAULT_VIEWHEIGHT 28
|
|
|
|
|
#define VEC_DUCK_VIEW 12
|
|
|
|
|
|
|
|
|
|
#define FTENT_FADEOUT 0x00000080
|
|
|
|
|
|
|
|
|
|
// Some of these are HL/TFC specific?
|
|
|
|
|
void EV_EjectBrass( float *origin, float *velocity, float rotation, int model, int soundtype );
|
|
|
|
|
void EV_GetGunPosition( struct event_args_s *args, float *pos, float *origin );
|
|
|
|
|
void EV_GetDefaultShellInfo( struct event_args_s *args, float *origin, float *velocity, float *ShellVelocity, float *ShellOrigin, float *forward, float *right, float *up, float forwardScale, float upScale, float rightScale );
|
|
|
|
|
qboolean EV_IsLocal( int idx );
|
|
|
|
|
qboolean EV_IsPlayer( int idx );
|
|
|
|
|
void EV_CreateTracer( float *start, float *end );
|
|
|
|
|
|
|
|
|
|
struct cl_entity_s *GetEntity( int idx );
|
|
|
|
|
struct cl_entity_s *GetViewEntity( void );
|
|
|
|
|
void EV_MuzzleFlash( void );
|
|
|
|
|
#endif // EVENTSCRIPTSH
|