Bug Tracker – Full Text Bug Listing

Bug 1309

Summary: ANIMDEFS and ANIMATED lumps assume animated sequences are sequential indices
Product: Odamex Reporter: Nick <stlaurent.nicholas>
Component: ClientAssignee: Odamex Bug Reporter <odamex-bug-reporter>
Status: NEW ---    
Severity: normal CC: odamex-bug-reporter
Priority: P5    
Version: 0.8.x   
Hardware: All   
OS: Other   

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