Age | Commit message (Collapse) | Author |
|
in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
|
|
vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8.
|
|
functions
|
|
Is/Set/HasArticulatedPart member of RoadVehicle.
|
|
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.
|
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|
|
|
|
DrawString(..., STR_JUST_RAW_STRING, ...) use DrawString(..., string, ...).
|
|
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.
|
|
API.
|
|
window.
|
|
|
|
consist, not only the first vehicle
|
|
DrawFrameRect usage
|
|
were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
|
|
have a capacity instead of showing 'empty' parts when a vehicle is completely full.
|
|
something more than whitespace as description of files that don't have a description.
|
|
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 include from openttd.h.
|
|
|
|
when it's not necessary.
|
|
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)
|
|
|
|
Based on a patch by nycom.
|
|
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
|
determined. Patch by nycom.
|
|
|
|
a vehicle. Patch by nycom.
|
|
CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
|
|
same forwat so we can display it.
|
|
even though there is no track to do so.
|
|
articulated vehicle carries more than one cargo.
|
|
windows that are smaller than the default window size.
|
|
|
|
Get(Aircraft|RoadVeh|Ship|Train)Image.
|