ref: 2e70023c95cb2a3d1ce01950e111ebf8c40bdcf3
parent: 68320eab22761faf76d7ed5c9f4d2ded563a3880
author: Simon Howard <[email protected]>
date: Sun Jul 12 19:37:46 EDT 2009
Add game mission/version for strife. Subversion-branch: /branches/strife-branch Subversion-revision: 1622
--- a/src/d_mode.c
+++ b/src/d_mode.c
@@ -48,6 +48,7 @@
{ 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 @@
{ 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 @@
case doom2:
case pack_tnt:
case pack_plut:
+ case strife:
default:
return false;
}
--- a/src/d_mode.h
+++ b/src/d_mode.h
@@ -40,6 +40,7 @@
pack_plut, // Final Doom: The Plutonia Experiment
heretic, // Heretic
hexen, // Hexen
+ strife, // Strife
none
} GameMission_t;
@@ -68,7 +69,8 @@
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.