11 #include "fifopipes.h" 13 #include "openbwprocess.h" 14 #include "torchcraftclient.h" 16 #include "utils/syntax.h" 17 #include <torchcraft/client.h> 29 CPI_ARG(torchcraft::BW::Race, race);
36 CPI_ARG(std::string, replayPath);
37 CPI_ARG(
bool, forceGui) =
false;
49 std::string
const& map,
53 std::string
const& replayPath = std::string(),
54 bool forceGui =
false);
56 std::shared_ptr<torchcraft::Client> makeClient1(
58 std::shared_ptr<torchcraft::Client> makeClient2(
63 std::shared_ptr<OpenBwProcess>
proc1_;
64 std::shared_ptr<OpenBwProcess>
proc2_;
82 std::shared_ptr<torchcraft::Client> makeClient(
86 std::unique_ptr<OpenBwProcess> startProcess()
const;
87 std::unique_ptr<OpenBwProcess>
proc_;
93 std::string
const& map,
94 std::string
const& race,
95 bool forceGui =
false);
99 std::string enemyRace = std::string(),
100 bool forceGui =
false);
GamePlayerOptions(torchcraft::BW::Race race)
Definition: game.h:28
A constructed gameplay scenario for training/testing purposes.
Definition: game.h:74
GameType
Definition: gametype.h:12
std::shared_ptr< OpenBwProcess > proc2_
Definition: game.h:64
std::shared_ptr< OpenBwProcess > proc1_
Definition: game.h:63
CPI_ARG(torchcraft::BW::Race, race)
Definition: fifopipes.h:14
GameSinglePlayer GameSinglePlayerMelee(std::string map, std::string myRace, std::string enemyRace=std::string(), bool forceGui=false)
Definition: gamesingleplayer.cpp:68
GameOptions(std::string map)
Definition: game.h:34
GameSinglePlayer GameSinglePlayerUMS(std::string const &map, std::string const &race, bool forceGui=false)
Definition: gamesingleplayer.cpp:60
detail::FifoPipes pipes_
Definition: game.h:62
Main namespace for bot-related code.
Definition: areainfo.cpp:17
std::unique_ptr< OpenBwProcess > proc_
Definition: game.h:87