From 6b32cf1706b17539597766bfb8ab454ea1e2be00 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Sun, 10 Mar 2019 03:52:47 -0400 Subject: Migrate more stuff into sim messages. --- sim.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sim.h') diff --git a/sim.h b/sim.h index e6ba025..ee03b4a 100644 --- a/sim.h +++ b/sim.h @@ -20,6 +20,7 @@ #define QUACKLE_SIM_H #include +#include #include #include "alphabetparameters.h" @@ -174,6 +175,7 @@ typedef vector SimmedMoveList; struct SimmedMoveMessage { long id; + Game game; LevelList levels; vector score; vector bingos; @@ -182,6 +184,9 @@ struct SimmedMoveMessage double wins; bool bogowin; + std::ostringstream logStream; + bool isLogging; + UVString xmlIndent; }; class Simulator @@ -310,7 +315,6 @@ protected: Rack m_partialOppoRack; Game m_originalGame; - Game m_simulatedGame; ComputerDispatch *m_dispatch; SimmedMoveList m_simmedMoves; -- cgit v1.2.3