aksdb
fcb90dffbb
🚨 Handle empty or unreadable radar cache files
...
A zero-byte cache file indexed an empty array, and read errors
leaked the file stream.
2026-11-15 22:08:32 +01:00
aksdb
71865facd8
🚨 Make radar shutdown safe
...
Destroying the radar window dereferenced the image without a nil
check when creation had failed, and leaked the cache file stream on
write errors, skipping cleanup of the remaining objects.
2026-11-15 22:08:32 +01:00
aksdb
93c2af9d9f
🚨 Free the light config document and tolerate a missing file
...
LoadConfig leaked the parsed XML document on every call and aborted
startup when the color config file was absent.
2026-11-15 22:08:32 +01:00
aksdb
043a5a1ccf
🚨 Free the light collection when the light map update fails
2026-11-15 22:08:32 +01:00
aksdb
3dd9ce1d68
🚨 Mark the light manager as initialized
...
The flag was never set, so the framebuffer extension was reloaded on
every frame with lights enabled.
2026-11-15 22:08:32 +01:00
aksdb
b90fbdf190
🚨 Clamp drawn tile altitudes to the valid range
...
Drawn statics could exceed the signed altitude range and wrap
around.
2026-11-15 22:08:32 +01:00
aksdb
1e44b51a06
🚨 Apply random elevation offsets in raise and lower modes
...
The random offset was computed first and then overwritten by the
raise and lower branches.
2026-11-15 22:08:32 +01:00
aksdb
78f945cee7
🚨 Expose the draw action hue
...
The draw action reads its hue field but no property ever exposed
it, so hue selection was silently ignored.
2026-11-15 22:08:32 +01:00
aksdb
3e562ff03d
🚨 Take the elevation target as a signed byte
...
The coordinate-based elevate overload accepted a word and silently
truncated it when writing the signed altitude byte.
2026-11-15 22:08:32 +01:00
aksdb
992666583d
🚨 Guard block requests without coordinates
2026-11-15 22:08:32 +01:00
aksdb
63ca31805e
🚨 Free compression buffers when packet compression fails
...
A compression error leaked the buffers and the wrapped packet,
whose ownership had already been transferred.
2026-11-15 22:08:32 +01:00
aksdb
c4c95b0156
🚨 Validate decompressed packets before dispatch
...
A compressed packet could declare an unbounded decompressed size,
nest compressed packets recursively until stack overflow, or carry a
truncated inner packet whose handler then read uninitialized
memory.
2026-11-15 22:08:32 +01:00
aksdb
d18e01c95c
🔒 Validate login response fields
...
The access level byte and landscape dimensions were trusted from
the network without checks.
2026-11-15 22:08:32 +01:00
aksdb
c4f043a236
🚨 Isolate packet handler exceptions on the client
...
A handler exception left the packet in the queue, re-raising on
every receive until the app aborted. The connection is now dropped
cleanly with a log entry.
2026-11-15 22:06:51 +01:00
aksdb
ad38619b9b
🚨 Validate packet lengths from the server
...
A declared length below the header size desynced the receive queue
and dispatched handlers on garbage, and an unbounded length could
grow the queue without limit.
2026-11-15 22:06:51 +01:00
aksdb
0222c01dc8
🚨 Stop double-freeing the connection packet handler at exit
...
Unit finalization already frees the handler table; freeing the
shared handler again from the datamodule corrupted the heap on
shutdown.
2026-11-15 22:06:51 +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
a1a40b6f61
🚨 Use the pointer-sized window call on 64-bit Windows
...
SetWindowLong truncates 64-bit window handles, breaking dialog
parenting on Win64 builds.
2026-11-15 22:06:51 +01:00
aksdb
ee0667aff3
🚨 Skip empty font info tables
...
A truncated font resource indexed an empty array on load.
2026-11-15 22:06:51 +01:00
aksdb
c6e1a10d3b
🚨 Check the arrow texture height, not the width twice
2026-11-15 22:06:51 +01:00
aksdb
7c3c4d89c4
🚨 Close the UOA design data file on shutdown
...
The design collection never freed its data stream, leaking the file
handle for every use.
2026-11-15 22:06:51 +01:00
aksdb
d56149a4c1
🚨 Clamp imported UOA design values to their field ranges
...
Out-of-range tile, position, and hue values from a design file
truncated or raised range errors on import.
2026-11-15 22:06:51 +01:00
aksdb
9903de9c24
🚨 Guard animation texture deletion against empty frame lists
...
Destroying an animation material with no frames dereferenced an
empty array.
2026-11-15 22:06:51 +01:00
aksdb
6d0ae63be6
🚨 Clamp write permission areas to the landscape size
...
The write map trusted area coordinates from the login response and
could index a bits array far out of bounds with hostile data.
2026-11-15 22:06:51 +01:00
aksdb
fa288fddf8
🚨 Harden the nodraw map loader
...
A parse error leaked the file handle and negative IDs from a
malformed file indexed the draw bitmap out of bounds.
2026-11-15 22:06:51 +01:00
aksdb
1335e3f40e
🚨 Validate tile and hue IDs from network data
...
Static materials indexed the tiledata array and hue table with
unchecked IDs from the server, crashing the client on malformed
packets.
2026-11-15 22:06:51 +01:00
aksdb
1dc371ed27
🚨 Free the block index when a landscape update fails mid-packet
2026-11-15 22:06:51 +01:00
aksdb
3df6ab93f6
🐛 Free the client statics decode buffer on malformed data
2026-11-15 22:06:51 +01:00
aksdb
d9f7b126b6
🐛 Load client static blocks stored at offset zero
...
The client used the same offset-zero bug as the server loader,
dropping the first static block of a freshly written file.
2026-11-15 22:06:51 +01:00
aksdb
2cc0be66c9
🐛 Keep the screen buffer tail pointer valid on inserts
...
Inserting an item that sorted after everything left the tail
shortcut stale, so later appends unlinked existing nodes. This
leaked screen entries, their textures, and blocked cache eviction
forever.
2026-11-15 22:06:51 +01:00
aksdb
b4a14683cb
🐛 Add half of the dominant slope to effective altitude
...
The altitude helper halved the smaller delta instead of the dominant
one, miscalculating draw priorities on every diagonal slope.
2026-11-15 22:06:51 +01:00
aksdb
3fed4cd5fc
🐛 Use the correct height for landscape draw range
...
The row loop iterated by width, dropping terrain rows whenever the
draw range was clipped asymmetrically at the map borders.
2026-11-15 22:06:51 +01:00
aksdb
3f47eba2da
🚨 Fix UfrmLogin not compiling
2024-11-03 16:32:35 +01:00
aksdb
23b4ebe214
🔨 Add project group
2024-11-03 16:31:41 +01:00
aksdb
27cf279503
🚨 Fix UfrmLargeScaleCommand not compiling
2024-11-03 16:31:04 +01:00
aksdb
9638bb3fe2
👷 Add win64 build config
2022-10-16 17:26:55 +02:00
aksdb
6aa6496429
⚡ ️ Speed up preview rendering
2022-07-20 20:22:42 +02:00
aksdb
9f66004c44
🐛 Fix invalid Z range on load
2022-07-20 20:22:29 +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
cd983844fa
🔇 Remove debug log
2022-07-19 20:11:08 +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
dc36f0b09c
💄 Fix more form layouts
2022-05-22 15:51:56 +02:00
aksdb
97c8270b38
🐛 Fix Undo handling
2022-05-22 11:27:27 +02:00
aksdb
dfef4d3556
🔧 Increase caches to accommodate larger resolutions
2022-05-08 18:42:01 +02:00
aksdb
d30f01ac64
⬆️ Update Vampyre Imaging lib
2022-05-08 10:47:53 +02:00
aksdb
5e47564252
💄 Enable UI scaling
2022-05-07 11:59:04 +02:00