Changeset 314 for trunk/LocalPlayer/Tribes.pas
- Timestamp:
- Mar 18, 2021, 9:46:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Tribes.pas
r313 r314 5 5 6 6 uses 7 Protocol, ScreenTools, LazFileUtils, Classes, Graphics, SysUtils, Global; 7 Protocol, ScreenTools, LazFileUtils, Classes, Graphics, SysUtils, Global, 8 UGraphicSet; 8 9 9 10 type … … 14 15 15 16 TModelPicture = record 16 HGr: TGr ExtDescr;17 HGr: TGraphicSet; 17 18 pix: Integer; 18 19 xShield: Integer; … … 29 30 30 31 TTribe = class 31 symHGr: TGr ExtDescr;32 symHGr: TGraphicSet; 32 33 sympix: Integer; 33 faceHGr: TGr ExtDescr;34 faceHGr: TGraphicSet; 34 35 facepix: Integer; 35 cHGr: TGr ExtDescr;36 cHGr: TGraphicSet; 36 37 cpix: Integer; 37 38 // symbol and city graphics … … 62 63 var 63 64 Tribe: array [0 .. nPl - 1] of TTribe; 64 HGrStdUnits: TGr ExtDescr;65 HGrStdUnits: TGraphicSet; 65 66 66 67 procedure Init; … … 70 71 procedure FindStdModelPicture(Code: Integer; var pix: Integer; var Name: string); 71 72 function GetTribeInfo(FileName: string; var Name: string; var Color: TColor): Boolean; 72 procedure FindPosition(HGr: TGr ExtDescr; x, y, xmax, ymax: Integer; Mark: TColor;73 procedure FindPosition(HGr: TGraphicSet; x, y, xmax, ymax: Integer; Mark: TColor; 73 74 var xp, yp: Integer); 74 75 … … 82 83 TChosenModelPictureInfo = record 83 84 Hash: Integer; 84 HGr: TGr ExtDescr;85 HGr: TGraphicSet; 85 86 pix: Integer; 86 87 ModelName: ShortString; … … 328 329 end; 329 330 330 procedure FindPosition(HGr: TGr ExtDescr; x, y, xmax, ymax: Integer; Mark: TColor;331 procedure FindPosition(HGr: TGraphicSet; x, y, xmax, ymax: Integer; Mark: TColor; 331 332 var xp, yp: Integer); 332 333 begin … … 560 561 i: Integer; 561 562 Cnt: Integer; 562 HGr: TGr ExtDescr;563 HGr: TGraphicSet; 563 564 Used: Integer; 564 565 LeastUsed: Integer;
Note:
See TracChangeset
for help on using the changeset viewer.