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.
31 lines
1.0 KiB
31 lines
1.0 KiB
//========= 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
|
|
|