(8015dd67d) Show a language selection prompt when launching the game for the first time (WIP)

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:41:09 +03:00
parent 3c11bc2fca
commit 79d01822d2
84 changed files with 1843 additions and 1773 deletions
@@ -550,6 +550,25 @@ namespace Barotrauma
}
}
public string DisplayName
{
get;
private set;
}
private string roomName;
[Editable, Serialize("", true, translationTextTag: "RoomName.")]
public string RoomName
{
get { return roomName; }
set
{
if (roomName == value) { return; }
roomName = value;
DisplayName = TextManager.Get(roomName, returnNull: true) ?? roomName;
}
}
public override Rectangle Rect
{
get