saved games for rejoining in progress games saves to .zip and sends that to clients.

This commit is contained in:
Mark Vejvoda
2013-05-01 20:56:19 +00:00
parent 480c77949c
commit c30d78ff74
9 changed files with 5219 additions and 6 deletions

View File

@@ -0,0 +1,26 @@
// ==============================================================
// This file is part of MegaGlest Shared Library (www.megaglest.org)
//
// Copyright (C) 2013 Mark Vejvoda
//
// You can redistribute this code and/or modify it under
// the terms of the GNU General Public License as published
// by the Free Software Foundation; either version 2 of the
// License, or (at your option) any later version
// ==============================================================
#ifndef _SHARED_COMPRESSION_UTIL_CHECKSUM_H_
#define _SHARED_COMPRESSION_UTIL_CHECKSUM_H_
#include <string>
using std::string;
namespace Shared{ namespace CompressionUtil{
bool compressFileToZIPFile(string inFile, string outFile, int compressionLevel=5);
bool extractFileFromZIPFile(string inFile, string outFile);
}};
#endif