A* pathfinding, autopilot, WIP radar rendering, proper location names, character skills shown in menus, got rid of PreviewCharacter, mantis

This commit is contained in:
Regalis
2015-07-14 21:09:00 +03:00
parent a2636133ca
commit 44b9a63c94
51 changed files with 1971 additions and 940 deletions
+10 -2
View File
@@ -49,7 +49,7 @@ namespace Subsurface
}
public GameSession(Submarine selectedMap, GameMode gameMode = null)
public GameSession(Submarine selectedSub, GameMode gameMode = null)
{
taskManager = new TaskManager(this);
@@ -83,7 +83,7 @@ namespace Subsurface
//startTime = DateTime.Now;
//endTime = startTime + gameDuration;
this.submarine = selectedMap;
this.submarine = selectedSub;
//if (!save) return;
@@ -134,6 +134,14 @@ namespace Subsurface
submarine.SetPosition(level.StartPosition - new Vector2(0.0f, 2000.0f));
}
foreach (Item item in Item.itemList)
{
foreach (ItemComponent ic in item.components)
{
ic.OnMapLoaded();
}
}
taskManager.StartShift(level);
}