Changeset 425 for trunk/LocalPlayer
- Timestamp:
- Apr 26, 2022, 7:34:12 PM (3 years ago)
- Location:
- trunk/LocalPlayer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/MessgEx.pas
r358 r425 13 13 mikPureIcon, mikMyArmy, mikEnemyArmy, mikFullControl, mikShip, mikBigIcon, 14 14 mikEnemyShipComplete); 15 16 { TMessgExDlg } 15 17 16 18 TMessgExDlg = class(TBaseMessgDlg) … … 57 59 ContextKind, ContextNo: integer); 58 60 61 59 62 implementation 60 63 … … 220 223 wScrewed = 43; 221 224 hScrewed = 27; 225 type 226 TScrewed = array [0 .. wScrewed - 1, 0 .. hScrewed - 1, 0 .. 3] of Single; 222 227 var 223 228 ix, iy, xDst, yDst, dx, dy, xIcon, yIcon: integer; 224 229 BookRect: TRect; 225 230 x1, xR, yR, share: single; 226 Screwed: array [0 .. wScrewed - 1, 0 .. hScrewed - 1, 0 .. 3] of single;231 Screwed: TScrewed; 227 232 SrcPtr: TPixelPointer; 228 233 Width: Integer; … … 235 240 yIcon := (IconIndex + SystemIconLines * 7) div 7 * ySizeBig; 236 241 // prepare screwed icon 237 FillChar(Screwed, sizeof(Screwed), 0);242 Screwed := Default(TScrewed); 238 243 BigImp.BeginUpdate; 239 244 SrcPtr := PixelPointer(BigImp, ScaleToNative(xIcon), ScaleToNative(yIcon)); -
trunk/LocalPlayer/Term.pas
r423 r425 383 383 procedure PaintZoomedTile(dst: TBitmap; x, y, Loc: integer); 384 384 public 385 UsedOffscreenWidth, UsedOffscreenHeight: integer; 385 UsedOffscreenWidth: Integer; 386 UsedOffscreenHeight: Integer; 386 387 Offscreen: TBitmap; 387 388 OffscreenUser: TForm; … … 2843 2844 ClientHeight - PanelHeight, 64, 64, AILogo[pLogo].Canvas, 2844 2845 0, 0); 2845 end 2846 end 2846 end; 2847 end; 2847 2848 end; 2848 2849 … … 7701 7702 procedure TMainScreen.Toggle(Sender: TObject); 7702 7703 begin 7703 TMenuItem(Sender).Checked := not TMenuItem(Sender).Checked 7704 TMenuItem(Sender).Checked := not TMenuItem(Sender).Checked; 7704 7705 end; 7705 7706
Note:
See TracChangeset
for help on using the changeset viewer.