Age | Commit message (Collapse) | Author |
|
|
|
|
|
This is a C++11 feature that allows the compiler to check that a virtual
member declaration overrides a base-class member with the same signature.
Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked
as virtual despite being a template.
|
|
|
|
either too low acceleration or too large acceleration
|
|
|
|
consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked.
|
|
|
|
|
|
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
|
|
coding style
|
|
|
|
related variables
|
|
functions if they return the Z in pixels (like TilePixelHeight)
|
|
as no real order influencing path finding is added
|
|
of automatic orders until the next real order is reached.
|
|
|
|
|
|
vehicle view
|
|
|
|
needed by some Vehicle functions.
|
|
acceleration to work properly can sometimes be more than the (temporary) maximum speed causing Clamp to "fail". Make sure that the minimum speed always overrules the maximum speed
|
|
a function in GroundVehicle
|
|
make SetLastSpeed a function of GroundVehicle
|
|
GetSlopeZ() when not needed
|
|
change only if it has GVF_GOINGUP_BIT or GVF_GOINGDOWN_BIT set
|
|
|
|
functions
|
|
|
|
GroundVehicleBase to reduce typing
|
|
trains.
|
|
|
|
on a flat tile
|
|
road vehicles and trains.
|
|
|
|
|
|
realistic in order to make acceleration "slower", which highlights the differences between vehicle types more.
|
|
|
|
|
|
to calculate air drag.
|
|
|
|
|
|
-Codechange: Move GetSlopeResistance to GroundVehicle.
|
|
|
|
|
|
|
|
|