1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-04-11 11:31:52 +02:00
vcmi/Odpalarka/main.cpp

14 lines
489 B
C++
Raw Normal View History

2011-09-27 21:54:40 +00:00
#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;
}