Further separation of client-specific code

Still not done here, just gonna push a commit now so I can pull this from elsewhere.
This commit is contained in:
juanjp600
2017-06-16 16:02:07 -03:00
parent e4a878113f
commit 7168a534ed
64 changed files with 3733 additions and 2954 deletions
@@ -54,6 +54,12 @@ namespace Barotrauma
get { return serverMessage; }
}
public string ServerMessageText
{
get { return serverMessage.Text; }
set { serverMessage.Text = value; }
}
public GUIListBox SubList
{
get { return subList; }
@@ -68,6 +74,11 @@ namespace Barotrauma
{
get { return modeList; }
}
public int SelectedModeIndex
{
get { return modeList.SelectedIndex; }
set { modeList.Select(value); }
}
public GUIListBox PlayerList
{
@@ -80,6 +91,12 @@ namespace Barotrauma
private set;
}
public bool StartButtonEnabled
{
get { return StartButton.Enabled; }
set { StartButton.Enabled = value; }
}
public GUIFrame InfoFrame
{
get { return infoFrame; }
@@ -454,7 +471,7 @@ namespace Barotrauma
base.Select();
}
public void ShowSpectateButton()
{
if (GameMain.Client == null) return;