45 lines
1.4 KiB
C
45 lines
1.4 KiB
C
//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================
|
|
#pragma once
|
|
#if !defined ( EV_HLDMH )
|
|
#define EV_HLDMH
|
|
|
|
// bullet types
|
|
typedef enum
|
|
{
|
|
BULLET_NONE = 0,
|
|
BULLET_PLAYER_9MM,
|
|
BULLET_PLAYER_MP5,
|
|
BULLET_PLAYER_357,
|
|
BULLET_PLAYER_BUCKSHOT,
|
|
BULLET_PLAYER_CROWBAR,
|
|
|
|
BULLET_MONSTER_9MM,
|
|
BULLET_MONSTER_MP5,
|
|
BULLET_MONSTER_12MM,
|
|
|
|
BULLET_PLAYER_45ACP,
|
|
BULLET_PLAYER_338MAG,
|
|
BULLET_PLAYER_762MM,
|
|
BULLET_PLAYER_556MM,
|
|
BULLET_PLAYER_50AE,
|
|
BULLET_PLAYER_57MM,
|
|
BULLET_PLAYER_357SIG
|
|
}
|
|
Bullet;
|
|
|
|
void EV_HLDM_GunshotDecalTrace(pmtrace_t *pTrace, char *decalName , char chTextureType);
|
|
void EV_HLDM_DecalGunshot(pmtrace_t *pTrace, int iBulletType, float scale, int r, int g, int b, bool bCreateSparks, char cTextureType);
|
|
int EV_HLDM_CheckTracer( int idx, float *vecSrc, float *end, float *forward, float *right, int iBulletType, int iTracerFreq, int *tracerCount );
|
|
void EV_HLDM_FireBullets(int idx,
|
|
float *forward, float *right, float *up,
|
|
int cShots,
|
|
float *vecSrc, float *vecDirShooting, float *vecSpread,
|
|
float flDistance, int iBulletType, int iTracerFreq, int *tracerCount, int iPenetration);
|
|
void EV_CS16Client_KillEveryRound( struct tempent_s *te, float frametime, float currenttime );
|
|
#endif // EV_HLDMH
|