summaryrefslogtreecommitdiff
path: root/src/Helpers/Skin.hpp
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-05 16:30:46 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-05 16:30:46 +0200
commit1220e2d70f40139bed69602041ba373297103573 (patch)
tree49a2443cdacee9c35abfa005a5d703ba7efa6e23 /src/Helpers/Skin.hpp
parentf7610d669bcf3986827a905fc4bc03946be0b0c6 (diff)
Add loadable skin and correct some things
Diffstat (limited to 'src/Helpers/Skin.hpp')
-rw-r--r--src/Helpers/Skin.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Helpers/Skin.hpp b/src/Helpers/Skin.hpp
new file mode 100644
index 0000000..6f01f18
--- /dev/null
+++ b/src/Helpers/Skin.hpp
@@ -0,0 +1,17 @@
+#include <SFML/Graphics/Color.hpp>
+#include <string>
+#include <vector>
+#include <fstream>
+#include <iostream>
+
+
+namespace skin{
+
+ std::vector<sf::Color> loadSkin(std::string skinName);
+
+ std::vector<std::string> removeComments(std::vector<std::string> linesVector);
+
+ bool containOnlySpace(std::string line);
+
+ std::vector<int> extractRGBA(std::string line);
+}