1,079
edits
(Done) |
(Done) |
||
Line 146: | Line 146: | ||
* Make the autosave interval configurable (via GUI, command line, config file). Partially done via autosave_period config option. | * Make the autosave interval configurable (via GUI, command line, config file). Partially done via autosave_period config option. | ||
* Enhance SaveFileManager by adding an API that allows renaming / deleting savegames. | * Enhance SaveFileManager by adding an API that allows renaming / deleting savegames. | ||
* Added error return codes to openForSaving / openForLoading so that client code can nicely detect & report save/load failures ("media full", "file not found", "save path does not exist", "save path not writeable", etc.). | * Added error return codes to openForSaving / openForLoading so that client code can nicely detect & report save/load failures ("media full", "file not found", "save path does not exist", "save path not writeable", etc.). | ||
* Try to get rid of getSavePath(): It is mostly used to print out more meaningful error messages about save failures. Instead of that, consider adding a getLastError() or so call, which return a string with additional information about the error. This is more portable, too. | * Try to get rid of getSavePath(): It is mostly used to print out more meaningful error messages about save failures. Instead of that, consider adding a getLastError() or so call, which return a string with additional information about the error. This is more portable, too. |
edits