File diff r27097:f33188c77985 → r27098:b8970ee1e091
src/newgrf.h
Show inline comments
 
@@ -103,32 +103,32 @@ struct GRFLabel {
 
	GRFLabel(byte label, uint32 nfo_line, size_t pos) : label(label), nfo_line(nfo_line), pos(pos) {}
 
};
 

	
 
/** Dynamic data of a loaded NewGRF */
 
struct GRFFile : ZeroedMemoryAllocator {
 
	char *filename;
 
	uint32 grfid;
 
	byte grf_version;
 

	
 
	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<struct StationSpec *> stations;
 
	std::vector<struct HouseSpec *> housespec;
 
	std::vector<struct IndustrySpec *> industryspec;
 
	std::vector<struct IndustryTileSpec *> indtspec;
 
	std::vector<struct ObjectSpec *> objectspec;
 
	std::vector<struct AirportSpec *> airportspec;
 
	std::vector<struct AirportTileSpec *> airtspec;
 
	std::vector<struct RoadStopSpec *> roadstops;
 

	
 
	uint32 param[0x80];
 
	uint param_end;  ///< one more than the highest set parameter
 

	
 
	std::vector<GRFLabel> labels;                   ///< List of labels
 

	
 
	std::vector<CargoLabel> cargo_list;             ///< Cargo translation table (local ID -> label)
 
	uint8 cargo_map[NUM_CARGO];                     ///< Inverse cargo translation table (CargoID -> local ID)
 

	
 
	std::vector<RailTypeLabel> railtype_list;       ///< Railtype translation table
 
	RailType railtype_map[RAILTYPE_END];