Mini Galaxy Gen
Added flags to game manager and player settings to check tutorial status Created alternate galaxy generation process for tutorial
This commit is contained in:
parent
7cfc5cd04f
commit
b1bd89a687
224 changed files with 423 additions and 208 deletions
|
|
@ -33,20 +33,23 @@ public class SavedGame
|
|||
public int CurrentZoneEntity;
|
||||
|
||||
[Key(8)]
|
||||
public SectorGenerationSettings Settings;
|
||||
public SectorBackgroundSettings Background;
|
||||
|
||||
[Key(9)]
|
||||
public int[] DiscoveredZones;
|
||||
|
||||
[Key(10)]
|
||||
public SavedActionBarBinding[] ActionBarBindings;
|
||||
|
||||
[Key(11)]
|
||||
public bool IsTutorial;
|
||||
|
||||
public SavedGame() { }
|
||||
|
||||
public SavedGame(Sector sector, Zone currentZone, Entity currentEntity)
|
||||
{
|
||||
DiscoveredZones = sector.DiscoveredZones.Select(dz => Array.IndexOf(sector.Zones, dz)).ToArray();
|
||||
Settings = sector.Settings;
|
||||
Background = sector.Background;
|
||||
Factions = sector.HomeZones.Keys.Select(f => f.ID).ToArray();
|
||||
|
||||
HomeZones = sector.HomeZones.ToDictionary(
|
||||
|
|
|
|||
Loading…
Reference in a new issue