|
|
|
//========= Copyright (c) 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, // glock
|
|
|
|
BULLET_PLAYER_MP5, // mp5
|
|
|
|
BULLET_PLAYER_357, // python
|
|
|
|
BULLET_PLAYER_BUCKSHOT, // shotgun
|
|
|
|
BULLET_PLAYER_CROWBAR, // crowbar swipe
|
|
|
|
|
|
|
|
BULLET_MONSTER_9MM,
|
|
|
|
BULLET_MONSTER_MP5,
|
|
|
|
BULLET_MONSTER_12MM
|
|
|
|
}Bullet;
|
|
|
|
|
|
|
|
void EV_HLDM_GunshotDecalTrace( pmtrace_t *pTrace, char *decalName );
|
|
|
|
void EV_HLDM_DecalGunshot( pmtrace_t *pTrace, int iBulletType );
|
|
|
|
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 flDistance, int iBulletType, int iTracerFreq, int *tracerCount, float flSpreadX, float flSpreadY );
|
|
|
|
#endif // EV_HLDMH
|