diff options
author | Simon Howard | 2013-08-10 21:45:48 +0000 |
---|---|---|
committer | Simon Howard | 2013-08-10 21:45:48 +0000 |
commit | b536405fe9e5faac12472b2629707ceb87bfe088 (patch) | |
tree | 573d436e6fa0df4a9320fc87d9f860d4b205137f /src/strife | |
parent | 17c10da2f3bbcdbfd8d1b45204a5748434456833 (diff) | |
download | chocolate-doom-b536405fe9e5faac12472b2629707ceb87bfe088.tar.gz chocolate-doom-b536405fe9e5faac12472b2629707ceb87bfe088.tar.bz2 chocolate-doom-b536405fe9e5faac12472b2629707ceb87bfe088.zip |
Tweak Strife documentation comments.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2612
Diffstat (limited to 'src/strife')
-rw-r--r-- | src/strife/d_main.c | 10 | ||||
-rw-r--r-- | src/strife/d_net.c | 4 | ||||
-rw-r--r-- | src/strife/g_game.c | 5 |
3 files changed, 11 insertions, 8 deletions
diff --git a/src/strife/d_main.c b/src/strife/d_main.c index ce7a2642..9e27a47d 100644 --- a/src/strife/d_main.c +++ b/src/strife/d_main.c @@ -1398,13 +1398,17 @@ void D_DoomMain (void) 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 @@ void D_DoomMain (void) //! // @vanilla // - // Monsters respawn after being killed. + // Respawn monsters after they are killed. // respawnparm = M_CheckParm ("-respawn"); diff --git a/src/strife/d_net.c b/src/strife/d_net.c index 002298bd..ab9d7e12 100644 --- a/src/strife/d_net.c +++ b/src/strife/d_net.c @@ -165,8 +165,8 @@ static void SaveGameSettings(net_gamesettings_t *settings) 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) diff --git a/src/strife/g_game.c b/src/strife/g_game.c index e295b858..87fb74ac 100644 --- a/src/strife/g_game.c +++ b/src/strife/g_game.c @@ -2347,8 +2347,7 @@ void G_DoPlayDemo (void) // 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 @@ void G_TimeDemo (char* name) // Disable rendering the screen entirely. // - nodrawers = M_CheckParm ("-nodraw"); + nodrawers = M_ParmExists("-nodraw"); timingdemo = true; singletics = true; |