Ignore:
Timestamp:
Dec 26, 2019, 12:09:50 AM (5 years ago)
Author:
chronos
Message:
  • Added: Support for bigger map tile size.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r173 r182  
    2626
    2727  TMainScreen = class(TDrawDlg)
     28    mBigTiles: TMenuItem;
    2829    Timer1: TTimer;
    2930    GamePopup: TPopupMenu;
     
    218219    procedure mSmallTilesClick(Sender: TObject);
    219220    procedure mNormalTilesClick(Sender: TObject);
     221    procedure mBigTilesClick(Sender: TObject);
    220222    procedure GrWallBtnDownChanged(Sender: TObject);
    221223    procedure BareBtnDownChanged(Sender: TObject);
     
    14891491        MiniColors[x, y] := GrExt[HGrSystem].Data.Canvas.Pixels[66 + x, 67 + y];
    14901492    IsoEngine.Init(InitEnemyModel);
    1491     if not IsoEngine.ApplyTileSize(xxt, yyt) and ((xxt <> 48) or (yyt <> 24))
     1493    if not IsoEngine.ApplyTileSize(xxt, yyt) and ((xxt <> 48) or (yyt <> 24) or (xxt <> 72))
    14921494    then
    14931495      ApplyTileSize(48, 24);
     
    73247326    mSmallTiles.Checked := xxt = 33;
    73257327    mNormalTiles.Checked := xxt = 48;
     7328    mBigTiles.Checked := xxt = 72;
    73267329  end
    73277330  else if Popup = StatPopup then
     
    79937996end;
    79947997
     7998procedure TMainScreen.mBigTilesClick(Sender: TObject);
     7999begin
     8000  SetTileSize(72, 36);
     8001end;
     8002
    79958003procedure TMainScreen.SetTileSize(x, y: integer);
    79968004var
Note: See TracChangeset for help on using the changeset viewer.