Changeset 707
- Timestamp:
- Aug 19, 2025, 9:36:23 PM (25 hours ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MiniMap.pas
r704 r707 200 200 else CM := Colors[Tile and fTerrain, I]; 201 201 if (PByte(MiniPixel.Pixel) >= Bitmap.RawImage.Data) and 202 (PByte(MiniPixel.Pixel) < (Bitmap.RawImage.Data + YY * MiniPixel.BytesPerLine) ) then begin202 (PByte(MiniPixel.Pixel) < (Bitmap.RawImage.Data + YY * MiniPixel.BytesPerLine) - 1) then begin 203 203 MiniPixel.PixelB := (CM shr 16) and $ff; 204 204 MiniPixel.PixelG := (CM shr 8) and $ff; -
trunk/Settings.pas
r681 r707 6 6 Classes, SysUtils, FileUtil, Dialogs, LCLProc, ScreenTools, Messg, ButtonA, 7 7 Directories, DrawDlg, ButtonC, KeyBindings, Languages, ListBoxEx, 8 {$IFDEF DPI}Dpi.Forms, Dpi.Controls, Dpi.Graphics, Dpi.StdCtrls , System.UITypes{$ELSE}8 {$IFDEF DPI}Dpi.Forms, Dpi.Controls, Dpi.Graphics, Dpi.StdCtrls{$ELSE} 9 9 Forms, Controls, Graphics, StdCtrls{$ENDIF}, Controls; 10 10 … … 56 56 LocalGamma: Integer; 57 57 LocalKeyBindings: TKeyBindings; 58 LocalMusicEnabled: Integer;59 58 LocalMusicVolume: Integer; 60 59 CurrentKeyBinding: TKeyBinding; -
trunk/Start.pas
r685 r707 5 5 6 6 uses 7 GameServer, Messg, ButtonBase, ButtonA, ButtonC, ButtonB, Area, Types,8 LCLIntf, LCLType, SysUtils, Classes, BaseWin, ListBoxEx, LazFileUtils, 7 GameServer, Messg, ButtonBase, ButtonA, ButtonC, ButtonB, Area, 8 LCLIntf, LCLType, SysUtils, Classes, BaseWin, ListBoxEx, LazFileUtils, Math, 9 9 Registry, DrawDlg, Generics.Collections, Protocol, MiniMap, Brain, Translator, 10 10 {$IFDEF DPI}System.UITypes, Dpi.Graphics, Dpi.Controls, Dpi.Forms, Dpi.StdCtrls, … … 520 520 r0, r1: HRgn; 521 521 Location: TPoint; 522 Shift: TPoint; 522 523 begin 523 524 if FullScreen then begin 524 Location := Point(Screen.PrimaryMonitor.Left + (Screen.PrimaryMonitor.Width - 800) * 3 div 8, 525 Screen.PrimaryMonitor.Top + Screen.PrimaryMonitor.Height - Height - (Screen.PrimaryMonitor.Height - 600) div 3); 525 Shift := Point(((Screen.PrimaryMonitor.Width - Min(Screen.PrimaryMonitor.Width, 800)) * 3 div 8), 526 (Screen.PrimaryMonitor.Height - Min(Screen.PrimaryMonitor.Height, 600)) div 3); 527 Location := Point(Screen.PrimaryMonitor.Left + Shift.X, 528 Screen.PrimaryMonitor.Top + Screen.PrimaryMonitor.Height - Height - Shift.Y); 526 529 BoundsRect := Bounds(Location.X, Location.Y, Width, Height); 527 530
Note:
See TracChangeset
for help on using the changeset viewer.