- Added MF5_CANTSEEK flag to prevent seeker missiles from homing in on
certain actors and added an option to APowerInvisibility to set this flag when active. - Added map specific automap backgrounds. - Fixed: Voodoo dolls did not play a sound when dying. - Added colorized error messages to DECORATE and made a few more error conditions that do not block further parsing not immediately abort. - Made all errors in CreateNewActor not immediately fatal so that the rest of the DECORATE lump can be parsed normally to look for more errors. - Fixed: Defining classes with the same name as their immediate base class was legal. It should not be allowed that a class has another one with the same name in its ancestry. - Fixed: Formatting of the intermission screen on Heretic, Hexen and Strife was broken. Changed it to use WI_Drawpercent which does it properly and also allows showing percentage in these games now. - Fixed: The MAPINFO parser ignored missing terminating braces of the last block in the file. SVN r1425 (trunk)
This commit is contained in:
parent
0acc6a4ee3
commit
666e40c8bb
23 changed files with 474 additions and 345 deletions
|
|
@ -1807,25 +1807,18 @@ void WI_drawStats (void)
|
|||
screen->DrawText (BigFont, CR_UNTRANSLATED, 50, 90, "ITEMS", DTA_Clean, true, DTA_Shadow, true, TAG_DONE);
|
||||
screen->DrawText (BigFont, CR_UNTRANSLATED, 50, 115, "SECRETS", DTA_Clean, true, DTA_Shadow, true, TAG_DONE);
|
||||
|
||||
int slashpos = gameinfo.gametype==GAME_Strife? 235:237;
|
||||
int countpos = gameinfo.gametype==GAME_Strife? 185:200;
|
||||
int countpos = gameinfo.gametype==GAME_Strife? 285:270;
|
||||
if (sp_state >= 2)
|
||||
{
|
||||
WI_drawNum (IntermissionFont, countpos, 65, cnt_kills[0], 3, false);
|
||||
WI_DrawCharPatch (IntermissionFont, '/', slashpos, 65);
|
||||
WI_drawNum (IntermissionFont, 248, 65, wbs->maxkills, 3, false);
|
||||
WI_drawPercent (IntermissionFont, countpos, 65, cnt_kills[0], wbs->maxkills);
|
||||
}
|
||||
if (sp_state >= 4)
|
||||
{
|
||||
WI_drawNum (IntermissionFont, countpos, 90, cnt_items[0], 3, false);
|
||||
WI_DrawCharPatch (IntermissionFont, '/', slashpos, 90);
|
||||
WI_drawNum (IntermissionFont, 248, 90, wbs->maxitems, 3, false);
|
||||
WI_drawPercent (IntermissionFont, countpos, 90, cnt_items[0], wbs->maxitems);
|
||||
}
|
||||
if (sp_state >= 6)
|
||||
{
|
||||
WI_drawNum (IntermissionFont, countpos, 115, cnt_secret[0], 3, false);
|
||||
WI_DrawCharPatch (IntermissionFont, '/', slashpos, 115);
|
||||
WI_drawNum (IntermissionFont, 248, 115, wbs->maxsecret, 3, false);
|
||||
WI_drawPercent (IntermissionFont, countpos, 115, cnt_secret[0], wbs->maxsecret);
|
||||
}
|
||||
if (sp_state >= 8)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue