Add support for Space-Life

This commit is contained in:
2024-01-23 01:45:59 -05:00
parent 184e52dcbc
commit e53e7c5d37
4 changed files with 18 additions and 2 deletions

View File

@@ -7,7 +7,8 @@ typedef enum {
GAME_CS16,
GAME_TFC,
GAME_DAY_OF_DEFEAT,
GAME_DMC
GAME_DMC,
GAME_SL
} GameType;
GameType get_current_game(void);
@@ -16,5 +17,6 @@ int IsHalfLife(void);
int IsDayOfDefeat(void);
int IsTFC(void);
int IsDeathmatchClassic(void);
int IsSpaceLife(void);
#endif

View File

@@ -9,6 +9,7 @@ enum game_id {
CS = 1, /* Counter-Strike 1.6 */
TF = 2, /* Team Fortress Classic */
DOD = 3, /* Day of Defeat */
SL = 4, /* Space Life: Finleys Revenge */
};
/*----------------------------------------------------------------------------*/