mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed: Doom's episode names were not translatable.
This commit is contained in:
parent
ba13a540e4
commit
0ff703c361
6 changed files with 10 additions and 10 deletions
|
@ -464,7 +464,7 @@ void STAT_ChangeLevel(const char *newl, FLevelLocals *Level)
|
||||||
section.ToUpper();
|
section.ToUpper();
|
||||||
|
|
||||||
const char *ep_name = StartEpisode->mEpisodeName;
|
const char *ep_name = StartEpisode->mEpisodeName;
|
||||||
if (*ep_name == '$') ep_name = GStrings[ep_name+1];
|
if (*ep_name == '$') ep_name = GStrings(ep_name+1);
|
||||||
FStatistics *sl = GetStatisticsList(EpisodeStatistics, section, ep_name);
|
FStatistics *sl = GetStatisticsList(EpisodeStatistics, section, ep_name);
|
||||||
|
|
||||||
int statvals[6] = {0,0,0,0,0,0};
|
int statvals[6] = {0,0,0,0,0,0};
|
||||||
|
|
|
@ -189,7 +189,7 @@ clearepisodes
|
||||||
episode e1m1
|
episode e1m1
|
||||||
{
|
{
|
||||||
picname = "M_EPI1"
|
picname = "M_EPI1"
|
||||||
name = "Chex Quest"
|
name = "$TXT_CHEX_EP"
|
||||||
key = "k"
|
key = "k"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,28 +21,28 @@ clearepisodes
|
||||||
episode e1m1
|
episode e1m1
|
||||||
{
|
{
|
||||||
picname = "M_EPI1"
|
picname = "M_EPI1"
|
||||||
name = "Knee-Deep in the Dead"
|
name = "$TXT_D1E1"
|
||||||
key = "k"
|
key = "k"
|
||||||
}
|
}
|
||||||
|
|
||||||
episode e2m1
|
episode e2m1
|
||||||
{
|
{
|
||||||
picname = "M_EPI2"
|
picname = "M_EPI2"
|
||||||
name = "The Shores of Hell"
|
name = "$TXT_D1E2"
|
||||||
key = "t"
|
key = "t"
|
||||||
}
|
}
|
||||||
|
|
||||||
episode e3m1
|
episode e3m1
|
||||||
{
|
{
|
||||||
picname = "M_EPI3"
|
picname = "M_EPI3"
|
||||||
name = "Inferno"
|
name = "$TXT_D1E3"
|
||||||
key = "i"
|
key = "i"
|
||||||
}
|
}
|
||||||
|
|
||||||
episode e4m1
|
episode e4m1
|
||||||
{
|
{
|
||||||
picname = "M_EPI4"
|
picname = "M_EPI4"
|
||||||
name = "Thy Flesh Consumed"
|
name = "$TXT_D1E4"
|
||||||
key = "t"
|
key = "t"
|
||||||
optional
|
optional
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,13 +4,13 @@ include "mapinfo/doomcommon.txt"
|
||||||
clearepisodes
|
clearepisodes
|
||||||
episode map01
|
episode map01
|
||||||
{
|
{
|
||||||
name = "Hell On Earth"
|
name = "$TXT_D2E1"
|
||||||
key = "h"
|
key = "h"
|
||||||
}
|
}
|
||||||
|
|
||||||
episode level01
|
episode level01
|
||||||
{
|
{
|
||||||
name = "No Rest for the Living"
|
name = "$TXT_D1E2"
|
||||||
key = "n"
|
key = "n"
|
||||||
optional
|
optional
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ include "mapinfo/doomcommon.txt"
|
||||||
clearepisodes
|
clearepisodes
|
||||||
episode map01
|
episode map01
|
||||||
{
|
{
|
||||||
name = "The Plutonia Experiment"
|
name = "$TXT_PLUT_EP"
|
||||||
key = "t"
|
key = "t"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ include "mapinfo/doomcommon.txt"
|
||||||
clearepisodes
|
clearepisodes
|
||||||
episode map01
|
episode map01
|
||||||
{
|
{
|
||||||
name = "TNT: Evilution"
|
name = "$TXT_TNT_EP"
|
||||||
key = "t"
|
key = "t"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue