Working on tutorial refactoring

This commit is contained in:
Vladislav Khorev committed 2026-10-23 22:03:55 +06:00
1 parent ea8f64c940
commit 9fa120d4ad
82 files changed
+1877 -7563

No files matched your search

+3 -1
View File
@@ -137,9 +137,11 @@ namespace FRG {
// never synchronously from a Lua/cutscene call stack.
void performResetToInitialState();
void performFullReset();
// Applies MenuManager::tutorialEnabledSetting to the freshly reset state (new games only).
void applyTutorialSetting();
void saveInitialState();
// (Re-)arms one-shot gameplay callbacks (tutorial unlock, taxi request) that
// (Re-)arms one-shot gameplay callbacks (taxi request) that
// createLocations() wires up but that get consumed (set to nullptr) once used
// during play. Must be called after gameState.load() on the fast reset path,
// since that path keeps the existing Location objects instead of recreating them.