mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
ac87665972
So far implemented for scanning search paths
22 lines
648 B
C
22 lines
648 B
C
#pragma once
|
|
|
|
#include "zstring.h"
|
|
|
|
#ifdef __unix__
|
|
FString GetUserFile (const char *path);
|
|
#endif
|
|
FString M_GetAppDataPath(bool create);
|
|
FString M_GetAutoexecPath();
|
|
FString M_GetConfigPath(bool for_reading);
|
|
FString M_GetScreenshotsPath();
|
|
FString M_GetSavegamesPath();
|
|
FString M_GetDocumentsPath();
|
|
|
|
#ifdef _WIN32
|
|
int ReadRegistryValue(char const* const SubKey, char const* const Value, char* const Output, unsigned long* OutputSize);
|
|
#endif
|
|
|
|
#ifdef __APPLE__
|
|
FString M_GetMacAppSupportPath(const bool create = true);
|
|
void M_GetMacSearchDirectories(FString& user_docs, FString& user_app_support, FString& local_app_support);
|
|
#endif // __APPLE__
|