Added UUID for game sessions

Allows the SavegameManager to destroy all saves related to the current UUID session so hardcore mods can enforce this safely instead of needing to go nuclear.
This commit is contained in:
Boondorl 2025-07-20 14:00:05 -04:00 committed by Ricardo Luís Vaz Silva
commit 66c5beccbd
8 changed files with 52 additions and 0 deletions

View file

@ -38,6 +38,7 @@ struct SaveGameNode native
{
native String SaveTitle;
native readonly String Filename;
native readonly String UUID;
native bool bOldVersion;
native bool bMissingWads;
native bool bNoDelete;
@ -68,6 +69,7 @@ struct SavegameManager native ui
native SaveGameNode GetSavegame(int i);
native void InsertNewSaveNode();
native bool RemoveNewSaveNode();
native int RemoveUUIDSaveSlots();
}