forked from mirror/OpenTTD
Change: Display more useful information in sprite aligner than sprite ID. (#12439)
Sprite IDs are not useful information given they change don't refer to anything outside the loaded game. Instead, include the filename and nfo line at minimum, and include action A or action 5 sprite replacement information if applicable.
This commit is contained in:
@@ -62,6 +62,7 @@ void GfxClearFontSpriteCache();
|
||||
void IncreaseSpriteLRU();
|
||||
|
||||
SpriteFile &OpenCachedSpriteFile(const std::string &filename, Subdirectory subdir, bool palette_remap);
|
||||
std::span<const std::unique_ptr<SpriteFile>> GetCachedSpriteFiles();
|
||||
|
||||
void ReadGRFSpriteOffsets(SpriteFile &file);
|
||||
size_t GetGRFSpriteOffset(uint32_t id);
|
||||
|
Reference in New Issue
Block a user