OldSchool Library 1.5.1
Loading...
Searching...
No Matches
saveload.h File Reference

Save and load functions in OSLib. More...

Data Structures

struct  oslSaveLoad
 Structure containing data to save/load. More...
 

Macros

#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

void oslInitSaveDialog (struct oslSaveLoad *saveData)
 Initializes the save dialog.
 
void oslInitMultiSaveDialog (struct oslSaveLoad *saveData)
 Initializes the multi-list save dialog.
 
void oslInitSingleSaveDialog (struct oslSaveLoad *saveData)
 Initializes the single save dialog.
 
void oslInitAutoSaveDialog (struct oslSaveLoad *saveData)
 Initializes the automatic save dialog.
 
void oslInitLoadDialog (struct oslSaveLoad *loadData)
 Initializes the load dialog.
 
void oslInitMultiLoadDialog (struct oslSaveLoad *loadData)
 Initializes the multi-list load dialog.
 
void oslInitSingleLoadDialog (struct oslSaveLoad *loadData)
 Initializes the single load dialog.
 
void oslInitAutoLoadDialog (struct oslSaveLoad *loadData)
 Initializes the automatic load dialog.
 
void oslInitDeleteDialog (struct oslSaveLoad *deleteData)
 Initializes the delete dialog.
 
void oslDrawSaveLoad (void)
 Draws the save/load dialog.
 
int oslGetLoadSaveStatus (void)
 Returns the current dialog status.
 
int oslGetSaveLoadType (void)
 Returns the current dialog type.
 
int oslSaveLoadGetResult (void)
 Gets the dialog's result.
 
void oslEndSaveLoadDialog (void)
 Ends the current dialog.
 

Detailed Description

Save and load functions in OSLib.

This file provides access to Sony's save and load screens, used to read and write save data in the PSP savedata format.