aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/global_cache.h
diff options
context:
space:
mode:
authorCharlie Blake2018-06-08 10:31:22 +0100
committerCharlie Blake2018-06-08 10:31:22 +0100
commit819a1064c5142a9b2f04ff8149d34fc915c18322 (patch)
tree6d0c8763ad79df10e6e6bcd30a0a974326e54e3a /src/main/game/global_cache.h
parentRemove reduced state build and logic (diff)
downloadmetasol-819a1064c5142a9b2f04ff8149d34fc915c18322.tar.gz
metasol-819a1064c5142a9b2f04ff8149d34fc915c18322.zip

Refactor legal moves gen and moves logic

Diffstat (limited to 'src/main/game/global_cache.h')
-rw-r--r--src/main/game/global_cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/game/global_cache.h b/src/main/game/global_cache.h
index b3164ea..9541100 100644
--- a/src/main/game/global_cache.h
+++ b/src/main/game/global_cache.h
@@ -11,14 +11,14 @@
#include <boost/pool/pool_alloc.hpp>
#include "sol_rules.h"
-#include "game_state.h"
+#include "search-state/game_state.h"
struct cached_game_state {
typedef std::vector<card> state_data;
typedef state_data::size_type size_type;
explicit cached_game_state(const game_state&);
- void add_pile(game_state::pile_ref, const game_state&);
+ void add_pile(pile::ref, const game_state&);
void add_card(card, const game_state&);
void add_card_divider();