diff options
-rw-r--r-- | src/d_iwad.c | 1 | ||||
-rw-r--r-- | src/d_mode.c | 3 | ||||
-rw-r--r-- | src/d_mode.h | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/src/d_iwad.c b/src/d_iwad.c index 59760adb..429ab129 100644 --- a/src/d_iwad.c +++ b/src/d_iwad.c @@ -50,6 +50,7 @@ static iwad_t iwads[] = { "heretic.wad", heretic, retail, "Heretic" }, { "heretic1.wad", heretic, shareware, "Heretic Shareware" }, { "hexen.wad", hexen, commercial, "Hexen" }, + { "strife1.wad", strife, commercial, "Strife" }, }; // Array of locations to search for IWAD files diff --git a/src/d_mode.c b/src/d_mode.c index 453ae4eb..4832e01b 100644 --- a/src/d_mode.c +++ b/src/d_mode.c @@ -48,6 +48,7 @@ static struct { heretic, registered, 3, 9 }, { heretic, retail, 5, 9 }, { hexen, commercial, 1, 40 }, + { strife, commercial, 1, 34 }, }; // Check that a gamemode+gamemission received over the network is valid. @@ -131,6 +132,7 @@ static struct { { doom, exe_final }, { heretic, exe_heretic_1_3 }, { hexen, exe_hexen_1_1 }, + { strife, exe_strife_1_31 }, }; boolean D_ValidGameVersion(GameMission_t mission, GameVersion_t version) @@ -171,6 +173,7 @@ boolean D_IsEpisodeMap(GameMission_t mission) case doom2: case pack_tnt: case pack_plut: + case strife: default: return false; } diff --git a/src/d_mode.h b/src/d_mode.h index f7e93562..8746b354 100644 --- a/src/d_mode.h +++ b/src/d_mode.h @@ -40,6 +40,7 @@ typedef enum pack_plut, // Final Doom: The Plutonia Experiment heretic, // Heretic hexen, // Hexen + strife, // Strife none } GameMission_t; @@ -68,7 +69,8 @@ typedef enum exe_heretic_1_3, // Heretic 1.3 - exe_hexen_1_1 // Hexen 1.1 + exe_hexen_1_1, // Hexen 1.1 + exe_strife_1_31, // Strife v1.31 } GameVersion_t; // Skill level. |