Changeset 561 for trunk/LocalPlayer


Ignore:
Timestamp:
Apr 28, 2024, 12:39:51 AM (8 months ago)
Author:
chronos
Message:
  • Fixed: Resize Term window offscreen bitmap on screen size change. Needed for tablet PC where screen can rotate.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r559 r561  
    17291729  UnusedTribeFiles := TStringList.Create;
    17301730  UnusedTribeFiles.Sorted := True;
    1731   TribeNames := tstringlist.Create;
     1731  TribeNames := TStringList.Create;
    17321732
    17331733  IsoEngine.Init(InitEnemyModel);
     
    56245624          PaintLocTemp(MyUn[UnFocus].Loc, pltsBlink);
    56255625          PaintDestination;
    5626           // if MoveHintToLoc>=0 then
    5627           // ShowMoveHint(MoveHintToLoc, true);
     5626          // if MoveHintToLoc >= 0 then
     5627          // ShowMoveHint(MoveHintToLoc, True);
    56285628        end;
    56295629      end
     
    82878287  MiniFrame, MaxMapWidth: Integer;
    82888288begin
     8289  BaseWin.CreateOffscreen(Offscreen);
    82898290  SmallScreen := Width < 1024;
    82908291  with MainMap do begin
Note: See TracChangeset for help on using the changeset viewer.