- Merged TTileList into TScreenBuffer

- Added shortcuts to TScreenBuffer to speed up the InsertionSort
- Renamed TScreenBuffer.Store to TScreenBuffer.Insert
- Added TScreenBuffer.Add to append to the list
- Added TScreenBuffer.Sort to sort the list using MergeSort
- Changed TLandscape.FillDrawList to just append to the list and sort afterwards
- Added screen buffer invalidation on TfrmMain.OnLandscapeChanged
This commit is contained in:
2009-05-20 18:16:18 +02:00
parent 0d6c151c5f
commit 7fdfd1ee23
3 changed files with 204 additions and 117 deletions

View File

@@ -1,5 +1,5 @@
object frmMain: TfrmMain
Left = 232
Left = 229
Height = 603
Top = 126
Width = 766
@@ -1076,7 +1076,7 @@ object frmMain: TfrmMain
object MainMenu1: TMainMenu
Images = ImageList1
left = 232
top = 32
top = 33
object mnuCentrED: TMenuItem
Caption = '&CentrED'
object mnuDisconnect: TMenuItem