32 #ifndef AGS_ENGINE_AC_PATH_HELPER_H 33 #define AGS_ENGINE_AC_PATH_HELPER_H 35 #include "ags/shared/util/path.h" 39 using AGS::Shared::String;
42 extern const char *UserSavedgamesRootToken;
43 extern const char *GameSavedgamesDirToken;
44 extern const char *GameDataDirToken;
45 extern const char *DefaultConfigFileName;
49 void FixupFilename(
char *filename);
63 : BaseDir(base), SubDir(subdir),
64 FullDir(AGS::Shared::Path::ConcatPaths(base, subdir)) {
66 inline bool IsValid()
const {
67 return !FullDir.IsEmpty();
71 return FSLocation(BaseDir, AGS::Shared::Path::ConcatPaths(FullDir, path));
75 return FSLocation(BaseDir, AGS::Shared::Path::ConcatPaths(BaseDir, path));
101 bool AssetMgr =
false;
104 : FullPath(file), AltPath(alt) {
107 : Loc(loc), FullPath(AGS::Shared::Path::ConcatPaths(loc.FullDir, file)), AltPath(alt) {
Definition: path_helper.h:55
Definition: path_helper.h:97