Commit Graph
18 Commits
Author SHA1 Message Date
aksdb 81f837a746 🐛 Reject out-of-range hue lookups
The modulo silently wrapped invalid IDs to a wrong hue group instead
of failing.
2026-11-15 22:06:51 +01:00
aksdb 13aae33a02 🐛 Skip empty entries when loading flat land art
An art index entry with lookup zero and no size made the decoder
copy the whole remaining art file.
2026-11-15 22:06:51 +01:00
aksdb 0c94cdb24b 🐛 Skip gump entries with no data
An index entry with a valid lookup but zero size copied the entire
rest of the gump file into memory before decoding garbage.
2026-11-15 22:06:51 +01:00
aksdb 9ed3862b4a 🐛 Validate tiledata lookups against the entry count
Out-of-range tile IDs indexed past the arrays and read arbitrary
memory instead of failing.
2026-11-15 22:06:51 +01:00
aksdb 6229d296df 🐛 Use version-aware offsets when writing High Seas tiledata
The write path always computed legacy offsets and sizes while the
loader detected and used the High Seas layout, so any tile edit on a
High Seas tiledata.mul shifted records and corrupted the file.
2026-11-15 22:06:50 +01:00
aksdb c8ef2ccf68 🐛 Free the animation data provider on shutdown
The manager released every provider except the animation data
provider, leaking its file stream and the whole animation table.
2026-11-15 22:06:50 +01:00
aksdb 811d91cc8a * Refactored tiledata cloning
* Added support for new tiledata format (from the High Seas expansion)
2012-01-07 13:48:59 +01:00
aksdb 49599fdcf4 - Added hgeol
- Fixed repository side eol to be LF
2010-07-25 00:18:54 +02:00
aksdb fd8fa39e0d - Code cleanup 2009-12-22 11:49:48 +01:00
aksdb 5049955303 - Added light loading
- Use lights for the light sources
2009-12-21 00:13:26 +01:00
aksdb 73e704e5fa - Changed TAnimDataProvider to load as much animdata as the input files provides
- Added TBufferedStream.GetSize
- Added TIndexedMulProvider.EntryCount
- Added TAnimDataProvider.AnimCount
- Added TLandscape.MaxStaticID
- Some more code cleanups
2009-12-18 00:17:42 +01:00
aksdb bdc97b89f5 - Added dynamic tiledata loading (everything after $4000 will be treated as static)
- Fixed server's TLandscape to validate statics and throw errors if no tiledata entry is found
2009-12-17 23:01:06 +01:00
aksdb c41fd3be95 - Several code cleanups
- Fixed TArt.RefreshBuffer using the wrong variable (j <> i)
- Suppressed some hints
2009-12-17 15:41:54 +01:00
aksdb 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
aksdb 34765f7235 - Fixed Art and TexMap to no longer get loaded if their Size is <= 0 2009-12-10 22:05:38 +01:00
aksdb 1759e0763c - Fixed typo in UMulManager
- Added array initialization to TAnimDataProvider
- Adjusted frmLogin
- Some code cleanups
2009-12-08 22:17:39 +01:00
aksdb 06c9c2c507 - Added AnimDataProvider
- Some code cleanups
2009-12-08 20:22:45 +01:00
aksdb c0a125042b - Initial import from internal repository 2007-12-21 21:31:58 +01:00