Age | Commit message (Collapse) | Author |
|
GetIndustryByTile()
|
|
they got renamed
|
|
|
|
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
|
|
relatives
|
|
remover and vice versa
|
|
|
|
|
|
use it for all stations
|
|
|
|
|
|
and waypoints.
|
|
and waypoints
|
|
station demolish code
|
|
proper names and using some helper functions
|
|
first
|
|
cases, rail stations to have incorrect width/height.
|
|
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
|
|
difference between waypoints and stations.
|
|
|
|
trainst_h.
|
|
'magic' array of numbers for a named struct
|
|
it's written.
|
|
whether a station is pending deletion or not
|
|
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.
|
|
stations and/or accidentally reusing waypoints for stations or vice versa.
|
|
behave more like waypoints, e.g. reuse station signs of recently deleted buoys
|
|
waypoint_func.h
|
|
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.
|
|
functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits?
|
|
|
|
functions work for both stations and waypoints
|
|
clearer variable name than 'flag' in the station naming function.
|
|
drawing stations
|
|
|
|
|
|
|
|
UpdateAll[Type]VirtCoords.
|
|
|
|
functions.
|
|
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.
|
|
explaining names
|
|
of ViewportSign
|
|
|
|
functions
|
|
Is/Set/HasArticulatedPart member of RoadVehicle.
|
|
|
|
duplicates (only for old savegames) and tiles that weren't animated
|
|
to deal with sizeof() wrt. typedef-ed arrays.
|
|
instances to more meaningful names.
|