Debug: Add GRF debug window support for new landscape rocks

This commit is contained in:
Jonathan G Rennison
2022-12-12 19:15:19 +00:00
parent 1de38b1ca0
commit 2430a5113e
3 changed files with 70 additions and 2 deletions

View File

@@ -1171,6 +1171,9 @@ GrfSpecFeature GetGrfSpecFeature(TileIndex tile)
{
switch (GetTileType(tile)) {
default: return GSF_INVALID;
case MP_CLEAR:
if (IsClearGround(tile, CLEAR_ROCKS)) return GSF_NEWLANDSCAPE;
return GSF_INVALID;
case MP_RAILWAY: {
extern std::vector<const GRFFile *> _new_signals_grfs;
if (HasSignals(tile) && !_new_signals_grfs.empty()) {