Changeset 21 for trunk/Database.pas


Ignore:
Timestamp:
Jan 8, 2017, 3:12:18 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Run as 64-bit application. Can't load 32-bit StdAI library in 64-bit mode.
  • Fixed: Various Warnings and Hints.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Database.pas

    r10 r21  
    891891      Dist[i, j] := Distance(RareLoc[i], RareLoc[j]);
    892892
     893  ibest := 0;
     894  jbest := 0;
    893895  MinDist := Distance(0, MapSize - lx shr 1) shr 1;
    894896  for RareType := 1 to 3 do
     
    12901292
    12911293var
    1292   p1, p2, nAlive, c, Loc, Loc1, CntGood, CntGoodGrass, MinDist, Tries, i, j, n,
    1293     nsc, TestLoc, V21, V8, BestDist, TestDist, MinGood, nIrrLoc, xLoc, yLoc, qx,
    1294     qy, FineDistSQR, nRest: integer;
     1294  p1, p2, nAlive, c, Loc, Loc1, CntGood, CntGoodGrass, MinDist, i, j, n,
     1295    nsc, V21, V8, BestDist, TestDist, MinGood, nIrrLoc,
     1296    FineDistSQR, nRest: integer;
    12951297  ccount: array [0 .. lxmax * lymax - 1] of word;
    12961298  sc, StartLoc0, sccount: array [1 .. nPl] of integer;
Note: See TracChangeset for help on using the changeset viewer.