Make client output and read in game state and order files

This commit is contained in:
mdiluzio 2015-01-03 19:27:08 +00:00
parent 18cfcff264
commit b532f1c9c8
4 changed files with 88 additions and 71 deletions

View file

@ -15,6 +15,8 @@ void WaitForFile( const std::string& name, const std::chrono::milliseconds& time
bool OutputGameStateFile(CTTRTSGame &game, const std::string &gameDir);
std::string GetOrdersFromPlayerFile(const CTTRTSGame &game, player_t &player);
CTTRTSGame GetGameFromFile( const std::string& file );
std::string getMapsDir();