ref: 7b1aff6c464f28e7d5f8b10fd33b15f5d15122a6
parent: ef586e36e0a871bd1cc9222148a47605d1b554a5
author: James Haley <[email protected]>
date: Sun Sep 18 20:15:06 EDT 2011
The current Chocolate Strife code emulates v1.2, not 1.31. 1.31 support is still a TODO and cannot be pursued without resolution of the keybinding issue for the menu system. Subversion-branch: /branches/v2-branch Subversion-revision: 2386
--- a/src/d_mode.c
+++ b/src/d_mode.c
@@ -132,7 +132,7 @@
{ doom, exe_final },
{ heretic, exe_heretic_1_3 },
{ hexen, exe_hexen_1_1 },
- { strife, exe_strife_1_31 },
+ { strife, exe_strife_1_2 },
};
boolean D_ValidGameVersion(GameMission_t mission, GameVersion_t version)
--- a/src/d_mode.h
+++ b/src/d_mode.h
@@ -72,7 +72,7 @@
exe_heretic_1_3, // Heretic 1.3
exe_hexen_1_1, // Hexen 1.1
- exe_strife_1_31, // Strife v1.31
+ exe_strife_1_2, // Strife v1.2
} GameVersion_t;
// Skill level.
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -759,7 +759,7 @@
// strife1.wad:
" "
- "STRIFE: Quest for the Sigil v1.31"
+ "STRIFE: Quest for the Sigil v1.2"
" "
};
@@ -1012,7 +1012,7 @@
char *cmdline;
GameVersion_t version;
} gameversions[] = {
- {"Strife 1.31", "1.31", exe_strife_1_31},
+ {"Strife 1.2", "1.2", exe_strife_1_2},
{ NULL, NULL, 0},
};
@@ -1024,14 +1024,15 @@
int i;
// This is mostly redundant for now, as we only support
- // Strife v1.31. But perhaps in the future we might decide
+ // Strife v1.2. But perhaps in the future we might decide
// to support older versions ...
+ // - haleyjd: the current code emulates v1.2. 1.31 support is the TODO.
//!
// @arg <version>
// @category compat
//
- // Emulate a specific version of Doom. Valid values are "1.31".
+ // Emulate a specific version of Doom. Valid values are "1.2".
//
p = M_CheckParmWithArgs("-gameversion", 1);
@@ -1062,7 +1063,7 @@
}
else
{
- gameversion = exe_strife_1_31;
+ gameversion = exe_strife_1_2;
}
}
--- a/src/strife/doomstat.c
+++ b/src/strife/doomstat.c
@@ -32,7 +32,7 @@
// Game Mode - identify IWAD as shareware, retail etc.
GameMode_t gamemode = indetermined;
GameMission_t gamemission = doom;
-GameVersion_t gameversion = exe_strife_1_31;
+GameVersion_t gameversion = exe_strife_1_2;
char *gamedescription;
// Set if homebrew PWAD stuff has been added.