mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-11 11:31:52 +02:00
14 lines
489 B
C++
14 lines
489 B
C++
|
#include "../global.h"
|
||
|
#include <boost/thread.hpp>
|
||
|
#include <boost/bind.hpp>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
boost::thread t(boost::bind(std::system, "VCMI_server.exe b1.json StupidAI StupidAI"));
|
||
|
boost::thread tt(boost::bind(std::system, "VCMI_BattleAiHost.exe"));
|
||
|
boost::thread ttt(boost::bind(std::system, "VCMI_BattleAiHost.exe"));
|
||
|
boost::thread tttt(boost::bind(std::system, "VCMI_BattleAiHost.exe"));
|
||
|
boost::this_thread::sleep(boost::posix_time::seconds(5));
|
||
|
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|