add C++, Typescript and more stuff

This commit is contained in:
2026-10-28 00:15:08 +01:00
parent e99e6386e8
commit ea0f475cae
108 changed files with 2488 additions and 980 deletions
+3 -1
View File
@@ -16,7 +16,7 @@ namespace KernelPanic.Meta
public sealed class SaveService
{
private const string SaveFileName = "kernel-panic-save.json";
public const int CurrentSchemaVersion = 8;
public const int CurrentSchemaVersion = 9;
private static readonly object FileLock = new();
public string SavePath { get; }
@@ -305,6 +305,7 @@ namespace KernelPanic.Meta
public string lastSetupDistroId;
public RunCheckpoint activeRun;
public List<RunHistoryEntry> recentRuns = new();
public List<Language> campaignClearLanguages = new();
public string lastRunDistroId;
public List<DistroBestWaveSaveEntry> distroBestWaves = new();
@@ -348,6 +349,7 @@ namespace KernelPanic.Meta
runBuildDrafts ??= new List<RunBuildDraftSaveEntry>();
foreach (RunBuildDraftSaveEntry draft in runBuildDrafts) draft?.EnsureLists();
recentRuns ??= new List<RunHistoryEntry>();
campaignClearLanguages ??= new List<Language>();
RunHistory.Normalize(recentRuns);
if (string.IsNullOrWhiteSpace(lastRunDistroId) && !string.IsNullOrWhiteSpace(lastRunLoadout.distroId))
{