summaryrefslogtreecommitdiff
path: root/src/station_base.h
AgeCommit message (Collapse)Author
2010-09-28(svn r20857) -Fix [FS#3637]: The station with the second highest rating was ↵rubidium
doubly penalised when distributing cargo. Now the penalty is completely removed and the granularity/precision of the distribution in increased by using fractional cargo. This should make competing stations less "all-or-nothing".
2010-09-16(svn r20815) -Revert (r20814): wrong patch at wrong time...rubidium
2010-09-16(svn r20814) -Codechange [FS#3835]: make waypoint default names work like ↵rubidium
depots, stations and vehicles (Krille)
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-05(svn r20374) -Codechange: add persistant storage for airportsyexo
2010-08-05(svn r20366) -Codechange: store the rotation of the airport layout in the ↵yexo
station struct and use it to rotate hangar tiles
2010-08-05(svn r20365) -Codechange: allow multiple layouts for one airport ↵yexo
statemachine, store the layout number
2010-08-02(svn r20324) -Doc: add doxygen comments to the Airport struct belonging to a ↵yexo
station
2010-03-19(svn r19465) -Codechange: support for multi-tile hangarsyexo
2010-03-19(svn r19464) -Codechange: move GetHangarTile to Airportyexo
2010-03-19(svn r19463) -Codechange: add helper function to determine if an airport has ↵yexo
at least one hangar
2010-03-19(svn r19462) -Codechange: use the AS_GENERIC macro also for the dummy airportyexo
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2010-02-22(svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cppyexo
2010-02-22(svn r19198) -Codechange: store the size of stations in savegamesyexo
2010-01-18(svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a ↵yexo
station
2010-01-18(svn r18857) -Codechange: don't rely on the fact that all airports are ↵yexo
rectangular
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
2009-12-02(svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops.rubidium
2009-10-18(svn r17795) -Codechange: split cargolist into one for vehicles and one for ↵rubidium
stations.
2009-10-06(svn r17734) -Fix (r17732): broke the assumption that 'this->packets == ↵rubidium
this', which broke loading old savegames. Now remove the (need for the) hack that needed that assumption.
2009-09-20(svn r17592) -Fix [FS#3212](r17436): force all cargo being accepted when ↵smatz
industry tiles accept it but industry itself doesn't
2009-09-20(svn r17589) -Codechange: rename town_acc to always_acceptedsmatz
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-09-07(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses ↵smatz
and headquarters anymore
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-07(svn r17106) -Codechange: move computation of station's catchment rectagle ↵smatz
to separate function
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 r16914) -Codechange: split Station and BaseStation into different filesrubidium
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-21(svn r16896) -Codechange: make station spec allocation and station animation ↵rubidium
functions work for both stations and waypoints
2009-07-18(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint ↵rubidium
with some extra checks.
2009-07-18(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoordsrubidium
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-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-07(svn r16760) -Codechange: make UpdateStationVirtCoord a function of Stationrubidium
2009-07-05(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing ↵smatz
item from the pool
2009-07-04(svn r16736) -Codechange: give some station enums a name and use that ↵rubidium
instead of 'byte'.
2009-07-04(svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less ↵rubidium
that bit 7... but it was a word wasting space etc.
2009-06-25(svn r16661) -Codechange: move definition of few very short functions to ↵smatz
header files
2009-06-25(svn r16654) -Codechange: cache industries in station's coverage area ↵smatz
instead of searching them everytime payment is made
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-23(svn r16640) -Codechange: move roadstop stuff to separate filessmatz
2009-06-23(svn r16639) -Codechange: enumify RoadStop::status, move definition of short ↵smatz
functions to header file
2009-06-23(svn r16636) -Codechange: no need to initialize already zeroed variables by ↵smatz
zero in station and rs constructors, remove debug output