Age | Commit message (Collapse) | Author |
|
codes and group them logically
|
|
|
|
used in the vehicle list GUIs.
|
|
|
|
in a WWT_MATRIX data field.
|
|
1/8 vehicle length.
|
|
|
|
vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8.
|
|
|
|
around road vehicles and flipping parts of trains in the depot
|
|
carry" line always showed the ship refit tooltip
|
|
functions
|
|
Is/Set/HasArticulatedPart member of RoadVehicle.
|
|
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
|
to deal with sizeof() wrt. typedef-ed arrays.
|
|
instances to more meaningful names.
|
|
prevent unnecessary inclusion newgrf.h anyway
|
|
|
|
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
|
|
|
|
company-based settings, so in a multiplayer game everyone can change them.
|
|
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|
|
const is (accidentally?) removed using C-style casts.
|
|
unnecessarily add it.
|
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|
|
from VehicleRail to Train
|
|
|
|
|
|
make it static.
|
|
PoolItem::IsValidID(index)
|
|
|
|
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
|
|
|
|
|
|
DrawString.
|
|
they were multiline strings being drawn using DrawString instead of DrawStringMultiLine.
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
-Change: move a string to a more sensible location
|
|
of duplicate strings and unifies the GUIs quite a bit
|
|
correctly
|
|
details windows.
|
|
widget number comment in _vehicle_refit_widgets
|
|
|
|
callback
|
|
showing in vehicle list windows. Instead of drawing the label ourselves we can set the dropdown's data property to the string to draw.
|
|
|
|
|