aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/game_state.h
diff options
context:
space:
mode:
authorthecharlesblake2018-01-30 19:48:52 +0000
committerthecharlesblake2018-01-30 19:48:52 +0000
commit48f464b788ef0f2be539ec05b6e370ef46cfd015 (patch)
tree786209868e2b2cc987498c7e52f338d1a18837aa /src/main/game/game_state.h
parentAdd ORDER_ON_CACHE flag to CMake script (diff)
downloadmetasol-48f464b788ef0f2be539ec05b6e370ef46cfd015.tar.gz
metasol-48f464b788ef0f2be539ec05b6e370ef46cfd015.zip

Add logic for ORDER_ON_CACHE to game_state

Diffstat (limited to 'src/main/game/game_state.h')
-rw-r--r--src/main/game/game_state.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/game/game_state.h b/src/main/game/game_state.h
index fe43d99..532eefc 100644
--- a/src/main/game/game_state.h
+++ b/src/main/game/game_state.h
@@ -58,9 +58,11 @@ private:
// Private constructor
explicit game_state(const sol_rules&);
+#ifndef ORDER_ON_CACHE
// Used to maintain pile order invariant
void eval_pile_order(pile_ref, bool);
void eval_pile_order(std::list<pile_ref>&, pile_ref, bool);
+#endif
// Used in get_legal_moves()
move get_stock_tableau_move() const;