isle-portable/extensions/include/extensions
Christian Semmler 0c986aff2a
Add multi-world animation support (ACT2/ACT3)
Extend the multiplayer animation system to support animations from all
three game worlds (ACT1, ACT2, ACT3) while playing in the Isle world.

Catalog: Parse DTA files directly for all worlds instead of borrowing
from LegoAnimationManager. World-encoded animIndex (top 2 bits = world
slot) provides globally unique IDs without wire protocol changes.

Loader: Support multiple SI files (isle.si, act2main.si, act3.si) with
lazy opening and composite (worldId, objectId) cache keys.

WDB: Load missing model LODs from WORLD.WDB for all worlds during
catalog refresh, using LegoPartPresenter for parts and
LegoModelPresenter for compound models (ray, chptr).

Protocol: AnimCompleteMsg now carries animIndex instead of objectId.

Also fix pre-existing bugs:
- PhonemePlayer UAF when multiple tracks target the same ROI
- ModelDbModel buffer overflow on word-aligned strlcpy reads
- SIReader UBSan violation on uninitialized filetype enum

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:07:37 -07:00
..
common Refactor extensions: DRY, named constants, and cleanup 2026-03-28 15:08:23 -07:00
multiplayer Add multi-world animation support (ACT2/ACT3) 2026-03-28 18:07:37 -07:00
thirdpersoncamera Refactor extensions: DRY, named constants, and cleanup 2026-03-28 15:08:23 -07:00
extensions.h Separate extensions (#18) 2026-03-13 23:12:07 +01:00
fwd.h Fix animation audio playing ~1.5x too fast with 3D sound enabled 2026-03-26 19:33:32 -07:00
multiplayer.h WIP 2026-03-28 13:26:13 -07:00
siloader.h Separate extensions (#18) 2026-03-13 23:12:07 +01:00
textureloader.h Separate extensions (#18) 2026-03-13 23:12:07 +01:00
thirdpersoncamera.h Separate extensions (#18) 2026-03-13 23:12:07 +01:00