diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-26 16:18:43 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-26 16:18:43 (GMT) |
| commit | d520a70acfdf7ba5a007aee1f92453642b474c08 (patch) | |
| tree | 4cfc4c16bd9be7c1a4561356807ba07d943c1abc /src/simulation/SaveLoader.h | |
| parent | 9e1be78bc21d1fb76a19ce12ef36193aea6e2b93 (diff) | |
| download | powder-d520a70acfdf7ba5a007aee1f92453642b474c08.zip powder-d520a70acfdf7ba5a007aee1f92453642b474c08.tar.gz | |
Save loading and reloading
Diffstat (limited to 'src/simulation/SaveLoader.h')
| -rw-r--r-- | src/simulation/SaveLoader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/SaveLoader.h b/src/simulation/SaveLoader.h index e517a2b..50b1401 100644 --- a/src/simulation/SaveLoader.h +++ b/src/simulation/SaveLoader.h @@ -12,11 +12,11 @@ class SaveLoader { public: - static int LoadSave(unsigned char * data, int dataLength, Simulation * sim); + 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 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 int PSVLoadSave(unsigned char * data, int dataLength, Simulation * sim, bool replace, int x, int y); static unsigned char * PSVBuildSave(int & dataLength, Simulation * sim); }; |
