summaryrefslogtreecommitdiff
path: root/src/net/download.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-01 18:45:31 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-01 18:45:31 +0300
commit49f27fffbe07e66a3047812a838f03d7636cc4a9 (patch)
tree68996fa1dfc002e239513af1a92d1ffd69539204 /src/net/download.h
parent69108c8a2892cf87a3d425b5e82e0eadbb5f7fa9 (diff)
downloadplus-49f27fffbe07e66a3047812a838f03d7636cc4a9.tar.gz
plus-49f27fffbe07e66a3047812a838f03d7636cc4a9.tar.bz2
plus-49f27fffbe07e66a3047812a838f03d7636cc4a9.tar.xz
plus-49f27fffbe07e66a3047812a838f03d7636cc4a9.zip
Add chat command /testparticle for testing particle effects on player.
Command: /testparticle particle.xml - set particle effect on player. /testparticle - remove particle effect. Each second it check for particle file update and reloading it if need.
Diffstat (limited to 'src/net/download.h')
-rw-r--r--src/net/download.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/download.h b/src/net/download.h
index d351a8355..d0025c2b3 100644
--- a/src/net/download.h
+++ b/src/net/download.h
@@ -100,6 +100,8 @@ class Download final
static void secureCurl(CURL *const curl);
+ static unsigned long adlerBuffer(char *buffer, int size);
+
private:
static int downloadThread(void *ptr);
static int downloadProgress(void *clientp, double dltotal,