2
0
mirror of https://github.com/rehlds/reapi.git synced 2024-12-28 15:45:31 +03:00

cssdk_const.inc: add ScoreAttrib constants (#214)

* cssdk_const.inc: add ScoreAttrib constants

for https://wiki.alliedmods.net/Half-Life_1_Game_Events#ScoreAttrib

* cssdk_const.inc: rename ScoreAttrib constants

* cdll_dll.h: update SCORE_STATUS_* constants
This commit is contained in:
Nord1cWarr1or 2021-10-23 13:05:16 +03:00 committed by GitHub
parent de26345d27
commit 3c9e583260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 3 deletions

View File

@ -1348,3 +1348,13 @@ enum InfoMapBuyParam
#define DEFAULT_SMALL_SNIPERS_ZOOM 40
#define DEFAULT_AUG_SG552_ZOOM 55
#define DEFAULT_NO_ZOOM 90
/**
* Scoreboard attribute constants
* For "ScoreAttrib" game event
*/
#define SCORE_STATUS_NONE 0
#define SCORE_STATUS_DEAD (1<<0)
#define SCORE_STATUS_BOMB (1<<1)
#define SCORE_STATUS_VIP (1<<2)
#define SCORE_STATUS_DEFKIT (1<<3)

View File

@ -60,9 +60,11 @@ const int DEFAULT_FOV = 90; // the default field of view
#define ITEM_STATUS_NIGHTVISION BIT(0)
#define ITEM_STATUS_DEFUSER BIT(1)
#define SCORE_STATUS_DEAD BIT(0)
#define SCORE_STATUS_BOMB BIT(1)
#define SCORE_STATUS_VIP BIT(2)
#define SCORE_STATUS_NONE 0
#define SCORE_STATUS_DEAD BIT(0)
#define SCORE_STATUS_BOMB BIT(1)
#define SCORE_STATUS_VIP BIT(2)
#define SCORE_STATUS_DEFKIT BIT(3)
// player data iuser3
#define PLAYER_CAN_SHOOT BIT(0)