Added a few new console commands: disablehud, lockx & locky (disables submarine movement on the respective axis), followsub (toggles whether the camera moves with the subs)
This commit is contained in:
@@ -64,6 +64,8 @@ namespace Barotrauma
|
||||
get { return arrow; }
|
||||
}
|
||||
|
||||
public static bool DisableHUD;
|
||||
|
||||
public static void Init(ContentManager content)
|
||||
{
|
||||
Font = ToolBox.TryLoadFont("SpriteFont1", content);
|
||||
@@ -498,7 +500,8 @@ namespace Barotrauma
|
||||
|
||||
if (GUIComponent.MouseOn != null && !string.IsNullOrWhiteSpace(GUIComponent.MouseOn.ToolTip)) GUIComponent.MouseOn.DrawToolTip(spriteBatch);
|
||||
|
||||
cursor.Draw(spriteBatch, PlayerInput.MousePosition);
|
||||
if (!GUI.DisableHUD)
|
||||
cursor.Draw(spriteBatch, PlayerInput.MousePosition);
|
||||
}
|
||||
|
||||
public static void AddToGUIUpdateList()
|
||||
|
||||
Reference in New Issue
Block a user