Basic config system from a json file but it's got serious issues. Can't copy construct it because of the variable blocking copying, and it can't even be put into the dinkyecs in any way.
This commit is contained in:
parent
24b1e4a500
commit
0ba789697a
7 changed files with 93 additions and 5 deletions
|
@ -59,10 +59,6 @@ TEST_CASE("test out ragel parser", "[gui]") {
|
|||
|
||||
bool good = parser.parse(colors, [&](sf::Color bgcolor, sf::Color color, wchar_t ch) {
|
||||
bool correct_char = ch == '#' || ch == ' ' || ch == '\n' || ch == '\r';
|
||||
// println("FG: {},{},{},{}; BG: {},{},{},{}; ch: {}",
|
||||
// color.r, color.g, color.b, color.a,
|
||||
// bgcolor.r, bgcolor.g, bgcolor.b, bgcolor.a,
|
||||
// int(ch));
|
||||
REQUIRE(correct_char);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue