Age | Commit message (Collapse) | Author |
|
vehicles/stations/industries are deleted.
|
|
|
|
same as for DrawString (except the addition of the bottom parameter)
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
|
|
of duplicate strings and unifies the GUIs quite a bit
|
|
|
|
-Fix (r15800): off-by-one w.r.t. offsets
|
|
|
|
|
|
|
|
use it everywhere, so CB 36 is also used everywhere.
|
|
expanding them much easier (Alberth)
|
|
carries only cargo.
|
|
use the same numbers as the GUI showed, e.g. articulated parts weren't taken into accound when ordering by capacity.
|
|
which cannot accept CT_INVALID.
-Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them.
-Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection.
-Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'.
Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects.
Note: It is intentional that you cannot control refittability by CB 36.
|
|
color and colour.
|
|
changing company.
|
|
Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them)
|
|
|
|
duplication.
|
|
duplication. Also stops AIs decrementing vehicle counter of first company
|
|
(optional) parameter.
|
|
instead of relying on consecutive string IDs.
|
|
indicating what it actually is.
|
|
industries and group gui
|
|
multiheaded engines were (too often) doubled in newspaper resp. offer window.
|
|
into their own parameter.
|
|
|
|
|
|
|
|
(and its headers) to engine_gui.cpp
|
|
from lots
of windows causing 'two stage' opening effect.
|
|
|
|
windows.
|
|
the Window class and remove Window from their naming.
|
|
|
|
Patch by Cirdan.
|
|
Window.
|
|
|
|
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.
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
|
|
vehicles' running cost, and show running cost of wagons if they have it.
|
|
running_cost, inline with other vehicle types (It is the factor, not the base)
|
|
unneeded include from openttd.h.
|
|
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
single file and do not include gfx.h everywhere to get a Point type.
|