ref: b536405fe9e5faac12472b2629707ceb87bfe088
parent: 17c10da2f3bbcdbfd8d1b45204a5748434456833
author: Simon Howard <[email protected]>
date: Sat Aug 10 17:45:48 EDT 2013
Tweak Strife documentation comments. Subversion-branch: /branches/v2-branch Subversion-revision: 2612
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1398,14 +1398,18 @@
nomonsters = M_CheckParm ("-nomonsters");
//!
- // Sets Rogue playtesting mode (godmode, noclip toggled by backspace)
+ // @vanilla
//
+ // Set Rogue playtesting mode (godmode, noclip toggled by backspace)
+ //
workparm = M_CheckParm ("-work");
//!
- // Attemps to flip player gun sprites, but is broken.
+ // @vanilla
//
+ // Flip player gun sprites (broken).
+ //
flipparm = M_CheckParm ("-flip");
@@ -1412,7 +1416,7 @@
//!
// @vanilla
//
- // Monsters respawn after being killed.
+ // Respawn monsters after they are killed.
//
respawnparm = M_CheckParm ("-respawn");
--- a/src/strife/d_net.c
+++ b/src/strife/d_net.c
@@ -165,8 +165,8 @@
settings->respawn_monsters = respawnparm;
settings->timelimit = timelimit;
- settings->lowres_turn = M_CheckParm("-record") > 0
- && M_CheckParm("-longtics") == 0;
+ settings->lowres_turn = M_ParmExists("-record")
+ && !M_ParmExists("-longtics");
}
static void InitConnectData(net_connect_data_t *connect_data)
--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -2347,8 +2347,7 @@
// Play back a demo recorded in a netgame with a single player.
//
- if (playeringame[1] || M_CheckParm("-solo-net") > 0
- || M_CheckParm("-netdemo") > 0)
+ if (playeringame[1] || M_ParmExists("-solo-net"))
{
netgame = true;
netdemo = true;
@@ -2379,7 +2378,7 @@
// Disable rendering the screen entirely.
//
- nodrawers = M_CheckParm ("-nodraw");
+ nodrawers = M_ParmExists("-nodraw");
timingdemo = true;
singletics = true;