This commit is contained in:
Regalis
2015-10-31 15:16:49 +02:00
parent bcc96cee97
commit b0deba514e
29 changed files with 348 additions and 81 deletions
+5 -1
View File
@@ -20,6 +20,8 @@ namespace Barotrauma
static int graphicsWidth, graphicsHeight;
static SpriteBatch spriteBatch;
public static GameMain Instance;
public static bool DebugDraw;
public static GraphicsDevice CurrGraphicsDevice;
@@ -99,6 +101,8 @@ namespace Barotrauma
{
Graphics = new GraphicsDeviceManager(this);
Instance = this;
Config = new GameSettings("config.xml");
if (Config.WasGameUpdated)
{
@@ -169,7 +173,7 @@ namespace Barotrauma
CoroutineManager.StartCoroutine(Load());
}
private IEnumerable<object> Load()
public IEnumerable<object> Load()
{
GUI.Init(Content);