Debug: Add sprite dump button to industry debug window

This commit is contained in:
Jonathan G Rennison
2022-05-27 02:53:35 +01:00
parent dd2e1fe956
commit 381aa04660
2 changed files with 15 additions and 0 deletions

View File

@@ -690,3 +690,8 @@ bool IndustryTemporarilyRefusesCargo(Industry *ind, CargoID cargo_type)
}
return false;
}
void DumpIndustrySpriteGroup(const IndustrySpec *spec, std::function<void(const char *)> print)
{
DumpSpriteGroup(spec->grf_prop.spritegroup[0], std::move(print));
}