Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libcommon: Enhanced loadgame and savegame console commands
These two commands now also implement the logic for prompting the user to confirm a load/save game request, previously used with the <quick> save slot only. Each command now accepts a new "confirm" argument for the purpose of declaring confirmation without being prompted. Note that this logic is additional to that of cvar "game-save-confirm", meaning the user can leave this enabled yet still override it. Added read-only cvar "game-save-last-slot" which as the name suggests, is the logical slot number of the last used save slot. There is also a new mnemonic <last>, which can be used as a symbolic reference which is automatically resolved with both loadgame and savegame commands. The console commands quickload and quicksave are essentially glorified aliases now.
- Loading branch information
1 parent
21d0201
commit 64b2abc
Showing
12 changed files
with
200 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.