Added game by game detection to help fix certain issues with specific games

This commit is contained in:
Wizzard
2023-09-19 13:16:13 -04:00
parent a7b30ca7f8
commit c7ee48dfa6
4 changed files with 114 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
#ifndef _GAME_DETECT_H_
#define _GAME_DETECT_H_
typedef enum {
GAME_UNKNOWN = 0,
GAME_HALFLIFE,
GAME_CS16,
GAME_TFC,
GAME_DAY_OF_DEFEAT
} GameType;
GameType get_current_game(void);
int IsCS16(void);
int IsHalfLife(void);
int IsDayOfDefeat(void);
#endif