From b58c121142303862ad383d6ba95008f18fe36446 Mon Sep 17 00:00:00 2001
From: TravisBot <>
Date: Mon, 25 Sep 2017 20:19:16 +0000
Subject: Rebuilding documentation
---
spritesheet_8h_source.html | 105 ++++++++++++---------------------------------
1 file changed, 27 insertions(+), 78 deletions(-)
(limited to 'spritesheet_8h_source.html')
diff --git a/spritesheet_8h_source.html b/spritesheet_8h_source.html
index cdff0a6a..eb922f07 100644
--- a/spritesheet_8h_source.html
+++ b/spritesheet_8h_source.html
@@ -128,7 +128,7 @@ $(document).ready(function(){initNavTree('spritesheet_8h_source.html','');});
-
+
@@ -147,101 +147,50 @@ $(document).ready(function(){initNavTree('spritesheet_8h_source.html','');});
39 typedef std::map<std::string, details::Coordinate>
SpriteMap;
-
- 42 :
public rapidjson::BaseReaderHandler<rapidjson::UTF8<>, SpriteSheetHandler>
-
-
-
-
-
- 48 bool Uint(
unsigned u);
- 49 bool Int64(int64_t i);
-
-
- 52 bool String(
const char *str, rapidjson::SizeType length,
bool copy);
-
- 54 bool Key(
const char *str, rapidjson::SizeType length,
bool copy);
-
- 56 bool EndObject(rapidjson::SizeType memberCount);
-
- 58 bool EndArray(rapidjson::SizeType memberCount);
+
+
+
+
+
+ 46 SpriteSheet(std::string pngFileName, std::string jsonFileName);
+
+ 48 void sprite(std::string spriteName)
const;
+ 49 std::string
fileContent(std::string jsonFileName)
const;
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 79 SpriteSheet(std::string pngFileName, std::string jsonFileName);
-
- 81 void sprite(std::string spriteName)
const;
-
-
-
-
-
-
-
-
-
-Coordinate coord_
Definition: spritesheet.h:65
-bool handleNumber(int i)
Definition: spritesheet.cpp:98
-Definition: spritesheet.h:76
-int image_width_
Definition: spritesheet.h:67
+
+Definition: spritesheet.h:43
Coordinate(int x_i, int y_i, int width_i, int height_i)
Definition: spritesheet.h:33
-Definition: spritesheet.h:41
-bool Uint64(uint64_t u)
Definition: spritesheet.cpp:42
-bool Null()
Definition: spritesheet.cpp:17
-SpriteSheet(std::string pngFileName, std::string jsonFileName)
-int depth_
Definition: spritesheet.h:66
-bool String(const char *str, rapidjson::SizeType length, bool copy)
Definition: spritesheet.cpp:52
-SpriteMap spriteMap() const
Definition: spritesheet.cpp:93
+SpriteSheet(std::string pngFileName, std::string jsonFileName)
Definition: spritesheet.cpp:26
-bool StartArray()
Definition: spritesheet.cpp:83
-bool Key(const char *str, rapidjson::SizeType length, bool copy)
Definition: spritesheet.cpp:57
-std::string current_image_
Definition: spritesheet.h:64
int x
Definition: spritesheet.h:26
-bool EndArray(rapidjson::SizeType memberCount)
Definition: spritesheet.cpp:88
+details::SpriteMap parseJson(int &width, int &height, const std::string &jsonContent) const
Definition: spritesheet.cpp:41
std::map< std::string, details::Coordinate > SpriteMap
Definition: spritesheet.h:39
-Texture texture_
Definition: spritesheet.h:84
+Texture texture_
Definition: spritesheet.h:52
int width
Definition: spritesheet.h:28
void sprite(std::string spriteName) const
int height
Definition: spritesheet.h:29
-int image_height_
Definition: spritesheet.h:68
-bool StartObject()
Definition: spritesheet.cpp:63
-bool EndObject(rapidjson::SizeType memberCount)
Definition: spritesheet.cpp:74
-bool Double(double d)
Definition: spritesheet.cpp:47
-std::string current_key_
Definition: spritesheet.h:63
-bool Int(int i)
Definition: spritesheet.cpp:27
+std::string fileContent(std::string jsonFileName) const
Definition: spritesheet.cpp:31
Definition: spritesheet.h:25
int y
Definition: spritesheet.h:27
-bool Uint(unsigned u)
Definition: spritesheet.cpp:32
-SpriteMap map_
Definition: spritesheet.h:69
-bool Bool(bool b)
Definition: spritesheet.cpp:22
-bool Int64(int64_t i)
Definition: spritesheet.cpp:37
-details::SpriteMap fileLocations_
Definition: spritesheet.h:85
+details::SpriteMap fileLocations_
Definition: spritesheet.h:53