◆ runModalWithCurrentTarget()
int GUI::SaveLoadChooser::runModalWithCurrentTarget |
( |
| ) |
|
Runs the save/load chooser with the currently active config manager domain as target.
- Returns
- The selcted save slot. -1 in case none is selected.
◆ createDefaultSaveDescription()
Common::String GUI::SaveLoadChooser::createDefaultSaveDescription |
( |
const int |
slot | ) |
const |
Creates a default save description for the specified slot. Depending on the ScummVM configuration this might be a simple "Slot #" description or the current date and time.
TODO: This might not be the best place to put this, since engines not using this class might want to mimic the same behavior. Check whether moving this to a better place makes sense and find what this place would be.
- Parameters
-
slot | The slot number (must be >= 0). |
- Returns
- The slot description.
The documentation for this class was generated from the following file: