structural changes + a repo of a bunch of patterns to choose from

This commit is contained in:
MitchellHansen
2017-04-08 21:20:09 -07:00
parent efc9c34ebe
commit 66ca187f45
1552 changed files with 87287 additions and 25 deletions

34
include/Decoder.h Normal file
View File

@@ -0,0 +1,34 @@
#pragma once
#include <iostream>
#include <experimental/filesystem>
#include <vector>
#include <SFML/Graphics.hpp>
struct pattern_info {
std::string title;
std::string author;
std::string comments;
sf::Vector2i dimensions;
char *pattern;
};
class Decoder {
public:
Decoder();
~Decoder();
pattern_info decodePattern(std::string pattern);
std::vector<std::string> getPatternList();
private:
std::vector<std::string> pattern_list;
};