Changeset 189 for trunk/Packages/CevoComponents/Directories.pas
- Timestamp:
- May 7, 2020, 12:46:55 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/Directories.pas
r169 r189 10 10 11 11 function LocalizedFilePath(const Path: string): string; 12 procedure InitUnit;12 procedure UnitInit; 13 13 function GetSavedDir(Home: Boolean = False): string; 14 14 function GetMapsDir(Home: Boolean = False): string; 15 function GetGraphicsDir: string; 16 function GetSoundsDir: string; 15 17 16 18 … … 30 32 31 33 if Lang = '' then begin 32 33 34 34 for i := 1 to Paramcount - 1 do 35 if (ParamStrUTF8(i) = '--LANG') or (ParamStrUTF8(i) = '-l') or 36 (ParamStrUTF8(i) = '--lang') then 35 37 Lang := ParamStrUTF8(i + 1); 36 38 end; … … 59 61 end; 60 62 61 procedure InitUnit;63 procedure UnitInit; 62 64 var 63 65 AppDataDir: string; … … 113 115 end; 114 116 117 function GetGraphicsDir: string; 118 begin 119 Result := HomeDir + 'Graphics'; 120 end; 121 122 function GetSoundsDir: string; 123 begin 124 Result := HomeDir + 'Sounds'; 125 end; 126 115 127 end.
Note:
See TracChangeset
for help on using the changeset viewer.