2
0
mirror of https://github.com/s1lentq/reapi.git synced 2024-10-16 23:37:07 +03:00

Add defines for CBasePlayer members (#195)

* Added defines for CBasePlayer members
Added defines for CBasePlayer::m_iWeaponVolume and CBasePlayer::m_iWeaponFlash from
https://github.com/s1lentq/ReGameDLL_CS/blob/master/regamedll/dlls/weapons.h#L50
This commit is contained in:
FEDERICOMB 2021-06-18 18:15:50 -03:00 committed by GitHub
parent 1156a49c7a
commit 10332fecbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1321,3 +1321,20 @@ enum InfoMapBuyParam
#define USE_ON 1
#define USE_SET 2
#define USE_TOGGLE 3
/**
* For CBasePlayer:m_iWeaponVolume
*/
#define LOUD_GUN_VOLUME 1000
#define NORMAL_GUN_VOLUME 600
#define QUIET_GUN_VOLUME 200
#define BIG_EXPLOSION_VOLUME 2048
#define NORMAL_EXPLOSION_VOLUME 1024
#define SMALL_EXPLOSION_VOLUME 512
/**
* For CBasePlayer:m_iWeaponFlash
*/
#define BRIGHT_GUN_FLASH 512
#define NORMAL_GUN_FLASH 256
#define DIM_GUN_FLASH 128