+ 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;
+ }
+
+ /** Returns full path for user progress save */
+ static inline std::string getUserSavePath()
+ {
+ return getUserDataPath() + "/users";
+ }
+
+ static bool makeDirectory(const std::string& path);