Functions to use the save and load screen.
More...
|
#define | OSL_SAVELOAD_CANCEL 1 |
| Indicates that the save/load operation was canceled.
|
|
#define | OSL_SAVELOAD_OK 0 |
| Indicates that the save/load operation was successful.
|
|
#define | OSL_DIALOG_SAVE 1 |
| Indicates a save dialog type.
|
|
#define | OSL_DIALOG_LOAD 2 |
| Indicates a load dialog type.
|
|
#define | OSL_DIALOG_DELETE 3 |
| Indicates a delete dialog type.
|
|
Functions to use the save and load screen.
◆ oslInitSaveDialog()
void oslInitSaveDialog |
( |
struct oslSaveLoad * | saveData | ) |
|
Initializes the save dialog.
- Parameters
-
saveData | Pointer to a oslSaveLoad structure containing data to be saved. |
◆ oslInitMultiSaveDialog()
void oslInitMultiSaveDialog |
( |
struct oslSaveLoad * | saveData | ) |
|
Initializes the multi-list save dialog.
- Parameters
-
saveData | Pointer to a oslSaveLoad structure containing data to be saved. |
◆ oslInitSingleSaveDialog()
void oslInitSingleSaveDialog |
( |
struct oslSaveLoad * | saveData | ) |
|
Initializes the single save dialog.
- Parameters
-
saveData | Pointer to a oslSaveLoad structure containing data to be saved. |
◆ oslInitAutoSaveDialog()
void oslInitAutoSaveDialog |
( |
struct oslSaveLoad * | saveData | ) |
|
Initializes the automatic save dialog.
- Parameters
-
saveData | Pointer to a oslSaveLoad structure containing data to be saved. |
◆ oslInitLoadDialog()
void oslInitLoadDialog |
( |
struct oslSaveLoad * | loadData | ) |
|
Initializes the load dialog.
- Parameters
-
loadData | Pointer to a oslSaveLoad structure where data will be loaded. |
◆ oslInitMultiLoadDialog()
void oslInitMultiLoadDialog |
( |
struct oslSaveLoad * | loadData | ) |
|
Initializes the multi-list load dialog.
- Parameters
-
loadData | Pointer to a oslSaveLoad structure where data will be loaded. |
◆ oslInitSingleLoadDialog()
void oslInitSingleLoadDialog |
( |
struct oslSaveLoad * | loadData | ) |
|
Initializes the single load dialog.
- Parameters
-
loadData | Pointer to a oslSaveLoad structure where data will be loaded. |
◆ oslInitAutoLoadDialog()
void oslInitAutoLoadDialog |
( |
struct oslSaveLoad * | loadData | ) |
|
Initializes the automatic load dialog.
- Parameters
-
loadData | Pointer to a oslSaveLoad structure where data will be loaded. |
◆ oslInitDeleteDialog()
void oslInitDeleteDialog |
( |
struct oslSaveLoad * | deleteData | ) |
|
Initializes the delete dialog.
- Parameters
-
deleteData | Pointer to a oslSaveLoad structure where data will be deleted. |
◆ oslGetLoadSaveStatus()
int oslGetLoadSaveStatus |
( |
void | | ) |
|
Returns the current dialog status.
- Returns
- The status of the current save/load dialog.
◆ oslGetSaveLoadType()
int oslGetSaveLoadType |
( |
void | | ) |
|
Returns the current dialog type.
- Returns
- The type of the current save/load dialog.
◆ oslSaveLoadGetResult()
int oslSaveLoadGetResult |
( |
void | | ) |
|
Gets the dialog's result.
- Returns
- The result of the save/load operation.