From b4e12810394d8b1c024ba81ebb0810ab425bdc45 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sat, 2 Jan 2016 00:50:22 +0000 Subject: add and prepare for further paths git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3169 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/UPathUtils.pas | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/base/UPathUtils.pas b/src/base/UPathUtils.pas index 2bfcde42..b568a22d 100644 --- a/src/base/UPathUtils.pas +++ b/src/base/UPathUtils.pas @@ -54,6 +54,10 @@ var FontPath: IPath; ResourcesPath: IPath; PlaylistPath: IPath; + WebsitePath: IPath; + WebScoresPath: IPath; + SoundFontsPath: IPath; + AvatarsPath: IPath; function FindPath(out PathResult: IPath; const RequestedPath: IPath; NeedsWritePermission: boolean): boolean; procedure InitializePaths; @@ -173,7 +177,11 @@ begin FindPath(VisualsPath, SharedPath.Append('visuals'), false); FindPath(FontPath, SharedPath.Append('fonts'), false); FindPath(ResourcesPath, SharedPath.Append('resources'), false); - +{ add later as required + FindPath(WebsitePath, SharedPath.Append('webs'), false); + FindPath(SoundFontsPath, SharedPath.Append('soundfonts'), false); + FindPath(AvatarsPath, SharedPath.Append('avatars'), false); +} // Playlists are not shared as we need one directory to write too FindPath(PlaylistPath, UserPath.Append('playlists'), true); -- cgit v1.2.3