You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTTD-patches/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.
6 months ago
..
CMakeLists.txt Codechange: introduce SpriteFile to be used by the sprite loader instead of the global FIO slot functionality 3 years ago
grf.cpp Codechange: Replace pointer to Sprite array with reference to SpriteCollection. (#11580) 6 months ago
grf.hpp Codechange: Replace pointer to Sprite array with reference to SpriteCollection. (#11580) 6 months ago
sprite_file.cpp Codechange: introduce SpriteFile to be used by the sprite loader instead of the global FIO slot functionality 3 years ago
sprite_file_type.hpp Codechange: introduce SpriteFile to be used by the sprite loader instead of the global FIO slot functionality 3 years ago
spriteloader.hpp Codechange: Replace pointer to Sprite array with reference to SpriteCollection. (#11580) 6 months ago