Save and Load


Data Structures

struct  oslSaveLoad

Defines

#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

Functions

void oslInitSaveDialog (struct oslSaveLoad *saveData)
void oslInitMultiSaveDialog (struct oslSaveLoad *saveData)
void oslInitSingleSaveDialog (struct oslSaveLoad *saveData)
void oslInitAutoSaveDialog (struct oslSaveLoad *saveData)
void oslInitLoadDialog (struct oslSaveLoad *loadData)
void oslInitMultiLoadDialog (struct oslSaveLoad *loadData)
void oslInitSingleLoadDialog (struct oslSaveLoad *loadData)
void oslInitAutoLoadDialog (struct oslSaveLoad *loadData)
void oslDrawSaveLoad ()
int oslGetLoadSaveStatus ()
int oslGetSaveLoadType ()
int oslSaveLoadGetResult ()
void oslEndSaveLoadDialog ()

Detailed Description

Functions to use the save and load screen

Define Documentation

#define OSL_SAVELOAD_CANCEL   1

Save and Load cancel

#define OSL_SAVELOAD_OK   0

Save and Load OK

#define OSL_DIALOG_SAVE   1

Save dialog

#define OSL_DIALOG_LOAD   2

Load dialog

#define OSL_DIALOG_DELETE   3

Delete dialog


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

void oslDrawSaveLoad (  ) 

Draws the save/load dialog

int oslGetLoadSaveStatus (  ) 

Returns the current dialog status

int oslGetSaveLoadType (  ) 

Returns the current dialog type

int oslSaveLoadGetResult (  ) 

Gets the dialog's result

void oslEndSaveLoadDialog (  ) 

Ends the current dialog


Generated on Wed Feb 24 10:25:35 2010 by  doxygen 1.5.9