Age | Commit message (Collapse) | Author |
|
in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
|
|
instead of the one of the front vehicle.
|
|
traindepot instead of only the first part.
|
|
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.
|
|
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
|
|
|
|
|
|
unnecessarily add it.
|
|
|
|
from VehicleRail to Train
|
|
|
|
|
|
they are part of strings and add some colours to a few strings.
|
|
DrawString.
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
of duplicate strings and unifies the GUIs quite a bit
|
|
drawing functions instead of only the left.
|
|
window.
|
|
|
|
(optional) parameter.
|
|
consist, not only the first vehicle
|
|
DrawFrameRect usage
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
|
|
|
RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
|
|
something more than whitespace as description of files that don't have a description.
|
|
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
|
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
|
|
|
in the group and depot GUI if appropriate
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
|
|
aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
|
|
unneeded include from openttd.h.
|
|
|
|
needed.
|
|
useless includes.
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
their respective places.
|
|
|
|
and making it more logic where function definitions can be found.
|
|
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
|
|
the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
|
|
|