summaryrefslogtreecommitdiff
path: root/src/station.cpp
AgeCommit message (Collapse)Author
2011-11-12(svn r23199) -Fix [FS#4822]: oil rigs that "expired" did not get removed ↵rubidium
from the station list
2011-06-12(svn r22567) -Codechange: Store persistent storages inside a pool.terkhen
2011-05-01(svn r22406) -Document: some more "random-ish" tidbitsrubidium
2011-02-19(svn r22116) -Codechange: use PoolBase::Clean() at more placessmatz
2011-02-19(svn r22111) -Codechange/fix-ish: upon cleaning a pool a destructor should ↵rubidium
not delete items from other pools
2011-02-07(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.hrubidium
2011-01-18(svn r21846) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [o-s].
2010-12-12(svn r21483) -Codechange: make StationRect::ScanForStationTiles make use of ↵rubidium
TILE_AREA_LOOP. Making use of make makes me making use of my brain to determine whether I make use of tautology, or make use of pleonasm, or make use of both, or even make use of neither
2010-11-20(svn r21273) -Codechange: Return values should start at the same line.alberth
2010-09-09(svn r20774) -Fix [FS#4116]: assertion triggered when removing a station ↵rubidium
owned by nobody when the local company is "spectator" as well
2010-09-08(svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbersrubidium
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-06-11(svn r19958) -Codechange: move common code from Waypoint and Station ↵smatz
destructors to BaseStation destructor
2010-06-11(svn r19957) -Codechange: remove VLW_WAYPOINT_LISTsmatz
2010-06-10(svn r19956) -Fix: close list of vehicles with given oil rig in orders when ↵smatz
the oil rig is deleted -Fix (r19952): close the list when it is not sticky
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2010-03-06(svn r19351) -Codechange: use TileArea for AfterRemoveRectyexo
2010-03-06(svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost.alberth
2010-03-06(svn r19335) -Codechange: StationRect::BeforeAddTile() returns a CommandCost.alberth
2010-03-06(svn r19334) -Codechange: method-call codestyle fixes, and introduction of ↵alberth
const reference formal parameter.
2010-02-22(svn r19198) -Codechange: store the size of stations in savegamesyexo
2010-02-06(svn r19038) -Codechange: Move TileArea methods to their own file.alberth
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-15(svn r18807) -Codechange: introduce AirportSpec and move several ↵yexo
non-statemachine-related variables to there
2010-01-04(svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text ↵rubidium
when building a station could be incorrect (missing a cargo) -Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers. -Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
2009-12-02(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.frosch
2009-12-02(svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops.rubidium
2009-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium
2009-10-18(svn r17804) -Codechange: move the CargoPacket 'invalidation' when stations ↵rubidium
get removed to CargoPacket.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-10-02(svn r17682) -Codechange: remove erroneous space before some commasrubidium
2009-09-12(svn r17508) -Fix [FS#3195] (r16859): join station window didn't get updated ↵rubidium
when stations were removed from the pool
2009-08-30(svn r17316) -Codechange: use Industry::GetByTile() instead of ↵smatz
GetIndustryByTile()
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-08(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when ↵smatz
subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source -Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost -Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
2009-08-07(svn r17107) -Codechange: store type of subsidy source and destination in ↵smatz
the Subsidy struct instead of determining it every time it's needed
2009-08-07(svn r17106) -Codechange: move computation of station's catchment rectagle ↵smatz
to separate function
2009-08-07(svn r17105) -Codechange: no need to reset list of industries nearby that ↵smatz
often, clearing is enough
2009-07-26(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into ↵rubidium
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
2009-07-26(svn r16965) -Codechange: use tile area instead of sets of variables for the ↵rubidium
station joiner code.
2009-07-26(svn r16962) -Codechange: more work towards multi tile waypointsrubidium
2009-07-25(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and ↵rubidium
trainst_h.
2009-07-24(svn r16940) -Codechange: make the pathfinders behave the same when finding ↵rubidium
waypoints or stations, i.e. don't force exactly one destination tile for a waypoint
2009-07-24(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way ↵rubidium
it's written.
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-18(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint ↵rubidium
with some extra checks.
2009-07-17(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.rubidium
2009-07-17(svn r16861) -Codechange: move a few more bits from station to basestation ↵rubidium
(to be shared with waypoints)
2009-07-17(svn r16859) -Codechange: split the Station struct into two so parts of it ↵rubidium
can be reused for Waypoints.