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:
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"flags": {
|
||||
"test": { "description": "Test flag for debugging purposes", "initial": true }
|
||||
"test": {
|
||||
"initial": true
|
||||
},
|
||||
"test2": {
|
||||
"initial": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user