Star favourite sceneries in the list

A right click stars or unstars the scenery under it; the starred ones are
gathered in a group on top and marked where they belong. They are kept in
favorites.txt beside the settings, not in eu07.ini.
This commit is contained in:
maj00r
2026-10-04 14:23:16 +02:00
parent be34d48033
commit e0901ae0ab
13 changed files with 223 additions and 6 deletions

View File

@@ -53,6 +53,7 @@ public sealed class AppServices
Executables = new ExecutableLocator(files, paths, environment, log);
SettingsStore = new SettingsStore(files, clock, log, settingsPaths, new SettingsSerializer(), Executables);
MissingVehicleLog = new MissingVehicleLog(SettingsStore.Settings, MissingAssets, Library, log);
Favorites = new FavoriteSceneries(files, log, settingsPaths.FavoritesPath());
var assembly = typeof(AppServices).Assembly;
var version = assembly.GetName().Version ?? new Version(0, 0);
string? commit = UpdateCheck.CommitOf(
@@ -134,6 +135,8 @@ public sealed class AppServices
public UpdateCheck Updates { get; }
public FavoriteSceneries Favorites { get; }
public StartSimulation StartSimulation { get; }
public LocalizationService Localization { get; }