mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- add level names to title bar (and by proxy, to RPC)
This commit is contained in:
parent
4be214e33d
commit
735740e453
6 changed files with 15 additions and 2 deletions
|
@ -1675,6 +1675,14 @@ void InitBuildTiles()
|
|||
|
||||
static FString LevelName;
|
||||
|
||||
void TITLE_InformName(const char* newname)
|
||||
{
|
||||
LevelName = newname;
|
||||
if (newname[0] == '$')
|
||||
LevelName = GStrings(newname + 1);
|
||||
I_UpdateWindowTitle();
|
||||
}
|
||||
|
||||
void I_UpdateWindowTitle()
|
||||
{
|
||||
FString titlestr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue