Disabled vsync + added input list to Character

Not everything breaks without vsync. GUI updates need to be fixed.
This commit is contained in:
juanjp600
2016-09-16 15:54:11 -03:00
parent e4f11e4679
commit 179c0424d7
2 changed files with 10 additions and 1 deletions
@@ -27,6 +27,10 @@ namespace Barotrauma
get { return netStateID; }
}
List<char> memInput = new List<char>();
List<float> memMouseX = new List<float>();
List<float> memMouseY = new List<float>();
//the Character that the player is currently controlling
private static Character controlled;
+6 -1
View File
@@ -104,7 +104,10 @@ namespace Barotrauma
public GameMain()
{
Graphics = new GraphicsDeviceManager(this);
Graphics = new GraphicsDeviceManager(this)
{
SynchronizeWithVerticalRetrace = false,
};
Window.Title = "Barotrauma";
@@ -143,6 +146,8 @@ namespace Barotrauma
FarseerPhysics.Settings.ContinuousPhysics = false;
FarseerPhysics.Settings.VelocityIterations = 1;
FarseerPhysics.Settings.PositionIterations = 1;
Graphics.ApplyChanges();
}
/// <summary>