nml
nml copied to clipboard
Change: Use extended Action1s
Each spriteset gets its own unique ID. Removes the "all spritesets in a single sprite group/layout must have the same size" limitation.
Not really tested beside checking NFO output.
Works for me in test of
- nml CHIPS with unequal sized spritesets
- pre-existing Iron Horse
- pre-existing FIRS
First question... what is an extended action 1? Does this need a specific version of OpenTTD or is it an older feature that just isn't used?
https://newgrf-specs.tt-wiki.net/wiki/Action1#Extended_format present since OpenTTD 1.2.
The most important part is https://newgrf-specs.tt-wiki.net/wiki/Action1#first-set which allows to reduce duplication and the need for same size spriteset
in a spritelayout
.
Still works for me :P