From dbcb13d3c87133117bc54023c162ad0a202efa1d Mon Sep 17 00:00:00 2001 From: John Fultz Date: Tue, 2 Aug 2016 04:08:43 -0500 Subject: Fixes to allow bad endgames to be loaded from GCGs. Not perfect, but it now does a decent job of not corrupting GCGs when it loads one where players have messed up tile counts/drawing in the end-game. It also tries to annotate these for the player and in any GCG file that's round-tripped. Also, a lot of C++11-izing of ranged iterators. --- move.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'move.h') diff --git a/move.h b/move.h index e628b52..3e0d396 100644 --- a/move.h +++ b/move.h @@ -43,7 +43,7 @@ namespace Quackle class Move { public: - enum Action { Place = 0, Exchange, BlindExchange, Pass, UnusedTilesBonus, TimePenalty, Nonmove }; + enum Action { Place = 0, PlaceError, Exchange, BlindExchange, Pass, UnusedTilesBonus, UnusedTilesBonusError, TimePenalty, Nonmove }; // creates a pass move with 0 equity; // tiles is "", score and equity are zero -- cgit v1.2.3