diff options
author | John Fultz <jfultz@wolfram.com> | 2019-03-10 03:52:47 -0400 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2019-07-21 02:02:55 -0700 |
commit | 6b32cf1706b17539597766bfb8ab454ea1e2be00 (patch) | |
tree | 1d376b6ccf543f8ef6ab4da078a47796deec4627 /sim.h | |
parent | c5ae5d1137b9456fcb0b2e9e83c1bfc126522e92 (diff) |
Migrate more stuff into sim messages.
Diffstat (limited to 'sim.h')
-rw-r--r-- | sim.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,6 +20,7 @@ #define QUACKLE_SIM_H #include <atomic> +#include <sstream> #include <vector> #include "alphabetparameters.h" @@ -174,6 +175,7 @@ typedef vector<SimmedMove> SimmedMoveList; struct SimmedMoveMessage { long id; + Game game; LevelList levels; vector<double> score; vector<double> 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; |