Add constants for stats functions (#509)

* Add constants for stats functions

* Changed STATS_ to STATSX_ and added 2 more defines

* Added constants for all games

* Add csstats_const.inc and add _MAX_ constats to enum

* Change bodyhits
This commit is contained in:
OciXCrom
2018-08-25 20:52:48 +02:00
committed by Vincent Herbet
parent 197db8c82b
commit 8aeefc3fca
10 changed files with 118 additions and 33 deletions

View File

@@ -136,3 +136,17 @@ enum {
DODC_PIAT,
//DODC_BRIT_MORTAR,
};
/* DoD stats constants */
enum {
DODX_KILLS = 0,
DODX_DEATHS,
DODX_HEADSHOTS,
DODX_TEAMKILLS,
DODX_SHOTS,
DODX_HITS,
DODX_DAMAGE,
DODX_POINTS,
DODX_RANK,
DODX_MAX_STATS
}