OpenTTD/src/spriteloader
Peter Nelson b85ecf9ac2
Codechange: Replace pointer to Sprite array with reference to SpriteCollection. (#11580)
Add `SpriteLoader::SpriteCollection` type which is an array of `SpriteLoad::Sprite`.

This removes the ambiguity of what `SpriteLoader::Sprite *` is pointing to,
and cleans up mismatches using both dereference -> and array access [] for the
same object.
2023-12-20 20:38:21 +00:00
..
CMakeLists.txt Codechange: introduce SpriteFile to be used by the sprite loader instead of the global FIO slot functionality 2021-05-08 12:39:34 +02:00
grf.cpp Codechange: Replace pointer to Sprite array with reference to SpriteCollection. (#11580) 2023-12-20 20:38:21 +00:00
grf.hpp Codechange: Replace pointer to Sprite array with reference to SpriteCollection. (#11580) 2023-12-20 20:38:21 +00:00
sprite_file.cpp Codechange: introduce SpriteFile to be used by the sprite loader instead of the global FIO slot functionality 2021-05-08 12:39:34 +02:00
sprite_file_type.hpp Codechange: introduce SpriteFile to be used by the sprite loader instead of the global FIO slot functionality 2021-05-08 12:39:34 +02:00
spriteloader.hpp Codechange: Replace pointer to Sprite array with reference to SpriteCollection. (#11580) 2023-12-20 20:38:21 +00:00