]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Utils/Folders.hpp
Console: Return gracefully when loading missing level
[lugaru.git] / Source / Utils / Folders.hpp
index 9ecf9e0219eb47395c0d2ea449ed4b3abcbcc48a..d812d10295db6fcc8b05785002e253d7306af48a 100644 (file)
@@ -56,6 +56,8 @@ public:
 
     static FILE* openMandatoryFile(const std::string& filename, const char* mode);
 
+    static bool file_exists(const std::string& filepath);
+
     /* Returns full path for a game resource */
     static inline std::string getResourcePath(const std::string& filepath)
     { return dataDir + '/' + filepath; }