electricity bugfixes, destructable doors, ai improvements, removed rope, container changes

This commit is contained in:
Regalis
2015-05-27 01:02:30 +03:00
parent a1196d1876
commit 80648ffd46
51 changed files with 701 additions and 509 deletions
+6 -4
View File
@@ -266,10 +266,14 @@ namespace Subsurface
{
spriteBatch.DrawString(font,
"FPS: " + (int)Game1.frameCounter.AverageFramesPerSecond
+ " - physics: " + Game1.world.UpdateTime
+ " - bodies: " + Game1.world.BodyList.Count,
+ " - render: "+Game1.renderTimeElapsed,
new Vector2(10, 10), Color.White);
spriteBatch.DrawString(font,
"Physics: " + Game1.world.UpdateTime
+ " - bodies: " + Game1.world.BodyList.Count,
new Vector2(10, 30), Color.White);
if (Character.Controlled != null)
{
drowningBar.BarSize = Character.Controlled.Oxygen/100.0f;
@@ -335,8 +339,6 @@ namespace Subsurface
i++;
}
if (messages[0].LifeTime <= 0.0f) messages.Remove(messages[0]);
}