Commit Graph
132 Commits
Author SHA1 Message Date
aksdb 75220f3dc4 ⚡ Set the light mode once per run of tiles
The render loop reissued the light state calls for every tile even
when the mode was unchanged.
2026-11-15 22:08:32 +01:00
aksdb fbfd8e627f 🚨 Clamp UOA design placement altitude in both directions
Moving a design only guarded the upper altitude bound, letting tile
altitudes wrap past the signed range.
2026-11-15 22:08:32 +01:00
aksdb 0092f6893e 🚨 Return an empty rectangle when no tile is selected
GetSelectedRect left its result undefined when called without a
current tile.
2026-11-15 22:08:32 +01:00
aksdb b47292a4bc 🚨 Guard location name serialization against empty strings
Saving or loading an unnamed location indexed the first character
of an empty string.
2026-11-15 22:08:32 +01:00
aksdb 4d9e02aaef 🚨 Ignore disconnect notices for unknown clients
Deleting at index -1 raised an exception and aborted the packet
dispatch when the list had already diverged.
2026-11-15 22:08:32 +01:00
aksdb 5f7e277721 🚨 Free detached DOM nodes when deleting random presets
RemoveChild detaches without owning the node; every deleted preset
or overwritten preset entry leaked it.
2026-11-15 22:08:32 +01:00
aksdb 481d6ac905 🚨 Free the edit target list when an edit action fails mid-way 2026-11-15 22:08:32 +01:00
aksdb dd20f4962d 🚨 Nil the label pointer when freeing a screen block label
Freeing without clearing left a dangling reference that a repeated
prepare pass would free again.
2026-11-15 22:08:32 +01:00
aksdb 1fbce3570d 🚨 Release the old material when re-highlighting a static
Hovering with hue highlighting reassigned the screen buffer material
without dropping the previous reference, leaking a GL texture on
every hover.
2026-11-15 22:08:32 +01:00
aksdb 997aa4991a 🚨 Stop the range selection helper from leaking
Abandoning a selection after the first click leaked the helper and
kept it registered for tile clicks. The helper now tracks the active
instance, copies coordinates instead of holding tile references that
can be evicted, and the listener dispatch tolerates removal during
iteration.
2026-11-15 22:06:51 +01:00
aksdb 6aa6496429 ⚡️ Speed up preview rendering 2022-07-20 20:22:42 +02:00
aksdb b83c5f4b2d 🚸 Lock actions during placement 2022-07-20 19:29:55 +02:00
aksdb 54e7209c8d ✨ Finish placement as per preview 2022-07-20 19:23:31 +02:00
aksdb 1753c38eea 🚧 Preview design placement 2022-07-20 18:54:00 +02:00
aksdb 7a67e62398 ✨ Draw UOA designs 2022-07-19 20:09:24 +02:00
aksdb 0e5cb1b48b ✨ Load and list UOA designs 2022-07-19 18:24:03 +02:00
aksdb d75a85d269 🚧 Implement actions as objects 2022-05-29 11:46:22 +02:00
aksdb 97c8270b38 🐛 Fix Undo handling 2022-05-22 11:27:27 +02:00
aksdb 1bfbc2e11e ⬆️ Update to Lazarus 2.2 and FreePascal 3.2.2 2022-05-07 10:51:52 +02:00
aksdb 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
aksdb d334728b6c * Fixed memory corruption in frmMain (caused by heContrns)
* Added range selection to frmBoundaries
2015-05-13 19:02:33 +02:00
aksdb 609ff53253 * Added X/Y boundaries 2015-05-11 19:30:23 +02:00
aksdb ffd0cc1028 * Added advanced statics filter (thanks to StaticZ) 2015-05-10 19:48:52 +02:00
aksdb 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
aksdb f3f5d12c2f * Added colored lights (thanks to StaticZ :-)) 2015-05-10 11:42:05 +02:00
aksdb 829a604c30 * Added password change support (references #95)
* Fixed 64bit support
* Repaired line endings
* Bumped protocol version
2013-11-20 18:12:52 +01:00
aksdb 940e81f123 * Replaced fgl with heContnrs
* Fixed behavior of the undo packet list (fixes #88)
2012-01-14 17:58:59 +01:00
aksdb 88e18b7659 * Fixed compilation with current Lazarus/LCL 2011-12-03 18:48:15 +01:00
aksdb 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
aksdb 4c76aafe47 - Fixed loading of hue presets
- Fixed random pane sliding out of the main window
2011-03-29 22:57:11 +02:00
aksdb bfe71ae93f - Store used (random) hues for consistent behavior on commit (refs #66) 2011-03-29 21:51:17 +02:00
aksdb 8bebb92300 - Added saving and loading of hue presets (refs #66) 2011-03-16 19:42:55 +01:00
aksdb 34e723db75 - Use the new GetHue method to draw hues (refs #66) 2011-03-12 17:49:08 +01:00
aksdb 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
aksdb f2764e928e - Added option to set the render background to white (fixes #59) 2009-12-23 20:54:56 +01:00
aksdb 8332241ab7 - Removed sorting debug data from TfrmMain 2009-12-23 16:44:50 +01:00
aksdb 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
aksdb 34b62f6cd0 - Fixed gamewindow not resetting the clear-color 2009-12-22 21:37:16 +01:00
aksdb eb62553f5c - Fixed static tiles with hue 1 using the wrong cache id
- Commented some debug messages
2009-12-22 19:47:46 +01:00
aksdb ca8f47d2a9 - Fixed intensity of translucent tiles
- Changed statics priority
2009-12-22 17:38:34 +01:00
aksdb 21e398ae92 - Added lightlevel slider 2009-12-21 20:12:45 +01:00
aksdb 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
aksdb a7c74c114e - Fixed light source placement
- Removed unnecessary texturemanager reference
2009-12-21 00:55:19 +01:00
aksdb 5049955303 - Added light loading
- Use lights for the light sources
2009-12-21 00:13:26 +01:00
aksdb 7b46795bc1 - Implemented basic light source rendering 2009-12-20 22:05:15 +01:00
aksdb 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
aksdb 9ab8e5901b - Replaced array with generic list (TfrmMain.FAccessChangedListeners) 2009-12-19 14:43:22 +01:00
aksdb 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
aksdb ff87bdea15 - Realigned TfrmLargeScaleCommand
- Fixed overlay being drawn with correct color and alpha
2009-12-19 01:02:06 +01:00
aksdb 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