shithub: choc

Download patch

ref: e33e44276d9fc605d0c5096d4ec85e423e8eec8a
parent: b536405fe9e5faac12472b2629707ceb87bfe088
author: Simon Howard <[email protected]>
date: Sat Aug 10 19:27:52 EDT 2013

Fix Strife documentation comments. Remove -episode which does not exist
in Vanilla Strife.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2613

--- a/src/m_config.c
+++ b/src/m_config.c
@@ -1672,8 +1672,8 @@
     // @arg <file>
     // @vanilla
     //
-    // Load configuration from the specified file.  The default 
-    // configuration file (for Doom) is named default.cfg.
+    // Load main configuration from the specified file, instead of the
+    // default.
     //
 
     i = M_CheckParmWithArgs("-config", 1);
@@ -1695,8 +1695,8 @@
     //!
     // @arg <file>
     //
-    // Load extra configuration from the specified file.  The default
-    // configuration file for Doom is named chocolate-doom.cfg.
+    // Load additional configuration from the specified file, instead of
+    // the default.
     //
 
     i = M_CheckParmWithArgs("-extraconfig", 1);
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -977,11 +977,11 @@
     // 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" and "1.31".
+    // Emulate a specific version of Strife. Valid values are "1.2" and "1.31".
     //
 
     p = M_CheckParmWithArgs("-gameversion", 1);
@@ -1296,11 +1296,10 @@
 
     // haleyjd 20110206: Moved up -devparm for max visibility
 
-    //! 
+    //!
     // @vanilla
     //
-    // Developer mode.  F1 saves a screenshot in the current working
-    // directory.
+    // Developer mode. Implies -nograph.
     //
 
     devparm = M_CheckParm ("-devparm");
@@ -1461,7 +1460,7 @@
     // @platform windows
     // @vanilla
     //
-    // Save configuration data and savegames in c:\doomdata,
+    // Save configuration data and savegames in c:\strife.cd,
     // allowing play from CD.
     //
 
@@ -1690,21 +1689,22 @@
         autostart = true;
     }
 
-    //!
-    // @arg <n>
-    // @vanilla
+    // [STRIFE] no such thing in Strife
     //
-    // Start playing on episode n (1-4)
-    //
+    // // @arg <n>
+    // // @vanilla
+    // //
+    // // Start playing on episode n (1-4)
+    // //
 
-    p = M_CheckParmWithArgs("-episode", 1);
+    // p = M_CheckParmWithArgs("-episode", 1);
 
-    if (p)
-    {
-        startepisode = myargv[p+1][0]-'0';
-        startmap = 1;
-        autostart = true;
-    }
+    // if (p)
+    // {
+    //     startepisode = myargv[p+1][0]-'0';
+    //     startmap = 1;
+    //     autostart = true;
+    // }
 
     timelimit = 0;
 
@@ -1739,11 +1739,10 @@
     }
 
     //!
-    // @arg [<x> <y> | <xy>]
+    // @arg x
     // @vanilla
     //
-    // Start a game immediately, warping to ExMy (Doom 1) or MAPxy
-    // (Doom 2)
+    // Start a game immediately, warping to level x.
     //
 
     p = M_CheckParmWithArgs("-warp", 1);
@@ -1843,10 +1842,19 @@
     // haleyjd 20110220: This stuff was done in I_StartupSound in vanilla, but 
     // we'll do it here instead so we don't have to modify the low-level shared
     // code with Strife-specific stuff.
+
+    //!
+    // @vanilla
+    //
+    // Disable voice dialog and show dialog as text instead,
+    // even if voices.wad can be found.
+    //
+
     if(disable_voices || M_CheckParm("-novoice"))
     {
         dialogshowtext = disable_voices = 1;
     }
+
     if(devparm)
         DEH_printf("  Play voices = %d\n", disable_voices == 0);
 
--- a/src/strife/p_spec.c
+++ b/src/strife/p_spec.c
@@ -1708,7 +1708,7 @@
         //
         // Use the specified magic values when emulating behavior caused
         // by memory overruns from improperly constructed donuts.
-        // In Vanilla Doom this can differ depending on the operating
+        // In Vanilla Strife this can differ depending on the operating
         // system.  The default (if this option is not specified) is to
         // emulate the behavior when running under Windows 98.