aboutsummaryrefslogtreecommitdiffstats
path: root/yage/base/spritesheet.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-10-12 14:57:26 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-10-12 14:57:26 +0100
commit1bb0ef8960c71ef505a351702bec54c01ba15e22 (patch)
tree365811364237f1e55e66f421b93cad8adcf51eda /yage/base/spritesheet.h
parentba733040afb85d4c287a2ec464db05cb86a53fca (diff)
downloadYAGE-1bb0ef8960c71ef505a351702bec54c01ba15e22.tar.gz
YAGE-1bb0ef8960c71ef505a351702bec54c01ba15e22.zip
Fixing spritesheet and fixed #12
Diffstat (limited to 'yage/base/spritesheet.h')
-rw-r--r--yage/base/spritesheet.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/yage/base/spritesheet.h b/yage/base/spritesheet.h
index d44e1dc0..2ead0ba1 100644
--- a/yage/base/spritesheet.h
+++ b/yage/base/spritesheet.h
@@ -6,6 +6,9 @@
* ----------------------------------------------------------------------------
*/
+/** @file
+ */
+
#ifndef YAGE_SPRITESHEET_H
#define YAGE_SPRITESHEET_H
@@ -52,7 +55,8 @@ private:
Texture texture_;
details::SpriteMap fileLocations_;
- details::SpriteMap parseJson(int &width, int &height, const std::string &jsonContent) const;
+ details::SpriteMap parseJson(int &width, int &height,
+ std::string jsonContent) const;
};
} // namespace yage