Changeset 451 for trunk


Ignore:
Timestamp:
Jul 30, 2022, 3:38:26 PM (21 months ago)
Author:
chronos
Message:
  • Added: Support for ARM 32-bit and 64-bit architectures for loading StdAI and other AIs.
Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/AI/StdAI/StdAI.ai.txt

    r124 r451  
    55#PATH_WIN32 StdAI-win32.dll
    66#PATH_WIN64 StdAI-win64.dll
    7 #PATH_LINUX32 libstdai-i386.so
    8 #PATH_LINUX64 libstdai-amd64.so
     7#PATH_LINUX_I386 libstdai-i386.so
     8#PATH_LINUX_AMD64 libstdai-amd64.so
     9#PATH_LINUX_ARM32 libstdai-arm32.so
     10#PATH_LINUX_ARM64 libstdai-arm64.so
    911#CREDITS Standard AI by Steffen Gerlach.
  • trunk/Database.pas

    r447 r451  
    16711671    if RealMap[Loc1] and fterrain>=fGrass then
    16721672    if Delphirandom(3)=0 then RealMap[Loc1]:=RealMap[Loc1] or fRoad
    1673     else if Delphirandom(3)=0 then RealMap[Loc1]:=RealMap[Loc1] or fRR;
     1673    else if Delphirandom(3)=0 then RealMap[Loc1]:=RealMap[Loc1] or fRR;}
    16741674    {random Road and Railroad }
    16751675  { !!!for Loc1:=0 to MapSize-1 do
  • trunk/UBrain.pas

    r447 r451  
    125125      DLLName := BasePath + DirectorySeparator + Value
    126126    {$ENDIF}{$ENDIF}
    127     {$IFDEF UNIX}{$IFDEF CPU32}
    128     else if Key = '#PATH_LINUX32' then
    129       DLLName := BasePath + DirectorySeparator + Value
    130     {$ENDIF}{$ENDIF}
    131     {$IFDEF UNIX}{$IFDEF CPU64}
    132     else if Key = '#PATH_LINUX64' then
     127    {$IFDEF UNIX}{$IFDEF CPUI386}
     128    else if Key = '#PATH_LINUX_I386' then
     129      DLLName := BasePath + DirectorySeparator + Value
     130    {$ENDIF}{$ENDIF}
     131    {$IFDEF UNIX}{$IFDEF CPUAMD64}
     132    else if Key = '#PATH_LINUX_AMD64' then
     133      DLLName := BasePath + DirectorySeparator + Value
     134    {$ENDIF}{$ENDIF}
     135    {$IFDEF UNIX}{$IFDEF CPUARM}
     136    else if Key = '#PATH_LINUX_ARM32' then
     137      DLLName := BasePath + DirectorySeparator + Value
     138    {$ENDIF}{$ENDIF}
     139    {$IFDEF UNIX}{$IFDEF CPUAARCH64}
     140    else if Key = '#PATH_LINUX_ARM64' then
    133141      DLLName := BasePath + DirectorySeparator + Value
    134142    {$ENDIF}{$ENDIF}
Note: See TracChangeset for help on using the changeset viewer.