summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
AgeCommit message (Collapse)Author
2013-05-19(svn r25259) -Codechange: track capacities and usage of linksrubidium
2013-05-18(svn r25251) -Fix [FS#5540]: when overbuilding a reserved track with a ↵rubidium
non-track station tile, that tile would remain reserved and eventually trigger a crash upon removal
2013-05-13(svn r25243) -Fix [FS#5546]: "No station" error was given, even when there ↵rubidium
was a station that way occupied or not yours
2013-04-13(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() ↵frosch
and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
2013-04-06(svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by ↵rubidium
descriptive function
2013-03-31(svn r25132) -Fix [FS#5510, FS#5516]: station rebuilding could leave ↵rubidium
reserved tiles which caused crashes later on
2013-02-17(svn r25016) -Fix [FS#5476]: integer overflow in UpdateStationRating ↵rubidium
(fonsinchen)
2013-02-17(svn r25008) -Codechange: Make CargoList::Truncate behave similarly to ↵rubidium
CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen)
2013-02-03(svn r24961) -Fix [FS#5362] (r23564): making occupied platforms larger would ↵rubidium
make train reserve onto the newly unreserved bit and cause crashes. Now if a platform is enlarged and there is a reservation, reserve the whole platform
2013-01-31(svn r24951) -Fix: [NewGRF] Var 10 of CB 24 missed the T part.frosch
2013-01-11(svn r24905) -Feature(ish): Implement station randomisation triggers.peter1138
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-23(svn r24840) -Fix: Draw NewGRF railtypes in NewGRF station previews.peter1138
2012-11-13(svn r24721) -Fix (r24715): Reallow building road stations.frosch
2012-11-13(svn r24720) -Fix (r24715): Comparison of different height units.frosch
2012-11-12(svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to ↵frosch
GoodsEntry::time_since_pickup.
2012-11-12(svn r24715) -Fix [FS#5335]: [NewGRF] Allow stations to draw snow/desert ↵frosch
aware ground sprites with railtype overlays.
2012-11-12(svn r24714) -Fix [FS#5337]: [NewGRF] Draw default foundations if resolving ↵frosch
of custom station foundation sprites fails.
2012-11-12(svn r24708) -Codechange: Check magic values of GoodsEntry::last_speed only ↵frosch
via wrapper function.
2012-11-12(svn r24704) -Cleanup: No need to initialise stuff twice.frosch
2012-11-12(svn r24703) -Fix: Disallow closing oilrig airports in SE.frosch
2012-09-21(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some ↵alberth
Doxygen improvements.
2012-07-15(svn r24402) -Fix [FS#5243]: Station properties 11 and 14 were combined ↵frosch
incorrectly.
2012-06-23(svn r24355) -Codechange [FS#5217]: Deduplicate code when building stations. ↵frosch
(Hirundo)
2012-06-23(svn r24354) -Fix: When airport construction was denied due to noise, the ↵frosch
error message named the wrong town.
2012-05-26(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and ↵frosch
NewsFlag instead.
2012-04-22(svn r24167) -Codechange: Rename NewGRFClass::GetCount() to ↵frosch
NewGRFClass::GetClassCount()
2012-04-22(svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) ↵frosch
into non-static members GetSpec(uint) and GetSpecCount().
2012-04-22(svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in ↵frosch
favour of using Get() and direct member access (which is needed anyway for GRF string resolving).
2012-04-17(svn r24127) -Feature [FS#1497]: Allow closing airports for incoming ↵michi_cc
aircraft. (Based on patch by cirdan)
2012-02-13(svn r23942) -Fix: infrastructure cache of standard road stops would get ↵rubidium
messed up when buying a company with them
2012-01-25(svn r23851) -Fix: infrastructure cache could get out of sync when ↵rubidium
overbuilding a drive through road stop
2012-01-22(svn r23844) -Fix (r23414): Infrastructure count for stations wasn't updated ↵michi_cc
properly on company takeover. And don't count buoys while loading a game either.
2012-01-22(svn r23838) -Fix [FS#5000]: assertion got hit when destroing a dock when a ↵rubidium
ship was loading
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2012-01-02(svn r23717) -Fix [FS#4927]: ships going to wrong dock location when moving ↵rubidium
the dock while the game is paused
2012-01-02(svn r23716) -Revert (r23705)[FS#4937]: unforeseen consequencessmatz
2012-01-01(svn r23705) -Codechange: cache the last processed station in ↵smatz
FindStationsAroundTiles() in order to make the code a bit faster
2012-01-01(svn r23702) -Codechange: avoid using TileAddWrap() in ↵truebrain
FindStationsAroundTiles() by finding out where the border is in advance, speeding up the function with a factor 3 (you got to love random statistics which has no real meaning in the grand scheme of it all :D)
2011-12-27(svn r23676) -Fix [FS#4913] (r23412): when removing road stops the wrong ↵rubidium
tile was checked for updating the infrastructure cache
2011-12-16(svn r23546) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-09(svn r23463) -Fix (r23461): unused variableyexo
2011-12-09(svn r23462) -Codechange: use AirportTileTableIterator in a few more places ↵yexo
to make the code easier to read
2011-12-09(svn r23461) -Fix: handle a missing airport newgrf as graceful as possible ↵yexo
by not crashing when loading such savegame or when an airport is removed
2011-12-09(svn r23459) -Fix: don't crash trying to draw airport tiles when the airport ↵yexo
grf is missing
2011-12-09(svn r23456) -Fix (r23441): oilrigs don't have any layouts nor do they ↵yexo
provide airport noise
2011-12-06(svn r23441) -Fix [FS#4764]: some airport functions didn't take the layout ↵rubidium
into account resulting in wrong noise levels or nearests towns (patch by Zuu)
2011-12-03(svn r23414) -Add: Company infrastructure counts for stations/airports.michi_cc