From 49f27fffbe07e66a3047812a838f03d7636cc4a9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 1 Jun 2013 18:45:31 +0300 Subject: 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. --- src/gui/updaterwindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/updaterwindow.h') diff --git a/src/gui/updaterwindow.h b/src/gui/updaterwindow.h index 440344367..e317e3f95 100644 --- a/src/gui/updaterwindow.h +++ b/src/gui/updaterwindow.h @@ -145,6 +145,8 @@ class UpdaterWindow final : public Window, static void unloadManaPlusUpdates(const std::string &dir, const ResourceManager *const resman); + static unsigned long getFileHash(const std::string &filePath); + private: void download(); -- cgit v1.2.3-70-g09d2