- Added TLandscape.OnMapChanged to handle changes to map tiles

- Reenabled terrain, statics, nodraw and flat toggles
- Fixed editing target list generation (in OnMouseUp) to only consider "normal" tiles, use their correct new order and the CanBeEdited attribute
- Removed obsolete TfrmMain.CanBeModified
This commit is contained in:
2009-08-03 19:32:03 +02:00
parent 2ea8601402
commit 1f1f5ac7b4
3 changed files with 65 additions and 14 deletions

View File

@@ -946,6 +946,7 @@ object frmMain: TfrmMain
ParentShowHint = False
ShowHint = True
Style = tbsCheck
OnClick = tbTerrainClick
end
object tbStatics: TToolButton
Left = 300
@@ -957,6 +958,7 @@ object frmMain: TfrmMain
ParentShowHint = False
ShowHint = True
Style = tbsCheck
OnClick = tbStaticsClick
end
object tbSeparator4: TToolButton
Left = 369