summaryrefslogtreecommitdiff
path: root/move.cpp
AgeCommit message (Collapse)Author
2020-06-17Xcode compiler warnings.John Fultz
* Replace std::random_shuffle() with std::shuffle(). * Populate switch statements which were checking the Move enums, but not Move::PlaceError. * endl -> Qt::endl for QTextStream usage. * QString::SkipEmptyParts -> Qt::SkipEmptyParts * QLabel::pixmap() now takes Qt::ReturnByValue * Use QElapsedTimer where appropriate.
2019-07-21Code cleanup.John Fultz
Remove unneeded constructors and use member initializers for Move, MoveList.
2019-02-04Update a few bits of text still referring to GPL2.John Fultz
2016-08-02Fixes to allow bad endgames to be loaded from GCGs.John Fultz
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.
2016-07-03Fix miscomputed tiles-in-bag in a game with a blind exchange.John Fultz
2016-07-03Fix problems with "ex n" where n is a number.John Fultz
Found a crash where you enter "ex 4" twice, and it would crash. This led me to look up how this was implemented, and it wasn't very robust. It also didn't save properly in the GCG. So I created a new move type which I called a BlindExchange and implemented it throughout the system.
2013-11-03Make clang happy (for Mavericks)Matt Liberty
2013-08-25Initial git commit.Jason Katz-Brown