summaryrefslogtreecommitdiff
path: root/src/client/GameSave.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-27 19:06:17 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-27 19:06:17 (GMT)
commit5befe5c25f8f188e7588de44ab2c8bead22ae999 (patch)
tree643b02af217770c1a3156be03e01442557795760 /src/client/GameSave.h
parentf8ca8af387b8611c18ca7c5357efd19c8bc28941 (diff)
downloadpowder-5befe5c25f8f188e7588de44ab2c8bead22ae999.zip
powder-5befe5c25f8f188e7588de44ab2c8bead22ae999.tar.gz
Local file browser + some more interesting things like Progress bar UI component
Diffstat (limited to 'src/client/GameSave.h')
-rw-r--r--src/client/GameSave.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/GameSave.h b/src/client/GameSave.h
index 1e5b514..a1bd1cf 100644
--- a/src/client/GameSave.h
+++ b/src/client/GameSave.h
@@ -59,6 +59,8 @@ public:
GameSave(GameSave & save);
GameSave(int width, int height);
GameSave(char * data, int dataSize);
+ GameSave(std::vector<char> data);
+ GameSave(std::vector<unsigned char> data);
~GameSave();
void setSize(int width, int height);
char * Serialise(int & dataSize);
@@ -85,6 +87,7 @@ private:
float * fanVelYPtr;
unsigned char * blockMapPtr;
+ void read(char * data, int dataSize);
void readOPS(char * data, int dataLength);
void readPSv(char * data, int dataLength);
char * serialiseOPS(int & dataSize);