Changeset 313 for trunk/Start.pas
- Timestamp:
- Mar 17, 2021, 11:11:55 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Start.pas
r304 r313 236 236 for X := 0 to 11 do 237 237 for Y := 0 to 1 do 238 Colors[x, y] := GrExt[HGrSystem].Data.Canvas.Pixels[66 + x, 67 + y];238 Colors[x, y] := HGrSystem.Data.Canvas.Pixels[66 + x, 67 + y]; 239 239 end; 240 240 … … 381 381 PrevMiniPixel: TPixelPointer; 382 382 begin 383 OwnColor := GrExt[HGrSystem].Data.Canvas.Pixels[95, 67];384 EnemyColor := GrExt[HGrSystem].Data.Canvas.Pixels[96, 67];383 OwnColor := HGrSystem.Data.Canvas.Pixels[95, 67]; 384 EnemyColor := HGrSystem.Data.Canvas.Pixels[96, 67]; 385 385 Bitmap.PixelFormat := pf24bit; 386 386 Bitmap.SetSize(Size.X * 2, Size.Y); … … 479 479 with PlayerSlots[i] do begin 480 480 DiffUpBtn := TButtonC.Create(self); 481 DiffUpBtn.Graphic := GrExt[HGrSystem].Data;481 DiffUpBtn.Graphic := HGrSystem.Data; 482 482 DiffUpBtn.left := xBrain[i] - 18; 483 483 DiffUpBtn.top := yBrain[i] + 39; … … 486 486 DiffUpBtn.OnClick := DiffBtnClick; 487 487 DiffDownBtn := TButtonC.Create(self); 488 DiffDownBtn.Graphic := GrExt[HGrSystem].Data;488 DiffDownBtn.Graphic := HGrSystem.Data; 489 489 DiffDownBtn.left := xBrain[i] - 18; 490 490 DiffDownBtn.top := yBrain[i] + 51; … … 496 496 with PlayerSlots[i] do begin 497 497 MultiBtn := TButtonC.Create(self); 498 MultiBtn.Graphic := GrExt[HGrSystem].Data;498 MultiBtn.Graphic := HGrSystem.Data; 499 499 MultiBtn.left := xBrain[i] - 18; 500 500 MultiBtn.top := yBrain[i]; … … 511 511 CustomizeBtn.ButtonIndex := 2; 512 512 513 BitBltBitmap(BrainNoTerm.Picture, 0, 0, 64, 64, GrExt[HGrSystem2].Data, 1, 111);514 BitBltBitmap(BrainSuperVirtual.Picture, 0, 0, 64, 64, GrExt[HGrSystem2].Data, 66, 111);515 BitBltBitmap(BrainTerm.Picture, 0, 0, 64, 64, GrExt[HGrSystem2].Data, 131, 111);516 BitBltBitmap(BrainRandom.Picture, 0, 0, 64, 64, GrExt[HGrSystem2].Data, 131, 46);513 BitBltBitmap(BrainNoTerm.Picture, 0, 0, 64, 64, HGrSystem2.Data, 1, 111); 514 BitBltBitmap(BrainSuperVirtual.Picture, 0, 0, 64, 64, HGrSystem2.Data, 66, 111); 515 BitBltBitmap(BrainTerm.Picture, 0, 0, 64, 64, HGrSystem2.Data, 131, 111); 516 BitBltBitmap(BrainRandom.Picture, 0, 0, 64, 64, HGrSystem2.Data, 131, 46); 517 517 LoadAiBrainsPictures; 518 518 … … 907 907 begin 908 908 BitBltCanvas(Canvas, 9 + i * 27, yLogo - 2, wOrna, hOrna, 909 GrExt[HGrSystem2].Mask.Canvas, xOrna, yOrna, SRCAND);909 HGrSystem2.Mask.Canvas, xOrna, yOrna, SRCAND); 910 910 BitBltCanvas(Canvas, 9 + i * 27, yLogo - 2, wOrna, hOrna, 911 GrExt[HGrSystem2].Data.Canvas, xOrna, yOrna, SRCPAINT);911 HGrSystem2.Data.Canvas, xOrna, yOrna, SRCPAINT); 912 912 end; 913 913 PaintLogo(Canvas, 69 + 11 * 27, yLogo, MainTexture.clBevelLight, … … 926 926 begin 927 927 BitBltCanvas(Canvas, xBrain[i] - 18, yBrain[i] + 19, 12, 14, 928 GrExt[HGrSystem].Data.Canvas, 134 + (Difficulty[i] - 1) *928 HGrSystem.Data.Canvas, 134 + (Difficulty[i] - 1) * 929 929 13, 28); 930 930 Frame(Canvas, xBrain[i] - 19, yBrain[i] + 18, xBrain[i] - 18 + 12, … … 946 946 MainTexture.clBevelShade, MainTexture.clBevelLight); 947 947 BitBltCanvas(Canvas, xBrain[i] - 31, yBrain[i], 13, 12, 948 GrExt[HGrSystem].Data.Canvas, 88, 47);948 HGrSystem.Data.Canvas, 88, 47); 949 949 end; 950 950 end; … … 991 991 begin 992 992 BitBltCanvas(Canvas, 9 + i * 27, yLogo - 2, wOrna, hOrna, 993 GrExt[HGrSystem2].Mask.Canvas, xOrna, yOrna, SRCAND);993 HGrSystem2.Mask.Canvas, xOrna, yOrna, SRCAND); 994 994 BitBltCanvas(Canvas, 9 + i * 27, yLogo - 2, wOrna, hOrna, 995 GrExt[HGrSystem2].Data.Canvas, xOrna, yOrna, SRCPAINT);995 HGrSystem2.Data.Canvas, xOrna, yOrna, SRCPAINT); 996 996 end; 997 997 PaintLogo(Canvas, 69, yLogo, MainTexture.clBevelLight,
Note:
See TracChangeset
for help on using the changeset viewer.