summaryrefslogtreecommitdiff
path: root/sim.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim.h')
-rw-r--r--sim.h6
1 files changed, 5 insertions, 1 deletions
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 <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;