Changeset 189 for trunk/LocalPlayer/Help.pas
- Timestamp:
- May 7, 2020, 12:46:55 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Help.pas
r188 r189 5 5 6 6 uses 7 Protocol, ScreenTools, BaseWin, StringTables, Math, 8 L CLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms,9 ExtCtrls,ButtonB, PVSB, Types, fgl;7 Protocol, ScreenTools, BaseWin, StringTables, Math, LCLIntf, LCLType, 8 LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls, 9 ButtonB, PVSB, Types, fgl; 10 10 11 11 const … … 123 123 HelpDlg: THelpDlg; 124 124 125 125 126 implementation 126 127 127 128 uses 128 Directories, ClientTools, Term, Tribes, Inp, Messg, PixelPointer ;129 Directories, ClientTools, Term, Tribes, Inp, Messg, PixelPointer, Global; 129 130 130 131 {$R *.lfm} … … 1229 1230 List := TStringList.Create; 1230 1231 Plus := TStringList.Create; 1231 if FindFirst( HomeDir + 'Graphics'+ DirectorySeparator + '*.credits.txt', $27, sr) = 0 then1232 if FindFirst(GetGraphicsDir + DirectorySeparator + '*.credits.txt', $27, sr) = 0 then 1232 1233 repeat 1233 Plus.LoadFromFile( HomeDir + 'Graphics'+ DirectorySeparator + sr.Name);1234 Plus.LoadFromFile(GetGraphicsDir + DirectorySeparator + sr.Name); 1234 1235 List.AddStrings(Plus); 1235 1236 until FindNext(sr) <> 0; … … 1262 1263 begin 1263 1264 List := TStringList.Create; 1264 List.LoadFromFile( HomeDir + 'Sounds'+ DirectorySeparator + 'sound.credits.txt');1265 List.LoadFromFile(GetSoundsDir + DirectorySeparator + 'sound.credits.txt'); 1265 1266 for i := 0 to List.Count - 1 do begin 1266 1267 s := List[i]; … … 1948 1949 case Link and $FF of 1949 1950 1: OpenDocument(pchar(HomeDir + 'AI Template' + DirectorySeparator + 'AI development manual.html')); 1950 2: OpenURL( 'http://c-evo.org');1951 3: OpenURL( 'http://c-evo.org/_sg/contact');1951 2: OpenURL(CevoHomepage); 1952 3: OpenURL(CevoHomepageContact); 1952 1953 end 1953 1954 else
Note:
See TracChangeset
for help on using the changeset viewer.