Age | Commit message (Collapse) | Author |
|
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.
|
|
and change its behaviour accordingly
|
|
|
|
|
|
|
|
and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
|
|
|
|
instead of searching them everytime payment is made
|
|
|
|
|
|
of the Airport class.
-Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
|
|
|
|
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
code style.
|
|
deleted in the same tick
|
|
they are in a drive through station that got removed due to bankruptcy
|
|
|
|
unnecessarily add it.
|
|
vehicles/stations/industries are deleted.
|
|
|
|
|
|
|
|
|
|
time, binary size and run time (with asserts disabled) should be improved
|