Project

General

Profile

« Previous | Next » 

Revision f4ab2ee9

Added by danij over 9 years ago

ResourceSystem: Removed internal Sprite frame limit (was 29)

Previously a Sprite could comprise 29 frames at most because of the
limitations concerning lump names and vanilla mechanics for sprite
frame encoding.

The hard-coded sprite frame limit has been removed and now the only
limiting factor is the frame encoding mechanism itself.

Also, reworked initSprites() avoiding the temporary Sprite data and
copying thereof.

(Todo: The revised algorithm now inherently supports possible gaps
in the Sprite frame set - FeatureID #1525 may be close now).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences