diff options
Diffstat (limited to 'src/simulation/SaveLoader.h')
| -rw-r--r-- | src/simulation/SaveLoader.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/simulation/SaveLoader.h b/src/simulation/SaveLoader.h new file mode 100644 index 0000000..e517a2b --- /dev/null +++ b/src/simulation/SaveLoader.h @@ -0,0 +1,23 @@ +/* + * SaveLoader.h + * + * Created on: Jan 26, 2012 + * Author: Simon + */ + +#ifndef SAVELOADER_H_ +#define SAVELOADER_H_ + +#include "Simulation.h" + +class SaveLoader { +public: + static int LoadSave(unsigned char * data, int dataLength, Simulation * sim); + static unsigned char * BuildSave(int & dataLength, Simulation * sim); + static int OPSLoadSave(unsigned char * data, int dataLength, Simulation * sim); + static unsigned char * OPSBuildSave(int & dataLength, Simulation * sim); + static int PSVLoadSave(unsigned char * data, int dataLength, Simulation * sim); + static unsigned char * PSVBuildSave(int & dataLength, Simulation * sim); +}; + +#endif /* SAVELOADER_H_ */ |
