Commit Graph
8 Commits
Author SHA1 Message Date
aksdb f381647149 🐛 Repair cache invariant after stores
StoreID left the last-entry pointer on the final node, so two
consecutive stores without an intervening query nil-dereferenced.
2026-11-15 22:06:50 +01:00
aksdb 4108ed5900 🐛 Fix cache last-entry corruption on hits
QueryID set the last-entry pointer to the moved node on every hit,
breaking the pointer-to-second-to-last invariant. StoreID then
orphaned tail entries, leaking cached objects and crashing on cache
destruction.
2026-11-15 22:06:50 +01:00
aksdb 98bfbd7b11 🐛 Reject cache manager sizes below 2
A size of 0 or 1 left the internal last-entry pointer nil, crashing on
the first store operation.
2026-11-15 22:01:27 +01:00
aksdb d158c28452 - Added build modes
- Fixed Login Form layout
- Fixed compilation with FPC 2.5.1
2010-12-25 14:43:17 +01:00
aksdb 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
aksdb dde886b051 - Generalized TCacheManager (for more type-safety and cleaner code) 2009-12-08 15:12:09 +01:00
aksdb b70f03ba2a - Added iterator to TCacheManager
- Added access (CanBeWritten) tracking to TStaticItem
- Moved TLandscape.UpdateStaticsPriorities to TStaticItem.UpdatePriorities
- Moved ULandscape.CompareWorldItems to UWorldItem
- Renamed TSeperatedStaticBlock.RefreshList to RebuildList
- Changed TStaticBlock.Sort to use CompareWorldItems and TList.Sort
- Some code style changes
2009-08-02 13:45:26 +02:00
aksdb c0a125042b - Initial import from internal repository 2007-12-21 21:31:58 +01:00