Changeset 312 for trunk/LocalPlayer


Ignore:
Timestamp:
Mar 17, 2021, 10:42:18 AM (4 years ago)
Author:
chronos
Message:
  • Modified: TGrExtDescr record changed to class. GrExt changed to dynamic array.
Location:
trunk/LocalPlayer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r310 r312  
    25462546          Jump[0] := 999999;
    25472547        GameMode := Command;
    2548         for i := 0 to nGrExt - 1 do
    2549           FillChar(GrExt[i].pixUsed, GrExt[i].Data.height div 49 * 10, 0);
     2548        for i := 0 to GrExt.Count - 1 do
     2549          GrExt[i].ResetPixUsed;
    25502550        IsoEngine.Reset;
    25512551        Tribes.Init;
  • trunk/LocalPlayer/Tribes.pas

    r301 r312  
    623623      ok := True;
    624624      TestPic.GrName := Copy(Input, 8, 255) + '.png';
    625       HGr := nGrExt - 1;
     625      HGr := GrExt.Count - 1;
    626626      while (HGr >= 0) and (GrExt[HGr].Name <> TestPic.GrName) do
    627627        Dec(HGr);
Note: See TracChangeset for help on using the changeset viewer.