Changeset 30 for trunk


Ignore:
Timestamp:
Jan 8, 2017, 10:39:00 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Windows installer now properly install AI files according build architecture to AI subdirectory.
Location:
trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Direct.pas

    r9 r30  
    77  Messg,
    88
    9   LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms;
     9  LCLIntf, LCLType, Messages, SysUtils, Classes, Graphics, Controls, Forms;
    1010
    1111const
  • trunk/Install/win/C-evo.iss

    r27 r30  
    6666Source: "{#MyAppSubDir}\Language.txt"; DestDir: "{app}"; Flags: ignoreversion
    6767Source: "{#MyAppSubDir}\Language2.txt"; DestDir: "{app}"; Flags: ignoreversion
    68 Source: "{#MyAppSubDir}\AI\lib\x86_64-win64\StdAI.dll"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
    69 Source: "{#MyAppSubDir}\AI\lib\i386-win32\StdAI.dll"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
    70 Source: "{#MyAppSubDir}\StdAI.bmp"; DestDir: "{app}"; Flags: ignoreversion;
    71 Source: "{#MyAppSubDir}\StdAI.ai.txt"; DestDir: "{app}"; Flags: ignoreversion;
     68Source: "{#MyAppSubDir}\AI\lib\x86_64-win64\StdAI.dll"; DestDir: "{app}\AI"; DestName: "StdAI-win64.dll"; Flags: ignoreversion; Check: Is64BitInstallMode
     69Source: "{#MyAppSubDir}\AI\lib\i386-win32\StdAI.dll"; DestDir: "{app}\AI"; DestName: "StdAI-win32.dll"; Flags: ignoreversion; Check: not Is64BitInstallMode
     70Source: "{#MyAppSubDir}\AI\StdAI.bmp"; DestDir: "{app}\AI"; Flags: ignoreversion;
     71Source: "{#MyAppSubDir}\AI\StdAI.ai.txt"; DestDir: "{app}\AI"; Flags: ignoreversion;
    7272; NOTE: Don't use "Flags: ignoreversion" on any shared system files
    7373
  • trunk/Integrated.lpi

    r29 r30  
    395395        <Filename Value="LocalPlayer\TechTree.pas"/>
    396396        <IsPartOfProject Value="True"/>
    397         <HasResources Value="True"/>
     397        <ComponentName Value="TechTreeDlg"/>
     398        <HasResources Value="True"/>
     399        <ResourceBaseClass Value="Form"/>
    398400      </Unit40>
    399401      <Unit41>
  • trunk/LocalPlayer/Help.pas

    r29 r30  
    966966            inc(p)
    967967          until (p > length(s)) or (s[p] = '\');
    968           if LoadLocalizedGraphicFile(ExtPic, 'Help\' + copy(s, 2, p - 2)) then
     968          if LoadLocalizedGraphicFile(ExtPic, 'Help' + DirectorySeparator + copy(s, 2, p - 2)) then
    969969          begin
    970970            MainText.AddLine('', pkExternal);
  • trunk/Start.pas

    r29 r30  
    354354  begin
    355355    BrainPicture[i] := TBitmap.Create;
    356     if not LoadGraphicFile(BrainPicture[i], HomeDir + Brain[i].FileName,
     356    if not LoadGraphicFile(BrainPicture[i], HomeDir + 'AI' + DirectorySeparator + Brain[i].FileName,
    357357      gfNoError) then
    358358    begin
Note: See TracChangeset for help on using the changeset viewer.