Server job assigning logic, submarine movement syncing, submarine collision improvements, spawnpoints in levels

This commit is contained in:
Regalis
2015-07-08 11:37:47 +03:00
parent 3af9b8183b
commit d56f7f3f77
155 changed files with 39772 additions and 261 deletions
+4 -4
View File
@@ -111,14 +111,14 @@ namespace Subsurface
this.savePath = savePath;
}
public void StartShift(TimeSpan duration, string levelSeed, int scriptedEventCount = 1)
public void StartShift(TimeSpan duration, string levelSeed)
{
Level level = Level.CreateRandom(levelSeed);
StartShift(duration, level, scriptedEventCount);
StartShift(duration, level);
}
public void StartShift(TimeSpan duration, Level level, int scriptedEventCount = 1)
public void StartShift(TimeSpan duration, Level level)
{
//if (crewManager.characterInfos.Count == 0) return;
@@ -135,7 +135,7 @@ namespace Subsurface
}
//crewManager.StartShift();
taskManager.StartShift(scriptedEventCount);
taskManager.StartShift(level);
}
public void EndShift(string endMessage)