Added camera zoom value to debug hud

This commit is contained in:
Joonas Rikkonen
2018-02-23 10:33:59 +02:00
parent 19579f02ca
commit 8b07e91d2c
@@ -447,7 +447,7 @@ namespace Barotrauma
if (Screen.Selected.Cam != null)
{
DrawString(spriteBatch, new Vector2(10, 55),
"Camera pos: " + Screen.Selected.Cam.Position.ToPoint(),
"Camera pos: " + Screen.Selected.Cam.Position.ToPoint() + ", zoom: " + Screen.Selected.Cam.Zoom,
Color.White, Color.Black * 0.5f, 0, SmallFont);
}
@@ -482,7 +482,7 @@ namespace Barotrauma
}
}
GUI.DrawString(spriteBatch, new Vector2(200, i * 15), soundStr, clr, Color.Black * 0.5f, 0, GUI.SmallFont);
GUI.DrawString(spriteBatch, new Vector2(300, i * 15), soundStr, clr, Color.Black * 0.5f, 0, GUI.SmallFont);
}
}