From 1a203c8eee521de027f0bb1eee1e93d8f6e17dec Mon Sep 17 00:00:00 2001 From: James Haley Date: Sun, 12 Feb 2012 04:38:40 +0000 Subject: * Correct an error in one of the beta-like Beggar internal dialogue strings (was missing a doubled space). These messages are used by only one guy in the game, and, as in vanilla, most of them don't appear correctly when output. * Correct HUD behavior: do not reinit the HUD at the start of each map. Subversion-branch: /branches/v2-branch Subversion-revision: 2503 --- src/strife/hu_stuff.c | 72 ++++++++++++++++++++++++++++----------------------- src/strife/p_dialog.c | 2 +- 2 files changed, 40 insertions(+), 34 deletions(-) (limited to 'src') diff --git a/src/strife/hu_stuff.c b/src/strife/hu_stuff.c index ab973e8d..d01b8bfa 100644 --- a/src/strife/hu_stuff.c +++ b/src/strife/hu_stuff.c @@ -226,21 +226,11 @@ void HU_Start(void) int i; char* s; - if (headsupactive) - HU_Stop(); - - plr = &players[consoleplayer]; - message_on = false; - message_dontfuckwithme = false; - message_nottobefuckedwith = false; - chat_on = false; - - // create the message widget - HUlib_initSText(&w_message, - HU_MSGX, HU_MSGY, HU_MSGHEIGHT, - hu_font, - HU_FONTSTART, &message_on); - + // haleyjd 20120211: [STRIFE] not called here. + //if (headsupactive) + // HU_Stop(); + + // haleyjd 20120211: [STRIFE] moved up // create the map title widget HUlib_initTextLine(&w_title, HU_TITLEX, HU_TITLEY, @@ -258,31 +248,47 @@ void HU_Start(void) while (*s) HUlib_addCharToTextLine(&w_title, *(s++)); - // create the chat widget - HUlib_initIText(&w_chat, - HU_INPUTX, HU_INPUTY, - hu_font, - HU_FONTSTART, &chat_on); + // haleyjd 20120211: [STRIFE] check for headsupactive + if(!headsupactive) + { + plr = &players[consoleplayer]; + message_on = false; + message_dontfuckwithme = false; + message_nottobefuckedwith = false; + chat_on = false; - // create the inputbuffer widgets - for (i=0 ; i