Wire story flags into the save slot and add cutscene controls

Implements storyInit/storyGetFlagByName/storyGetFlagValue/etc, moves flag
storage into saveslot_t (persisted keyed by name so save files survive
flag reordering), and adds STORY_SET_FLAG/STORY_WAIT_FLAG cutscene items.
Also removes the now-superseded storyflag.c/h stub.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
2026-09-19 20:39:53 -05:00
co-authored by Claude Sonnet 5
parent 6f1bbe4f2f
commit 4b29bf7a30
24 changed files with 396 additions and 65 deletions
+6 -1
View File
@@ -1,5 +1,10 @@
{
"flags": {
"test": { "description": "Test flag for debugging purposes", "initial": true }
"test": {
"initial": true
},
"test2": {
"initial": 1
}
}
}