mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-11 17:22:37 -10:00
Makes `CelSprite` unowned and adds a new `OwnedCelSprite` class for owned sprites. This clarifies ownership and makes the code cleaner in a number of places. Additionally, because the `CelSprite` class is now tiny (1 less pointer), we can pass it by-value instead of by-reference, removing a pointer indirection in the rendering functions.