summaryrefslogtreecommitdiff
path: root/src/station.cpp
AgeCommit message (Collapse)Author
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.
2009-07-13(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraftsmatz
2009-07-08(svn r16766) -Codechange: remove station->MarkDirty. It is in all cases ↵rubidium
meant to only update the sign and not invalidate the widget; the widget would be invalidated by a call before/after the call to MarkDirty or it wouldn't make sense because e.g. the window doesn't exist anymore/yet.
2009-07-08(svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self ↵rubidium
explaining names
2009-07-08(svn r16764) -Codechange: unify the way viewport signs are marked dirtyrubidium
2009-07-07(svn r16759) -Codechange: some coding style in station.cpprubidium