Commit Graph

115 Commits

Author SHA1 Message Date
Andreas Schneider 97c8270b38 🐛 Fix Undo handling 2022-05-22 11:27:27 +02:00
Andreas Schneider 1bfbc2e11e ⬆️ Update to Lazarus 2.2 and FreePascal 3.2.2 2022-05-07 10:51:52 +02:00
Andreas Schneider 39280f927b * Fixed drop down toolbar buttons to correct their state
* Added terrain grid (ported from CentrED+; Thanks to StaticZ!)
2015-05-17 12:39:57 +02:00
Andreas Schneider d334728b6c * Fixed memory corruption in frmMain (caused by heContrns)
* Added range selection to frmBoundaries
2015-05-13 19:02:33 +02:00
Andreas Schneider 609ff53253 * Added X/Y boundaries 2015-05-11 19:30:23 +02:00
Andreas Schneider ffd0cc1028 * Added advanced statics filter (thanks to StaticZ) 2015-05-10 19:48:52 +02:00
Andreas Schneider 484bd5523f * Migrated resources from custom resource manager to windows/lazarus resources (requires windres now!)
* Bumped version to 0.7
2015-05-10 18:20:40 +02:00
Andreas Schneider f3f5d12c2f * Added colored lights (thanks to StaticZ :-)) 2015-05-10 11:42:05 +02:00
Andreas Schneider 829a604c30 * Added password change support (references #95)
* Fixed 64bit support
* Repaired line endings
* Bumped protocol version
2013-11-20 18:12:52 +01:00
Andreas Schneider 940e81f123 * Replaced fgl with heContnrs
* Fixed behavior of the undo packet list (fixes #88)
2012-01-14 17:58:59 +01:00
Andreas Schneider 88e18b7659 * Fixed compilation with current Lazarus/LCL 2011-12-03 18:48:15 +01:00
Andreas Schneider abe62e13b8 - Changed the hue change mechanic (store the info in the ScreenBuffer instead of a separate list) (refs #66) 2011-03-30 20:52:24 +02:00
Andreas Schneider 4c76aafe47 - Fixed loading of hue presets
- Fixed random pane sliding out of the main window
2011-03-29 22:57:11 +02:00
Andreas Schneider bfe71ae93f - Store used (random) hues for consistent behavior on commit (refs #66) 2011-03-29 21:51:17 +02:00
Andreas Schneider 8bebb92300 - Added saving and loading of hue presets (refs #66) 2011-03-16 19:42:55 +01:00
Andreas Schneider 34e723db75 - Use the new GetHue method to draw hues (refs #66) 2011-03-12 17:49:08 +01:00
Andreas Schneider d461774816 - Added optional highlight for (un)walkable tiles
- Fixed lightmanager to draw in the correct color
- Fixed TMapBlock and TStaticBlock to correctly initialize itself as "unchanged"
- Cleanup in the server project
2009-12-24 15:49:15 +01:00
Andreas Schneider f2764e928e - Added option to set the render background to white (fixes #59) 2009-12-23 20:54:56 +01:00
Andreas Schneider 8332241ab7 - Removed sorting debug data from TfrmMain 2009-12-23 16:44:50 +01:00
Andreas Schneider cf4c155858 - Changed TWorldItem and TWorldBlock Change-tracking
- Reverted TStaticItem.UpdatePriorities
- Fixed vdtTiles' HintCanvas to use the desired font when drawing
- Fixed UpdateFilter to no longer call ForceUpdateCurrentTile
- Several code cleanups
2009-12-23 16:39:24 +01:00
Andreas Schneider 34b62f6cd0 - Fixed gamewindow not resetting the clear-color 2009-12-22 21:37:16 +01:00
Andreas Schneider eb62553f5c - Fixed static tiles with hue 1 using the wrong cache id
- Commented some debug messages
2009-12-22 19:47:46 +01:00
Andreas Schneider ca8f47d2a9 - Fixed intensity of translucent tiles
- Changed statics priority
2009-12-22 17:38:34 +01:00
Andreas Schneider 21e398ae92 - Added lightlevel slider 2009-12-21 20:12:45 +01:00
Andreas Schneider 8976774665 - Fixed lightsources to not draw in flat mode and when the lightlevel is 0
- Fixed tile changes not causing a filter update
- Cleanup the project file
2009-12-21 13:41:18 +01:00
Andreas Schneider a7c74c114e - Fixed light source placement
- Removed unnecessary texturemanager reference
2009-12-21 00:55:19 +01:00
Andreas Schneider 5049955303 - Added light loading
- Use lights for the light sources
2009-12-21 00:13:26 +01:00
Andreas Schneider 7b46795bc1 - Implemented basic light source rendering 2009-12-20 22:05:15 +01:00
Andreas Schneider 158403e41a - Removed custom tile info window
- Updated VirtualTreeView
- Added tile info as owner drawn hint to vdtTiles (fixes #55)
2009-12-19 19:01:48 +01:00
Andreas Schneider 9ab8e5901b - Replaced array with generic list (TfrmMain.FAccessChangedListeners) 2009-12-19 14:43:22 +01:00
Andreas Schneider 387d5fb28d - Added selection listener to TfrmMain
- Added "grab coordinates" using the new selection listener to TfrmLargeScaleCommand (fixes #54)
2009-12-19 13:57:29 +01:00
Andreas Schneider ff87bdea15 - Realigned TfrmLargeScaleCommand
- Fixed overlay being drawn with correct color and alpha
2009-12-19 01:02:06 +01:00
Andreas Schneider 5d7c40d579 - Fixed TfrmToolWindow.FormDeactivate to check CanClose first
- Fixed TfrmDrawSettings and TfrmHueSettings to be shown non-modal (fixes #49)
2009-12-18 18:43:55 +01:00
Andreas Schneider e502321f35 - Added more nodraw.txt locations
- Improved nodraw.txt parsing
2009-12-18 14:24:35 +01:00
Andreas Schneider 1e84b76c63 - Added external nodraw definition 2009-12-18 01:53:09 +01:00
Andreas Schneider 365fa72dc9 - Changed TfrmMain.BuildTileList to use all available static tiles
- Added static tile id checking to the random preset loading
2009-12-18 01:07:55 +01:00
Andreas Schneider b0b014f66a - Added saving of random presets when creating or overwriting one 2009-12-17 21:05:46 +01:00
Andreas Schneider c41fd3be95 - Several code cleanups
- Fixed TArt.RefreshBuffer using the wrong variable (j <> i)
- Suppressed some hints
2009-12-17 15:41:54 +01:00
Andreas Schneider 13264d3251 - Fixed potential crash when using the Mouse Wheel 2009-12-17 00:36:26 +01:00
Andreas Schneider 3969493d90 - Added XML storage for Random Presets 2009-12-16 23:24:57 +01:00
Andreas Schneider 34c0e9c901 - Implemented saving and loading of locations to/from xml 2009-12-16 16:03:35 +01:00
Andreas Schneider 797abbfa07 - Fixed ref counting for the virtual layer (fixes #53) 2009-12-16 15:18:42 +01:00
Andreas Schneider 908bddda07 - Added generic tiledata access to TTileDataProvider (to avoid cloning)
- Fixed TfrmMain.BuildTileList to use that non-cloning tiledata access to remove a memory leak
- Convert the filter text to ISO8859-1 first
2009-12-10 22:18:25 +01:00
Andreas Schneider 5c3de09d10 - Added ref counting to TMaterial
- Added cache growing to TCacheManager
- Fixed ImagingOptions.inc to not include JPEG support
- Fixed TfrmRadar to save the radar map to the correct location
- Fixed statics using the wrong hue when being painted
- Removed obsolete TLandTextureManager.GetFlatLandMaterial (and the according cache)
2009-12-10 21:40:14 +01:00
Andreas Schneider 59ab7046c4 - Relect selection of the random tile list with the normal list list (fixes #51) 2009-12-10 16:54:43 +01:00
Andreas Schneider 5a2cde2ac8 - Fixed locations backups being placed in the app dir instead of config dir 2009-12-10 14:32:29 +01:00
Andreas Schneider 9c010eeb89 - Added option to toggle animated tiles
- Added option to toggle the security question when performing area commands
2009-12-10 14:30:47 +01:00
Andreas Schneider 3bd5add656 - More adjustements to frmLogin
- Added property storage to several frmMain options
2009-12-09 19:10:07 +01:00
Andreas Schneider be935a6bcb - Added TAnimMaterial
- Implemented animated tiles
- Fixed TAnimData.FrameData to use ShortInt instead of Byte
2009-12-09 16:26:12 +01:00
Andreas Schneider 2a3e17fa57 - Abstracted TMaterial
- Removed unnecessary width/height processing from TMaterial
- Added TSimpleMaterial for one-graphic-textures
2009-12-09 14:36:53 +01:00