2019-10-21 19:36:05 +00:00
|
|
|
#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();
|
2019-11-01 23:38:30 +00:00
|
|
|
FString M_GetDemoPath();
|
2019-10-21 19:36:05 +00:00
|
|
|
|
2019-10-29 18:53:46 +00:00
|
|
|
|
2019-10-21 19:36:05 +00:00
|
|
|
#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__
|