summaryrefslogtreecommitdiff
path: root/src/simulation/SaveLoader.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-06-11 12:39:39 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-06-11 12:39:39 (GMT)
commit3205df3a2188e6e314d7393381403dd04cd85623 (patch)
tree5f3ec4728b3d4edd7eead8a581abead144eb2b07 /src/simulation/SaveLoader.h
parent5eb9370fc185103f3f8700f7da31525d5e862f81 (diff)
downloadpowder-3205df3a2188e6e314d7393381403dd04cd85623.zip
powder-3205df3a2188e6e314d7393381403dd04cd85623.tar.gz
Saving and loading other flags from GameSave, remove old saveloader
Diffstat (limited to 'src/simulation/SaveLoader.h')
-rw-r--r--src/simulation/SaveLoader.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/simulation/SaveLoader.h b/src/simulation/SaveLoader.h
deleted file mode 100644
index 4d55592..0000000
--- a/src/simulation/SaveLoader.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * SaveLoader.h
- *
- * Created on: Jan 26, 2012
- * Author: Simon
- */
-
-#ifndef SAVELOADER_H_
-#define SAVELOADER_H_
-
-#include "Simulation.h"
-
-class SaveLoader {
-public:
- static int Info(unsigned char * data, int dataLength, int & width, int & height);
- static int Load(unsigned char * data, int dataLength, Simulation * sim, bool replace, int x, int y);
- static unsigned char * Build(int & dataLength, Simulation * sim, int orig_x0, int orig_y0, int orig_w, int orig_h);
-private:
- static int OPSInfo(unsigned char * data, int dataLength, int & width, int & height);
- static int OPSLoad(unsigned char * data, int dataLength, Simulation * sim, bool replace, int x, int y);
- static unsigned char * OPSBuild(int & dataLength, Simulation * sim, int orig_x0, int orig_y0, int orig_w, int orig_h);
- static int PSVInfo(unsigned char * data, int dataLength, int & width, int & height);
- static int PSVLoad(unsigned char * data, int dataLength, Simulation * sim, bool replace, int x, int y);
- static unsigned char * PSVBuild(int & dataLength, Simulation * sim, int orig_x0, int orig_y0, int orig_w, int orig_h);
-};
-
-#endif /* SAVELOADER_H_ */