NewGRF: Add generic town callback to set town zone radii

This commit is contained in:
Jonathan G Rennison
2023-03-11 02:24:50 +00:00
parent 93c34775e4
commit ae99f667b0
10 changed files with 89 additions and 14 deletions

View File

@@ -6194,6 +6194,10 @@ static void NewSpriteGroup(ByteReader *buf)
break;
}
case GSF_FAKE_TOWNS:
act_group = NewCallbackResultSpriteGroupNoTransform(CALLBACK_FAILED);
break;
/* Loading of Tile Layout and Production Callback groups would happen here */
default: grfmsg(1, "NewSpriteGroup: Unsupported feature %s, skipping", GetFeatureString(feature));
}