Additions to hlsdk_const and cstrike_const (#573)
* Additions to hlsdk_const Added values to hlsdk_const using regamedll_cs and reapi as reference. * Update cstrike_const.inc * Prefix constants with CS_ to avoid name collision and for consistency
This commit is contained in:
committed by
Vincent Herbet
parent
dfbeec069c
commit
c3225afda1
@ -488,3 +488,34 @@ enum CsAmmoCostType
|
||||
CS_AMMO_9MM_PRICE = 20,
|
||||
CS_AMMO_BUCKSHOT_PRICE = 65
|
||||
};
|
||||
|
||||
/**
|
||||
* Weapon state for use with m_iWeaponState.
|
||||
*/
|
||||
#define CS_WPNSTATE_USP_SILENCED (1<<0)
|
||||
#define CS_WPNSTATE_GLOCK18_BURST_MODE (1<<1)
|
||||
#define CS_WPNSTATE_M4A1_SILENCED (1<<2)
|
||||
#define CS_WPNSTATE_ELITE_LEFT (1<<3)
|
||||
#define CS_WPNSTATE_FAMAS_BURST_MODE (1<<4)
|
||||
#define CS_WPNSTATE_SHIELD_DRAWN (1<<5)
|
||||
|
||||
/**
|
||||
* Internal commands, for use with m_flLastCommandTime.
|
||||
*/
|
||||
#define CS_CMD_SAY 0
|
||||
#define CS_CMD_SAYTEAM 1
|
||||
#define CS_CMD_FULLUPDATE 2
|
||||
#define CS_CMD_VOTE 3
|
||||
#define CS_CMD_VOTEMAP 4
|
||||
#define CS_CMD_LISTMAPS 5
|
||||
#define CS_CMD_LISTPLAYERS 6
|
||||
#define CS_CMD_NIGHTVISION 7
|
||||
|
||||
/**
|
||||
* Signal state for use with m_signals.
|
||||
*/
|
||||
#define CS_SIGNAL_BUY (1<<0)
|
||||
#define CS_SIGNAL_BOMB (1<<1)
|
||||
#define CS_SIGNAL_RESCUE (1<<2)
|
||||
#define CS_SIGNAL_ESCAPE (1<<3)
|
||||
#define CS_SIGNAL_VIPSAFETY (1<<4)
|
||||
|
Reference in New Issue
Block a user