(0f1d327f0) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
This commit is contained in:
@@ -241,26 +241,6 @@ namespace Barotrauma
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
displayModeDD.OnSelected = (guiComponent, obj) =>
|
displayModeDD.OnSelected = (guiComponent, obj) =>
|
||||||
{
|
|
||||||
ToolTip = TextManager.Get("EnableVSyncToolTip"),
|
|
||||||
OnSelected = (GUITickBox box) =>
|
|
||||||
{
|
|
||||||
VSyncEnabled = box.Selected;
|
|
||||||
GameMain.GraphicsDeviceManager.SynchronizeWithVerticalRetrace = VSyncEnabled;
|
|
||||||
GameMain.GraphicsDeviceManager.ApplyChanges();
|
|
||||||
UnsavedSettings = true;
|
|
||||||
|
|
||||||
return true;
|
|
||||||
},
|
|
||||||
Selected = VSyncEnabled
|
|
||||||
};
|
|
||||||
|
|
||||||
//TODO: remove hardcoded texts after the texts have been added to localization
|
|
||||||
GUITickBox pauseOnFocusLostBox = new GUITickBox(new RectTransform(new Point(32, 32), leftColumn.RectTransform),
|
|
||||||
TextManager.Get("PauseOnFocusLost", returnNull: true) ?? "Pause on focus lost");
|
|
||||||
pauseOnFocusLostBox.Selected = PauseOnFocusLost;
|
|
||||||
pauseOnFocusLostBox.ToolTip = TextManager.Get("PauseOnFocusLostToolTip", returnNull: true) ?? "Pauses the game when its window is not in focus. Note that the game won't be paused when a multiplayer session is active.";
|
|
||||||
pauseOnFocusLostBox.OnSelected = (tickBox) =>
|
|
||||||
{
|
{
|
||||||
PauseOnFocusLost = tickBox.Selected;
|
PauseOnFocusLost = tickBox.Selected;
|
||||||
UnsavedSettings = true;
|
UnsavedSettings = true;
|
||||||
|
|||||||
@@ -217,6 +217,22 @@ namespace Barotrauma
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private bool RefreshJoinButtonState(GUIComponent component, object obj)
|
||||||
|
{
|
||||||
|
if (obj == null || waitingForRefresh) { return false; }
|
||||||
|
|
||||||
|
if (!string.IsNullOrWhiteSpace(clientNameBox.Text) && !string.IsNullOrWhiteSpace(ipBox.Text))
|
||||||
|
{
|
||||||
|
joinButton.Enabled = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
joinButton.Enabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
private bool SelectServer(GUIComponent component, object obj)
|
private bool SelectServer(GUIComponent component, object obj)
|
||||||
{
|
{
|
||||||
if (obj == null || waitingForRefresh || (!(obj is ServerInfo))) { return false; }
|
if (obj == null || waitingForRefresh || (!(obj is ServerInfo))) { return false; }
|
||||||
@@ -557,10 +573,6 @@ namespace Barotrauma
|
|||||||
new GUIMessageBox(TextManager.Get("MasterServerErrorLabel"),
|
new GUIMessageBox(TextManager.Get("MasterServerErrorLabel"),
|
||||||
TextManager.Get("MasterServerErrorUnavailable"));
|
TextManager.Get("MasterServerErrorUnavailable"));
|
||||||
break;
|
break;
|
||||||
case System.Net.HttpStatusCode.ServiceUnavailable:
|
|
||||||
new GUIMessageBox(TextManager.Get("MasterServerErrorLabel"),
|
|
||||||
TextManager.Get("MasterServerErrorUnavailable"));
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
new GUIMessageBox(TextManager.Get("MasterServerErrorLabel"),
|
new GUIMessageBox(TextManager.Get("MasterServerErrorLabel"),
|
||||||
TextManager.GetWithVariables("MasterServerErrorDefault", new string[2] { "[statuscode]", "[statusdescription]" },
|
TextManager.GetWithVariables("MasterServerErrorDefault", new string[2] { "[statuscode]", "[statusdescription]" },
|
||||||
|
|||||||
@@ -1,3 +1,35 @@
|
|||||||
|
---------------------------------------------------------------------------------------------------------
|
||||||
|
v0.9.0.4
|
||||||
|
---------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- Fixed "Steam authentication failed" errors when trying to reconnect to a server after cancelling the
|
||||||
|
connection.
|
||||||
|
- Fixed clients occasionally failing to spawn items when playing using a different language than the server,
|
||||||
|
which caused them to get kicked.
|
||||||
|
- Fixed extra cargo failing to spawn in multiplayer when playing using a different language than the server.
|
||||||
|
- Fixed legacy items failing to load if a sub is saved with a language other than English and the language
|
||||||
|
then changed to something else.
|
||||||
|
- Fixed excessively small password input box when connecting to servers.
|
||||||
|
- Fixed a bug that occasionally caused items to drop from the inventory when moving items between
|
||||||
|
inventory slots in the multiplayer.
|
||||||
|
- Prevent junction boxes from getting damaged due to overvoltage in the engineering tutorial.
|
||||||
|
- Fixed structures getting scaled incorrectly when cloning a structure with a non-default scale in the
|
||||||
|
submarine editor.
|
||||||
|
- Fixed occasional crashes when leaving a multiplayer session while the "cinematic" at the end of the round
|
||||||
|
is still playing.
|
||||||
|
- Fixed items not being moved to the humanhusk's inventory when a huskified player dies (= clothes and
|
||||||
|
other gear seemed to magically disappear when the character "resurrected" as an AI husk).
|
||||||
|
- Fixed clients not seeing turrets rotating at their end when another client is operating the turret.
|
||||||
|
- Fixed hitscan projectiles (revolver rounds) going through walls if the weapon is fired while its
|
||||||
|
barrel is partially inside the wall.
|
||||||
|
- Fixed welding tools being able to weld doors and burn characters through walls.
|
||||||
|
- Fixed bots reporting leaks when there are holes in the interior walls.
|
||||||
|
- Fixes to the colliders of some of the shuttle wall pieces.
|
||||||
|
- Fixed Linux version crashing when attempting to browse for files in the Steam Workshop menu.
|
||||||
|
- Fixed credits not resizing when resolution is changed.
|
||||||
|
- Added an upper limit to impact damage done to ragdolls, preventing characters from getting instakilled if
|
||||||
|
a Moloch or another large monster smashes against the sub hard enough.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------------
|
||||||
v0.9.0.3
|
v0.9.0.3
|
||||||
---------------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user