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.
30 lines
1.1 KiB
30 lines
1.1 KiB
//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ |
|
// |
|
// Purpose: |
|
// |
|
// $NoKeywords: $ |
|
//============================================================================= |
|
|
|
// eventscripts.h |
|
#pragma once |
|
#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
|
|
|