11 #include "src/gameutils/openbwprocess.h" 13 #include <torchcraft/client.h> 52 std::shared_ptr<torchcraft::Client>
client_;
53 bool initialized_ =
false;
72 virtual void onStep()
override;
virtual void onStep()
Definition: replayer.h:47
Game state.
Definition: state.h:42
Definition: replayer.h:21
std::shared_ptr< torchcraft::Client > client_
Definition: replayer.h:52
bool game_ended
Definition: state.h:79
std::string replayPath
Definition: replayer.h:22
std::unique_ptr< State > state_
Definition: replayer.h:75
int combineFrames
Definition: replayer.h:24
virtual ~Replayer() override
Definition: replayer.h:65
bool isComplete()
Definition: replayer.h:43
std::unique_ptr< OpenBwProcess > openbw_
Definition: replayer.h:51
Play back a Brood War replay using OpenBW.
Definition: replayer.h:32
virtual ~TCReplayer()
Definition: replayer.h:36
Play back a Brood War replay using OpenBW.
Definition: replayer.h:61
int PlayerId
Definition: basetypes.h:21
Main namespace for bot-related code.
Definition: areainfo.cpp:17
bool forceGui
Definition: replayer.h:23
void init(int64_t randomSeed)
Definition: cherrypi.cpp:293