mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- externalize labels for automap statistics display to the string table.
This commit is contained in:
parent
775ecdeebb
commit
c253d40fbb
2 changed files with 11 additions and 6 deletions
|
@ -53,6 +53,7 @@
|
||||||
#include "d_player.h"
|
#include "d_player.h"
|
||||||
#include "farchive.h"
|
#include "farchive.h"
|
||||||
#include "a_hexenglobal.h"
|
#include "a_hexenglobal.h"
|
||||||
|
#include "gstrings.h"
|
||||||
|
|
||||||
#include "../version.h"
|
#include "../version.h"
|
||||||
|
|
||||||
|
@ -1375,8 +1376,8 @@ void DBaseStatusBar::Draw (EHudState state)
|
||||||
// Draw monster count
|
// Draw monster count
|
||||||
if (am_showmonsters)
|
if (am_showmonsters)
|
||||||
{
|
{
|
||||||
mysnprintf (line, countof(line), "MONSTERS:" TEXTCOLOR_GREY " %d/%d",
|
mysnprintf (line, countof(line), "%s" TEXTCOLOR_GREY " %d/%d",
|
||||||
level.killed_monsters, level.total_monsters);
|
GStrings("AM_MONSTERS"), level.killed_monsters, level.total_monsters);
|
||||||
screen->DrawText (SmallFont, highlight, 8, y, line,
|
screen->DrawText (SmallFont, highlight, 8, y, line,
|
||||||
DTA_CleanNoMove, true, TAG_DONE);
|
DTA_CleanNoMove, true, TAG_DONE);
|
||||||
y += height;
|
y += height;
|
||||||
|
@ -1385,8 +1386,8 @@ void DBaseStatusBar::Draw (EHudState state)
|
||||||
// Draw secret count
|
// Draw secret count
|
||||||
if (am_showsecrets)
|
if (am_showsecrets)
|
||||||
{
|
{
|
||||||
mysnprintf (line, countof(line), "SECRETS:" TEXTCOLOR_GREY " %d/%d",
|
mysnprintf (line, countof(line), "%s" TEXTCOLOR_GREY " %d/%d",
|
||||||
level.found_secrets, level.total_secrets);
|
GStrings("AM_SECRETS"), level.found_secrets, level.total_secrets);
|
||||||
screen->DrawText (SmallFont, highlight, 8, y, line,
|
screen->DrawText (SmallFont, highlight, 8, y, line,
|
||||||
DTA_CleanNoMove, true, TAG_DONE);
|
DTA_CleanNoMove, true, TAG_DONE);
|
||||||
y += height;
|
y += height;
|
||||||
|
@ -1395,8 +1396,8 @@ void DBaseStatusBar::Draw (EHudState state)
|
||||||
// Draw item count
|
// Draw item count
|
||||||
if (am_showitems)
|
if (am_showitems)
|
||||||
{
|
{
|
||||||
mysnprintf (line, countof(line), "ITEMS:" TEXTCOLOR_GREY " %d/%d",
|
mysnprintf (line, countof(line), "%s" TEXTCOLOR_GREY " %d/%d",
|
||||||
level.found_items, level.total_items);
|
GStrings("AM_ITEMS"), level.found_items, level.total_items);
|
||||||
screen->DrawText (SmallFont, highlight, 8, y, line,
|
screen->DrawText (SmallFont, highlight, 8, y, line,
|
||||||
DTA_CleanNoMove, true, TAG_DONE);
|
DTA_CleanNoMove, true, TAG_DONE);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1615,6 +1615,10 @@ MNU_EPISODE = "Select Episode";
|
||||||
WI_FINISHED = "finished";
|
WI_FINISHED = "finished";
|
||||||
WI_ENTERING = "Now entering:";
|
WI_ENTERING = "Now entering:";
|
||||||
|
|
||||||
|
AM_MONSTERS = "Monsters:";
|
||||||
|
AM_SECRETS = "Secrets:";
|
||||||
|
AM_ITEMS = "Items:";
|
||||||
|
|
||||||
// Bloodbath announcer
|
// Bloodbath announcer
|
||||||
|
|
||||||
BBA_BONED = "%k boned %o like a fish";
|
BBA_BONED = "%k boned %o like a fish";
|
||||||
|
|
Loading…
Reference in a new issue