1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00
Changes were reviewed manually
This commit is contained in:
Alexander Wilms
2024-06-24 03:23:26 +02:00
parent 820b1b446e
commit 02e429e973
277 changed files with 815 additions and 815 deletions

View File

@@ -103,8 +103,8 @@ public:
/**
* C-tor.
*
* @param stream - stream with compresed data
* @param gzip - this is gzipp'ed file e.g. campaign or maps, false for files in lod
* @param stream - stream with compressed data
* @param gzip - this is gzipp'ed file e.g. campaign or maps, false for files in load
* @param decompressedSize - optional parameter to hint size of decompressed data
*/
CCompressedStream(std::unique_ptr<CInputStream> stream, bool gzip, size_t decompressedSize=0);
@@ -136,7 +136,7 @@ private:
enum EState
{
ERROR_OCCURED,
ERROR_OCCURRED,
INITIALIZED,
IN_PROGRESS,
STREAM_END,

View File

@@ -101,7 +101,7 @@ public:
static void addFilesystem(const std::string & parent, const std::string & identifier, ISimpleResourceLoader * loader);
/**
* @brief removeFilesystem removes previously added filesystem from global resouce holder
* @brief removeFilesystem removes previously added filesystem from global resource holder
* @param parent parent loader containing filesystem
* @param identifier name of this loader
* @return if filesystem was successfully removed

View File

@@ -25,7 +25,7 @@ public:
/**
* Loads a resource with the given resource name.
*
* @param resourceName The unqiue resource name in space of the archive.
* @param resourceName The unique resource name in space of the archive.
* @return a input stream object
*/
virtual std::unique_ptr<CInputStream> load(const ResourcePath & resourceName) const = 0;