- Fixed: The map name display on the automap was incomplete.

- Added FakeInventory.Respawns DECORATe property
- Fixed: Unsetting the MF5_INCONVERSATION flag did not work when quitting the
  conversation by pressing Escape.


SVN r1442 (trunk)
This commit is contained in:
Christoph Oelckers 2009-02-23 21:55:36 +00:00
parent 613ae5e022
commit f188577bb5
4 changed files with 30 additions and 6 deletions

View file

@ -1,4 +1,10 @@
February 22, 2009 (Changes by Graf Zahl) February 23, 2009 (Changes by Graf Zahl)
- Fixed: The map name display on the automap was incomplete.
- Added FakeInventory.Respawns DECORATe property
- Fixed: Unsetting the MF5_INCONVERSATION flag did not work when quitting the
conversation by pressing Escape.
February 22, 2009 (Changes by Graf Zahl)
- added ML_BLOCKPROJECTILE flag to lines. - added ML_BLOCKPROJECTILE flag to lines.
- Fixed: With opl_onechip set the second OPL chip was never set to anything valid - Fixed: With opl_onechip set the second OPL chip was never set to anything valid
so it contained an invalid pointer. There were also a few other places that so it contained an invalid pointer. There were also a few other places that

View file

@ -1237,14 +1237,17 @@ void DBaseStatusBar::Draw (EHudState state)
} }
} }
cluster_info_t *cluster = FindClusterInfo (level.cluster); cluster_info_t *cluster = FindClusterInfo (level.cluster);
i = 0;
if (cluster == NULL || !(cluster->flags & CLUSTER_HUB)) if (cluster == NULL || !(cluster->flags & CLUSTER_HUB))
{ {
i = mysnprintf (line, countof(line), "%s: ", level.mapname); mysnprintf (line, countof(line), "%s: ", level.mapname);
}
else
{
*line = 0;
} }
FString mapname; FString mapname;
mapname.Format("%c%c%s", TEXTCOLOR_ESCAPE, CR_GREY + 'A', level.LevelName.GetChars()); mapname.Format("%s%c%c%s", line, TEXTCOLOR_ESCAPE, CR_GREY + 'A', level.LevelName.GetChars());
screen->DrawText (SmallFont, highlight, screen->DrawText (SmallFont, highlight,
(SCREENWIDTH - SmallFont->StringWidth (mapname)*CleanXfac)/2, y, mapname, (SCREENWIDTH - SmallFont->StringWidth (mapname)*CleanXfac)/2, y, mapname,
DTA_CleanNoMove, true, TAG_DONE); DTA_CleanNoMove, true, TAG_DONE);

View file

@ -1194,17 +1194,22 @@ void P_ConversationCommand (int player, BYTE **stream)
break; break;
case CONV_SETNULL: case CONV_SETNULL:
if (players[player].ConversationNPC != NULL)
{
players[player].ConversationNPC->flags5 &= ~MF5_INCONVERSATION;
}
players[player].ConversationFaceTalker = false; players[player].ConversationFaceTalker = false;
players[player].ConversationNPC = NULL; players[player].ConversationNPC = NULL;
players[player].ConversationPC = NULL; players[player].ConversationPC = NULL;
players[player].ConversationNPCAngle = 0; players[player].ConversationNPCAngle = 0;
// fall through break;
case CONV_CLOSE: case CONV_CLOSE:
if (players[player].ConversationNPC != NULL) if (players[player].ConversationNPC != NULL)
{ {
players[player].ConversationNPC->flags5 &= ~MF5_INCONVERSATION; players[player].ConversationNPC->flags5 &= ~MF5_INCONVERSATION;
} }
break;
default: default:
break; break;

View file

@ -123,6 +123,16 @@ static const char *RenderStyles[] =
// CODE -------------------------------------------------------------------- // CODE --------------------------------------------------------------------
//==========================================================================
//
//==========================================================================
DEFINE_CLASS_PROPERTY(respawns, 0, FakeInventory)
{
defaults->Respawnable = true;
}
//========================================================================== //==========================================================================
// //
// ParseOldDecoration // ParseOldDecoration