summaryrefslogtreecommitdiff
path: root/tools/tmxcopy/zlibutils.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2007-12-12 15:45:25 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2007-12-12 15:45:25 +0000
commit040380b706249fa55fca2778251382f0d4450125 (patch)
tree160bc37a69077501e01ea261ced18625bad3eed5 /tools/tmxcopy/zlibutils.h
parenta98d02eaf287932e3e83a980bac41ecc01f254f6 (diff)
downloadmana-040380b706249fa55fca2778251382f0d4450125.tar.gz
mana-040380b706249fa55fca2778251382f0d4450125.tar.bz2
mana-040380b706249fa55fca2778251382f0d4450125.tar.xz
mana-040380b706249fa55fca2778251382f0d4450125.zip
Added my tmxcopy tool for copying parts of maps to other maps.
Diffstat (limited to 'tools/tmxcopy/zlibutils.h')
-rw-r--r--tools/tmxcopy/zlibutils.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/tmxcopy/zlibutils.h b/tools/tmxcopy/zlibutils.h
new file mode 100644
index 00000000..300c72ad
--- /dev/null
+++ b/tools/tmxcopy/zlibutils.h
@@ -0,0 +1,11 @@
+int
+inflateMemory(unsigned char *in, unsigned int inLength,
+ unsigned char *&out, unsigned int &outLength);
+
+int
+inflateMemory(unsigned char *in, unsigned int inLength,
+ unsigned char *&out);
+
+int
+compressMemory(unsigned char *in, unsigned int inLength,
+ unsigned char *&out, unsigned int &outLength);