Add this_game_id global

For storing the current game we are playing
This commit is contained in:
8dcc
2023-07-28 15:43:35 +02:00
parent f924628fd9
commit de578033f2
2 changed files with 13 additions and 0 deletions

View File

@@ -4,6 +4,13 @@
#include "sdk.h"
enum game_id {
HL = 0, /* Half-Life 1 */
CS = 1, /* Counter-Strike 1.6 */
TF = 2, /* Team Fortress Classic */
DOD = 3, /* Day of Defeat */
};
/*----------------------------------------------------------------------------*/
/*
@@ -26,6 +33,8 @@
/*----------------------------------------------------------------------------*/
extern game_id this_game_id;
extern void* hw;
extern void** h_client; /* hClientDLL hander */
DECL_INTF_EXTERN(cl_enginefunc_t, engine);