Added game by game detection to help fix certain issues with specific games
This commit is contained in:
17
src/include/game_detection.h
Normal file
17
src/include/game_detection.h
Normal 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
|
||||
Reference in New Issue
Block a user