File diff r26193:4bc7915a2156 → r26194:f7347205838e
src/station_base.h
Show inline comments
 
@@ -16,13 +16,12 @@
 
#include "cargopacket.h"
 
#include "industry_type.h"
 
#include "linkgraph/linkgraph_type.h"
 
#include "newgrf_storage.h"
 
#include "bitmap_type.h"
 
#include <map>
 
#include <set>
 

	
 
static const byte INITIAL_STATION_RATING = 175;
 

	
 
/**
 
 * Flow statistics telling how much flow should be sent along a link. This is
 
 * done by creating "flow shares" and using std::map's upper_bound() method to
 
@@ -483,12 +482,14 @@ public:
 
	GoodsEntry goods[NUM_CARGO];  ///< Goods at this station
 
	CargoTypes always_accepted;       ///< Bitmask of always accepted cargo types (by houses, HQs, industry tiles when industry doesn't accept cargo)
 

	
 
	IndustryList industries_near; ///< Cached list of industries near the station that can accept cargo, @see DeliverGoodsToIndustry()
 
	Industry *industry;           ///< NOSAVE: Associated industry for neutral stations. (Rebuilt on load from Industry->st)
 

	
 
	uint16 dilapidation; ///< Current amount of dilapidation at the station. Increases if too many passengers at station. Decreases if not too many. Player will be charged a fine based on how dilapidated the station is
 

	
 
	Station(TileIndex tile = INVALID_TILE);
 
	~Station();
 

	
 
	void AddFacility(StationFacility new_facility_bit, TileIndex facil_xy);
 

	
 
	void MarkTilesDirty(bool cargo_change) const;