Age | Commit message (Collapse) | Author |
|
functions
|
|
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
|
|
|
to deal with sizeof() wrt. typedef-ed arrays.
|
|
instances to more meaningful names.
|
|
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|
|
unnecessarily add it.
|
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|
|
|
|
|
|
|
|
DrawString.
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
they are basically the same thing
|
|
callback
|
|
|
|
drawing API.
|
|
expanding them much easier (Alberth)
|
|
sources too
|
|
|
|
holds the owner of whatever is shown in the window
|
|
|
|
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
|
|
different vehicle is dragged.
|
|
|
|
|
|
(optional) parameter.
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
sprites: fonts, recolour, mapgen and normal sprites.
|
|
when a depot window was opened
|
|
CMD_START_STOP_VEHICLE.
|
|
warning
|
|
[ctrl-]right-clicking on vehicle.
|
|
build_vehicle, cheat, depot and dock guis.
The fact that it goes alphabetically is pure coincidence.
|
|
gui would place the "mouse pointer" out of the center of the vehicle making it hard to "aim".
|
|
the 3 users include it, reducing dependencies on misc/smallvec.h
|
|
|
|
|
|
variable
|
|
|
|
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
|
|
window_gui.h only needs to be included in *_gui.cpp.
|
|
the Window class and remove Window from their naming.
|
|
depot.
|
|
variable
|
|
variable
|