From d7f6316bc982ce54fb83128cf0b59e9910da8263 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Thu, 24 Jan 2019 18:58:48 +0000 Subject: Split code into 3 files The code that used to reside in `metasol.cpp` has been split between `metasol.h`, `centre.cpp`, and the original file. --- src/main/api.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/main/api.h') diff --git a/src/main/api.h b/src/main/api.h index e454816..2140d8e 100644 --- a/src/main/api.h +++ b/src/main/api.h @@ -7,16 +7,9 @@ #include "game/sol_rules.h" #include "game/card.h" -// just for now, until I construct my own rules stuff: -#include "input-output/input/json-parsing/rules_parser.h" - typedef std::vector> piles; typedef std::vector movelist; -enum finished_state { - SOLUTION_FOUND, NO_SOLUTION, TIMEOUT, SOLVER_OOM, CANCELLED -}; - class game_state { public: game_state(const sol_rules&, piles); -- cgit v1.2.1