summaryrefslogtreecommitdiff
path: root/src/strife/p_dialog.c
diff options
context:
space:
mode:
authorJames Haley2011-06-04 04:59:22 +0000
committerJames Haley2011-06-04 04:59:22 +0000
commit1271fc2557489e3ee000923c32efcb48dd640a09 (patch)
tree5468a75526f8c2182f1b940011905860fa9898e5 /src/strife/p_dialog.c
parent4755980aed7173227e876602ce78cf31bbb97118 (diff)
downloadchocolate-doom-1271fc2557489e3ee000923c32efcb48dd640a09.tar.gz
chocolate-doom-1271fc2557489e3ee000923c32efcb48dd640a09.tar.bz2
chocolate-doom-1271fc2557489e3ee000923c32efcb48dd640a09.zip
Resolved some TODOs and fixed a couple of problem spots that were
forgotten. Subversion-branch: /branches/strife-branch Subversion-revision: 2344
Diffstat (limited to 'src/strife/p_dialog.c')
-rw-r--r--src/strife/p_dialog.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/strife/p_dialog.c b/src/strife/p_dialog.c
index 01887686..88c01f16 100644
--- a/src/strife/p_dialog.c
+++ b/src/strife/p_dialog.c
@@ -2,7 +2,7 @@
//-----------------------------------------------------------------------------
//
// Copyright(C) 1993-1996 Id Software, Inc.
-// Copyright(C) 2010 James Haley, Samuel Villareal
+// Copyright(C) 2010 James Haley, Samuel Villarreal
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -99,22 +99,22 @@ static int numscript0dialogs;
// The player engaged in dialog. This is always player 1, though, since Rogue
// never completed the ability to use dialog outside of single-player mode.
-player_t *dialogplayer;
+static player_t *dialogplayer;
// The object to which the player is speaking.
-mobj_t *dialogtalker;
+static mobj_t *dialogtalker;
// The talker's current angle
-angle_t dialogtalkerangle;
+static angle_t dialogtalkerangle;
// The currently active mapdialog object.
static mapdialog_t *currentdialog;
// Text at the end of the choices
-char dialoglastmsgbuffer[48];
+static char dialoglastmsgbuffer[48];
// Item to display to player when picked up or recieved
-char pickupstring[46];
+static char pickupstring[46];
// Health based on gameskill given by the front's medic
static const int healthamounts[] = { -100 , -75, -50, -50, -100 };
@@ -1371,8 +1371,8 @@ void P_DialogStart(player_t *player)
// setup dialog menu
M_StartControlPanel();
- menupause = 0;
- menuindialog = 1;
+ menupause = false;
+ menuindialog = true;
menupausetime = gametic + 17;
currentMenu = &dialogmenu;