summaryrefslogtreecommitdiff
path: root/src/simulation/SaveLoader.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-05-22 15:01:39 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-05-22 15:01:39 (GMT)
commitcc0efb13f0d28bcda7b36dea6de586be339add89 (patch)
tree75f4f26f7b9035cdb8c1623c1796acc06e8c92e1 /src/simulation/SaveLoader.h
parent7e49d63d28e2f460a423ab5921dbe8ab74e357d2 (diff)
downloadpowder-cc0efb13f0d28bcda7b36dea6de586be339add89.zip
powder-cc0efb13f0d28bcda7b36dea6de586be339add89.tar.gz
OPS save format from TPT
Diffstat (limited to 'src/simulation/SaveLoader.h')
-rw-r--r--src/simulation/SaveLoader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/SaveLoader.h b/src/simulation/SaveLoader.h
index 2e92817..4d55592 100644
--- a/src/simulation/SaveLoader.h
+++ b/src/simulation/SaveLoader.h
@@ -17,7 +17,7 @@ public:
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);
+ 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);