Bug Tracker – Bug 1309

ANIMDEFS and ANIMATED lumps assume animated sequences are sequential indices

Last modified: 2020-05-01 11:31:15 UTC
Bug 1309 - ANIMDEFS and ANIMATED lumps assume animated sequences are sequential indices
Summary: ANIMDEFS and ANIMATED lumps assume animated sequences are sequential indices
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Client (show other bugs)
Version: 0.8.x
Hardware: All Other
: P5 normal
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks:
 
Reported: 2020-05-01 11:31 UTC by Nick
Modified: 2020-05-01 11:31 UTC (History)
1 user (show)

See Also:

Attachments

Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2020-05-01 11:31:15 UTC
Both ANIMDEFS and ANIMATED lumps assume the lumps for an animated sequence are sequential in the wad file.
E.g.
WFALL1 -> 5
WFALL2 -> 6
WFALL2 -> 7
WFALL4 -> 8

Below is an example wad that has both ANIMDEFS and ANIMATED lumps with this problem. the ANIMATED lump in particular causes most of the textures to be animated. Looks like modern ZDoom fixes  this by sorting textures by name so the indices are sequential.

la-spacestation2_beta12.wad
https://www.wad-archive.com/wad/bdc3f2a2dba2cbb7cbc4d7356bd1cfb9