Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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.
|
|
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)
|
|
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
|
|
windows that are smaller than the default window size.
|
|
variables.h to strings.h
|