#ifndef _TTRTS_FILESYSTEM_H_ #define _TTRTS_FILESYSTEM_H_ #include #include #include "game.h" #define STRINGIFY(x) _STRINGIFY(x) #define _STRINGIFY(x) #x bool FileExists( const std::string& name ); void WaitForFile( const std::string& name, const std::chrono::milliseconds& time ); bool OutputGameStateFile(CTTRTSGame &game, const std::string &gameDir); CTTRTSGame GetGameFromFile( const std::string& file ); std::string getMapsDir(); std::string getGamesDir(); int runFromFilesystem(int argc, char* argv[]); #endif