mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
- process escape sequences for episode and skill names
For these, colorization is a desirable feature.
This commit is contained in:
parent
077ba290a6
commit
0fa4e03db6
3 changed files with 4 additions and 3 deletions
|
@ -2019,7 +2019,7 @@ void FMapInfoParser::ParseEpisodeInfo ()
|
||||||
{
|
{
|
||||||
ParseAssign();
|
ParseAssign();
|
||||||
sc.MustGetString ();
|
sc.MustGetString ();
|
||||||
name = sc.String;
|
name = strbin1(sc.String);
|
||||||
}
|
}
|
||||||
else if (sc.Compare ("picname"))
|
else if (sc.Compare ("picname"))
|
||||||
{
|
{
|
||||||
|
|
|
@ -214,7 +214,7 @@ void FMapInfoParser::ParseSkill ()
|
||||||
{
|
{
|
||||||
ParseAssign();
|
ParseAssign();
|
||||||
sc.MustGetString ();
|
sc.MustGetString ();
|
||||||
skill.MenuName = sc.String;
|
skill.MenuName = strbin1(sc.String);
|
||||||
}
|
}
|
||||||
else if (sc.Compare("PlayerClassName"))
|
else if (sc.Compare("PlayerClassName"))
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#include "r_defs.h"
|
#include "r_defs.h"
|
||||||
#include "p_setup.h"
|
#include "p_setup.h"
|
||||||
#include "gi.h"
|
#include "gi.h"
|
||||||
|
#include "cmdlib.h"
|
||||||
|
|
||||||
FName MakeEndPic(const char *string);
|
FName MakeEndPic(const char *string);
|
||||||
|
|
||||||
|
@ -231,7 +232,7 @@ static int ParseStandardProperty(FScanner &scanner, UMapEntry *mape)
|
||||||
// add the given episode
|
// add the given episode
|
||||||
FEpisode epi;
|
FEpisode epi;
|
||||||
|
|
||||||
epi.mEpisodeName = split[1];
|
epi.mEpisodeName = strbin1(split[1]);
|
||||||
epi.mEpisodeMap = mape->MapName;
|
epi.mEpisodeMap = mape->MapName;
|
||||||
epi.mPicName = split[0];
|
epi.mPicName = split[0];
|
||||||
epi.mShortcut = split[2][0];
|
epi.mShortcut = split[2][0];
|
||||||
|
|
Loading…
Reference in a new issue