Save and Load
Detailed Description
Functions to use the save and load screen
Define Documentation
#define OSL_SAVELOAD_CANCEL 1 |
#define OSL_SAVELOAD_OK 0 |
#define OSL_DIALOG_SAVE 1 |
#define OSL_DIALOG_LOAD 2 |
#define OSL_DIALOG_DELETE 3 |
Function Documentation
void oslInitSaveDialog |
( |
struct oslSaveLoad * |
saveData |
) |
|
Initializes the save dialog
- Parameters:
-
| *saveData | Pointer to a oslSaveLoad structure containing data to be saved |
void oslInitMultiSaveDialog |
( |
struct oslSaveLoad * |
saveData |
) |
|
Initializes the multilist save dialog
- Parameters:
-
| *saveData | Pointer to a oslSaveLoad structure containing data to be saved |
void oslInitSingleSaveDialog |
( |
struct oslSaveLoad * |
saveData |
) |
|
Initializes the single save dialog
- Parameters:
-
| *saveData | Pointer to a oslSaveLoad structure containing data to be saved |
void oslInitAutoSaveDialog |
( |
struct oslSaveLoad * |
saveData |
) |
|
Initializes the automatic save dialog
- Parameters:
-
| *saveData | Pointer to a oslSaveLoad structure containing data to be saved |
void oslInitLoadDialog |
( |
struct oslSaveLoad * |
loadData |
) |
|
Initializes the load dialog
- Parameters:
-
| *saveData | Pointer to a oslSaveLoad structure where data will be loaded |
void oslInitMultiLoadDialog |
( |
struct oslSaveLoad * |
loadData |
) |
|
Initializes the multilist load dialog
- Parameters:
-
| *saveData | Pointer to a oslSaveLoad structure where data will be loaded |
void oslInitSingleLoadDialog |
( |
struct oslSaveLoad * |
loadData |
) |
|
Initializes the single load dialog
- Parameters:
-
| *saveData | Pointer to a oslSaveLoad structure where data will be loaded |
void oslInitAutoLoadDialog |
( |
struct oslSaveLoad * |
loadData |
) |
|
Initializes the automatic load dialog
- Parameters:
-
| *saveData | Pointer to a oslSaveLoad structure where data will be loaded |
Draws the save/load dialog
int oslGetLoadSaveStatus |
( |
|
) |
|
Returns the current dialog status
int oslGetSaveLoadType |
( |
|
) |
|
Returns the current dialog type
int oslSaveLoadGetResult |
( |
|
) |
|
void oslEndSaveLoadDialog |
( |
|
) |
|