Functions to use the save and load screen
#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 |
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
-
*loadData | Pointer to a oslSaveLoad structure where data will be loaded |
void oslInitMultiLoadDialog |
( |
struct oslSaveLoad * |
loadData | ) |
|
Initializes the multilist load dialog
- Parameters
-
*loadData | Pointer to a oslSaveLoad structure where data will be loaded |
void oslInitSingleLoadDialog |
( |
struct oslSaveLoad * |
loadData | ) |
|
Initializes the single load dialog
- Parameters
-
*loadData | Pointer to a oslSaveLoad structure where data will be loaded |
void oslInitAutoLoadDialog |
( |
struct oslSaveLoad * |
loadData | ) |
|
Initializes the automatic load dialog
- Parameters
-
*loadData | 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 |
( |
| ) |
|