summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
AgeCommit message (Collapse)Author
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-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-02(svn r17039) -Fix (r16988): segfault when removing rail with waypoint ↵rubidium
remover and vice versa
2009-07-31(svn r17002) -Change: also support distant join for waypointsrubidium
2009-07-30(svn r17000) -Change: allow overbuilding/extending waypointsrubidium
2009-07-30(svn r16998) -Codechange: rework/unify 'find station to join with' code and ↵rubidium
use it for all stations
2009-07-30(svn r16993) -Change: make the rail waypoint builder draggablerubidium
2009-07-29(svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints.rubidium
2009-07-29(svn r16989) -Codechange: unify the code for demolishing (dynamite) stations ↵rubidium
and waypoints.
2009-07-29(svn r16988) -Codechange: unify the code for removing (parts of) stations ↵rubidium
and waypoints
2009-07-29(svn r16987) -Codechange: simplify the code to loop train station for the ↵rubidium
station demolish code
2009-07-29(svn r16985) -Codechange: simplify the station removal code a bit by giving ↵rubidium
proper names and using some helper functions
2009-07-28(svn r16974) -Codechange: do simple station build checks and 'decode' p1/p2 ↵rubidium
first
2009-07-28(svn r16972) -Fix [FS#3058] (r16942): mixup of variables caused, in some ↵rubidium
cases, rail stations to have incorrect width/height.
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 r16959) -Codechange: make the station joiner a bit more aware of the ↵rubidium
difference between waypoints and stations.
2009-07-25(svn r16948) -Codechange: some code reductions and usage of wrapper functionsrubidium
2009-07-25(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and ↵rubidium
trainst_h.
2009-07-24(svn r16942) -Codechange: document CanExpandRailStation and remove the ↵rubidium
'magic' array of numbers for a named struct
2009-07-24(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way ↵rubidium
it's written.
2009-07-24(svn r16934) -Codechange: introduce a simple helper function to check ↵rubidium
whether a station is pending deletion or not
2009-07-23(svn r16926) -Fix (r16925): if checking whether a station can be adjoined, ↵rubidium
don't check whether 'the other station you have already found' to be valid but the station that you just found. Especially because you won't have found as station until you have found one.
2009-07-23(svn r16925) -Fix (r16909): guard commands more against using waypoints as ↵rubidium
stations and/or accidentally reusing waypoints for stations or vice versa.
2009-07-23(svn r16923) -Codechange: move Cmd*Buoy* to waypoint_cmd.cpp and make them ↵rubidium
behave more like waypoints, e.g. reuse station signs of recently deleted buoys
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
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 r16907) -Codechange: make a more clear distinction between reservation ↵rubidium
functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits?
2009-07-21(svn r16899) -Fix (r16896): Missing 'return'.frosch
2009-07-21(svn r16896) -Codechange: make station spec allocation and station animation ↵rubidium
functions work for both stations and waypoints
2009-07-19(svn r16880) -Codechange: replace magic numbers with their enums and use a ↵rubidium
clearer variable name than 'flag' in the station naming function.
2009-07-18(svn r16869) -Codechange: make drawing waypoints a tiny bit more like ↵rubidium
drawing stations
2009-07-18(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoordsrubidium
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-13(svn r16825) -Codechange: unify dirtying when updating the viewport signs.rubidium
2009-07-13(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and ↵rubidium
UpdateAll[Type]VirtCoords.
2009-07-13(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraftsmatz
2009-07-10(svn r16791) -Codechange: unify (and document) the Remove[StationType] ↵rubidium
functions.
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-07(svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function ↵rubidium
of ViewportSign
2009-07-07(svn r16760) -Codechange: make UpdateStationVirtCoord a function of Stationrubidium
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-07-01(svn r16717) -Codechange: make IsFrontEngine() member of Trainsmatz
2009-07-01(svn r16709) -Fix [FS#2994]: the list of animated tiles could have ↵rubidium
duplicates (only for old savegames) and tiles that weren't animated
2009-06-27(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have ↵frosch
to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its ↵frosch
instances to more meaningful names.
2009-06-27(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() ↵smatz
and change its behaviour accordingly
2009-06-26(svn r16663) -Codechange: make removing of railway station tiles fastersmatz
2009-06-26(svn r16662) -Codechange: replace GetRoadStopByTile() by RoadStop::GetByTile()smatz