From a1a21037c465a1a01b2ca13b70f89becfc93546e Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 12 Aug 2025 13:26:06 -0400 Subject: add move box --- quacker/macondo.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'quacker/macondo.h') diff --git a/quacker/macondo.h b/quacker/macondo.h index 82505d5..18441b5 100644 --- a/quacker/macondo.h +++ b/quacker/macondo.h @@ -7,18 +7,21 @@ class QPushButton; class QTimer; namespace Quackle { class Game; - class Move; + class MoveList; } class MacondoBackend; - +struct MacondoInitOptions; +class MoveBox; class Macondo : public QWidget { Q_OBJECT public: Macondo(Quackle::Game *); + ~Macondo(); + void setGame(Quackle::Game *); public slots: void simulate(); private slots: - void gotSimMoves(const std::vector &moves); + void gotSimMoves(const Quackle::MoveList &moves); private: enum class Command { None, @@ -26,9 +29,12 @@ private: Solve, }; QPushButton *m_simulateButton; + Quackle::Game *m_game; MacondoBackend *m_backend; int m_viewingPlyNumber = 0; Command m_command = Command::None; + MoveBox *m_moveBox; + std::unique_ptr initOptions; }; #endif -- cgit v1.2.3