mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- added new PRINTNAME_ constants for retrieving next and secret next level.
This commit is contained in:
parent
85488f2f30
commit
0d575a20cc
1 changed files with 18 additions and 0 deletions
|
@ -6145,6 +6145,8 @@ enum
|
||||||
PRINTNAME_LEVELNAME = -1,
|
PRINTNAME_LEVELNAME = -1,
|
||||||
PRINTNAME_LEVEL = -2,
|
PRINTNAME_LEVEL = -2,
|
||||||
PRINTNAME_SKILL = -3,
|
PRINTNAME_SKILL = -3,
|
||||||
|
PRINTNAME_NEXTLEVEL = -4,
|
||||||
|
PRINTNAME_NEXTSECRET = -5,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -7888,6 +7890,22 @@ scriptwait:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case PRINTNAME_NEXTLEVEL:
|
||||||
|
{
|
||||||
|
FString uppername = level.NextMap;
|
||||||
|
uppername.ToUpper();
|
||||||
|
work += uppername;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
case PRINTNAME_NEXTSECRET:
|
||||||
|
{
|
||||||
|
FString uppername = level.NextSecretMap;
|
||||||
|
uppername.ToUpper();
|
||||||
|
work += uppername;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case PRINTNAME_SKILL:
|
case PRINTNAME_SKILL:
|
||||||
work += G_SkillName();
|
work += G_SkillName();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue