nml icon indicating copy to clipboard operation
nml copied to clipboard

Change: Use extended Action1s

Open glx22 opened this issue 1 year ago • 4 comments

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.

glx22 avatar Oct 07 '23 00:10 glx22

Works for me in test of

  • nml CHIPS with unequal sized spritesets
  • pre-existing Iron Horse
  • pre-existing FIRS

andythenorth avatar Oct 07 '23 13:10 andythenorth

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?

PeterN avatar Feb 14 '24 14:02 PeterN

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.

glx22 avatar Feb 14 '24 14:02 glx22

Still works for me :P

andythenorth avatar Mar 28 '24 22:03 andythenorth