diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-02-11 17:04:39 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-02-11 17:04:39 (GMT) |
| commit | 725f1aff8512cd3c1f89f4e54fe2c6cd588fb62c (patch) | |
| tree | 0cfc406f020ff2bcd0ff3ca8bfdf8e536cf8cb07 /src/simulation/SaveLoader.h | |
| parent | 9f7b06ff47e12076a261b6a209b27c558741eb8a (diff) | |
| download | powder-725f1aff8512cd3c1f89f4e54fe2c6cd588fb62c.zip powder-725f1aff8512cd3c1f89f4e54fe2c6cd588fb62c.tar.gz | |
Fix thumbnail alignment for save buttons, add code for building PSv format
Diffstat (limited to 'src/simulation/SaveLoader.h')
| -rw-r--r-- | src/simulation/SaveLoader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/simulation/SaveLoader.h b/src/simulation/SaveLoader.h index 50b1401..1fb2143 100644 --- a/src/simulation/SaveLoader.h +++ b/src/simulation/SaveLoader.h @@ -13,11 +13,11 @@ class SaveLoader { public: static int LoadSave(unsigned char * data, int dataLength, Simulation * sim, bool replace, int x, int y); - static unsigned char * BuildSave(int & dataLength, Simulation * sim); + static unsigned char * BuildSave(int & dataLength, Simulation * sim, int orig_x0, int orig_y0, int orig_w, int orig_h); static int OPSLoadSave(unsigned char * data, int dataLength, Simulation * sim); - static unsigned char * OPSBuildSave(int & dataLength, Simulation * sim); + static unsigned char * OPSBuildSave(int & dataLength, Simulation * sim, int orig_x0, int orig_y0, int orig_w, int orig_h); static int PSVLoadSave(unsigned char * data, int dataLength, Simulation * sim, bool replace, int x, int y); - static unsigned char * PSVBuildSave(int & dataLength, Simulation * sim); + static unsigned char * PSVBuildSave(int & dataLength, Simulation * sim, int orig_x0, int orig_y0, int orig_w, int orig_h); }; #endif /* SAVELOADER_H_ */ |
