Age | Commit message (Collapse) | Author |
|
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?
|
|
the unload counter/stuck when the vehicle is unloading. It'll be automatically reset once the vehicle wants to leave the station
|
|
|
|
|
|
in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
|
|
|
|
|
|
around road vehicles and flipping parts of trains in the depot
|
|
GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
|
|
Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
|
|
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
|
|
|
|
|
|
|
bailing out in FindTrainCollideEnum() (Bilbo)
-Codechange: shuffle the code a bit
|
|
|
|
FindTrainCollideEnum() to minimum
|
|
|
|
|
|
to not confuse it with image_index from *VehInfo.
|
|
depot
|
|
as bitmasks
|
|
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
|
|
|
|
code style.
|
|
vehicles in more places. Esp. they were only invalidated for trains.
|
|
|
|
for all vehicle types
|
|
company-based settings, so in a multiplayer game everyone can change them.
|
|
constant and unduplicate a few lines.
|
|
unnecessarily add it.
|
|
vehicles/stations/industries are deleted.
|
|
messages. Esp. do not close them automatically after some time.
|
|
|
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|
|
from VehicleRail to Train
|
|
|
|
|
|
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
was deleted
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
introduce shiny new IsPlainRailTile()
|
|
PoolItem::IsValidID(index)
|
|
|