diff --git a/src/newgrf.h b/src/newgrf.h --- a/src/newgrf.h +++ b/src/newgrf.h @@ -112,14 +112,14 @@ struct GRFFile : ZeroedMemoryAllocator { uint sound_offset; uint16 num_sounds; - struct StationSpec **stations; - struct HouseSpec **housespec; - struct IndustrySpec **industryspec; - struct IndustryTileSpec **indtspec; - struct ObjectSpec **objectspec; - struct AirportSpec **airportspec; - struct AirportTileSpec **airtspec; - struct RoadStopSpec **roadstops; + std::vector stations; + std::vector housespec; + std::vector industryspec; + std::vector indtspec; + std::vector objectspec; + std::vector airportspec; + std::vector airtspec; + std::vector roadstops; uint32 param[0x80]; uint param_end; ///< one more than the highest set parameter