summaryrefslogtreecommitdiff
path: root/src/station.cpp
AgeCommit message (Collapse)Author
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
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-02(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart ↵rubidium
functions
2009-07-02(svn r16721) -Codechange: make Is/SetRoadVehicleFront, ↵rubidium
Is/Set/HasArticulatedPart member of RoadVehicle.
2009-06-25(svn r16661) -Codechange: move definition of few very short functions to ↵smatz
header files
2009-06-25(svn r16656) -Fix (r16655): strange things happensmatz
2009-06-25(svn r16655) -Codechange: use IsRailwayStationTile() moresmatz
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
2009-05-31(svn r16476) -Fix (r16475): wrong version of the patchsmatz
2009-05-31(svn r16475) -Codechange: move code invalidating ↵smatz
Vehicle::last_station_visited to more logical place
2009-05-26(svn r16441) -Codechange: new class SpecializedVehicle used as superclass ↵smatz
for all vehicle types
2009-05-23(svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when ↵smatz
source station is deleted
2009-05-23(svn r16403) -Codechange: move code related to subsidies to separate filesmatz
2009-05-22(svn r16390) -Codechange: move u.road to RoadVehicle.rubidium
2009-05-22(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriaterubidium
2009-05-22(svn r16388) -Codechange: move u.air to Aircraftrubidium
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-08(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)rubidium
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2009-01-02(svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when ↵rubidium
station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view.
2008-12-26(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have ↵smatz
queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
2008-11-19(svn r14598) -Feature: Action0Industries property 24 (industry suuplies ↵rubidium
default name for nearby station).
2008-10-25(svn r14529) -Codechange: Turn FindCatchmentRadius() into ↵frosch
Station::GetCatchmentRadius().
2008-10-19(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)rubidium
2008-10-15(svn r14469) -Fix [FS#2355]: Empty station spreads (e.g. from greyed station ↵frosch
signs) were modified in test mode.
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-16(svn r14344) -Fix: when a new airport is built in the same tick as the old ↵smatz
station is deleted, aircraft may go crazy (and crash the game)
2008-09-13(svn r14307) -Fix: when deleting a station, remove news items regarding itsmatz
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-18(svn r13165) -Codechange: replace some ↵rubidium
RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.