Changeset 404 for trunk/Forms/FormClient.pas
- Timestamp:
- Jan 6, 2025, 10:21:08 PM (10 months ago)
- File:
- 
      - 1 edited
 
 - 
          
  trunk/Forms/FormClient.pas (modified) (7 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/Forms/FormClient.pasr375 r404 7 7 Game, LCLType, Menus, ActnList, ComCtrls, dateutils, XMLConf, DOM, Math, 8 8 Geometry, GameClient, GameProtocol, Threading, Player, ClientGUI, FormEx, 9 Generics.Collections ;9 Generics.Collections, View; 10 10 11 11 const … … 75 75 FClient: TClientGUI; 76 76 TempBitmap: TBitmap; 77 TempView: TView; 77 78 StartMousePoint: TPoint; 78 79 StartViewPoint: TPoint; … … 186 187 CountP: TPoint; 187 188 X, Y: Integer; 188 TempView: TView;189 189 begin 190 190 DrawStart := Now; … … 205 205 206 206 if Game.CyclicMap then begin 207 TempView := TView.Create;208 207 TempView.Game := Game; 209 208 //R := View.CellToCanvasRect(TRect.Create(Game.Map.Cells.First.PosPx, … … 278 277 end; 279 278 end; 280 TempView.Free;281 279 for Y := 0 to CountP.Y do begin 282 280 for X := 0 to CountP.X do begin … … 432 430 //DoubleBuffered := True; 433 431 TempBitmap := TBitmap.Create; 432 TempView := TView.Create; 434 433 TimerPeriod := 0; 435 434 LastTimerTime := Now; … … 518 517 begin 519 518 Client := nil; 520 TempBitmap.Free; 519 FreeAndNil(TempBitmap); 520 FreeAndNil(TempView); 521 521 end; 522 522 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
