From 1271fc2557489e3ee000923c32efcb48dd640a09 Mon Sep 17 00:00:00 2001 From: James Haley Date: Sat, 4 Jun 2011 04:59:22 +0000 Subject: Resolved some TODOs and fixed a couple of problem spots that were forgotten. Subversion-branch: /branches/strife-branch Subversion-revision: 2344 --- src/strife/p_dialog.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/strife/p_dialog.c') 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; -- cgit v1.2.3