diff options
author | James Haley | 2013-03-02 06:35:52 +0000 |
---|---|---|
committer | James Haley | 2013-03-02 06:35:52 +0000 |
commit | 4e8d5dc97fe53f4ce110221c218f703834b3b9c2 (patch) | |
tree | 57c35c30fb64e062bbe37d8fc72fe80911b16c35 /src/strife/d_main.c | |
parent | 6a2255c70b882391931a7ef7ad9ada47a88b7c77 (diff) | |
download | chocolate-doom-4e8d5dc97fe53f4ce110221c218f703834b3b9c2.tar.gz chocolate-doom-4e8d5dc97fe53f4ce110221c218f703834b3b9c2.tar.bz2 chocolate-doom-4e8d5dc97fe53f4ce110221c218f703834b3b9c2.zip |
Complete support for v1.31 behaviors in addition to v1.2, including the
ability to save on multiple save slots.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2561
Diffstat (limited to 'src/strife/d_main.c')
-rw-r--r-- | src/strife/d_main.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/strife/d_main.c b/src/strife/d_main.c index 34d3ad30..5615709b 100644 --- a/src/strife/d_main.c +++ b/src/strife/d_main.c @@ -960,8 +960,9 @@ static struct char *cmdline; GameVersion_t version; } gameversions[] = { - {"Strife 1.2", "1.2", exe_strife_1_2}, - { NULL, NULL, 0}, + { "Strife 1.2", "1.2", exe_strife_1_2 }, + { "Strife 1.31", "1.31", exe_strife_1_31 }, + { NULL, NULL, 0 } }; // Initialize the game version @@ -971,16 +972,17 @@ static void InitGameVersion(void) int p; int i; - // This is mostly redundant for now, as we only support - // 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. + // haleyjd: we support emulating either the 1.2 or the 1.31 versions of + // Strife, which are the most significant. 1.2 is the most mature version + // that still has the single saveslot restriction, whereas 1.31 is the + // final revision. The differences between the two are barely worth + // mentioning aside from that main one. //! // @arg <version> // @category compat // - // Emulate a specific version of Doom. Valid values are "1.2". + // Emulate a specific version of Doom. Valid values are "1.2" and "1.31". // p = M_CheckParmWithArgs("-gameversion", 1); @@ -1011,7 +1013,7 @@ static void InitGameVersion(void) } else { - gameversion = exe_strife_1_2; + gameversion = exe_strife_1_31; } } |