mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-14 20:12:29 +00:00
* feat(app): add StormLib * feat(app): add OpenArchives * feat(util): update SFile to work with StormLib * feat(app): update SFile * feat(util): update SFile with logging (Windows only) * feat(ui): implemented termination w/o notice * chore(build): update StormLib * chore(util): replace std::string with SStr* functions * fix(stormlib): dwFlags argument for SFileOpenPatchArchive * chore(ui): add Script_* stubs * chore(util): clean up SFile::OpenEx * chore(build): update StormLib --------- Co-authored-by: Phaneron <superp00t@tutanota.com>
19 lines
450 B
C++
19 lines
450 B
C++
#ifndef UTIL_FILESYSTEM_HPP
|
|
#define UTIL_FILESYSTEM_HPP
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
void OsBuildFontFilePath(const char*, char*, size_t);
|
|
|
|
char* OsPathFindExtensionWithDot(char*);
|
|
|
|
void OsFileToNativeSlashes(char* path, size_t size = (size_t) -1);
|
|
void OsFileToForwardSlashes(char* path, size_t size = (size_t) -1);
|
|
void OsFileToBackSlashes(char* path, size_t size = (size_t) -1);
|
|
|
|
void OpenArchives();
|
|
|
|
extern void* g_mpqHandle;
|
|
|
|
#endif
|