push temp. shito

This commit is contained in:
Arisotura
2024-04-05 23:00:19 +02:00
parent 1abc1e9cff
commit adb5760604
3 changed files with 46 additions and 39 deletions

View File

@ -188,6 +188,9 @@ enum class FileSeekOrigin
*/
struct FileHandle;
// retrieves the path to a local file, without opening the file
std::string GetLocalFilePath(const std::string& filename);
// Simple fopen() wrapper that supports UTF8.
// Can be optionally restricted to only opening a file that already exists.
FileHandle* OpenFile(const std::string& path, FileMode mode);