Age | Commit message (Collapse) | Author |
|
|
|
This is set by cargo property 19.
This property is only implemented in TTDPatch.
|
|
Cargo payments were stored as unsigned integer, but cast to int64 during
application of inflation. However, then being multiplied with a uint64
making the result uint64. So in the end the payment that should have been
negative becomes hugely positive.
|
|
|
|
|
|
Default vehicles now behave as if they had a cargo translation table. This fixes default vehicles carrying seemingly random cargos, if NewGRF industry sets are present.
This behavior is disabled, when a NewGRF touches any of the cargo-type or refitting properties. In that case it's up to the NewGRF to define its own cargo translation table.
|
|
|
|
|
|
NewGRF spec says that base payment rate is 32 bits, but it was loaded into a 16 bit variable. This value is loaded into Money variable after inflation is applied.
|
|
|
|
|
|
|
|
|
|
|
|
Eagle_rainbow)
|
|
cargo filters.
|
|
various sources (including Eagle_rainbow, MinchinWeb)
|
|
multipliers when refitting vehicles, which do not use callback 15.
|
|
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
|
|
coding style
|
|
|
|
Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
|
|
|
|
|
|
|
|
cargo specifications.
|
|
/ name.
|
|
structs, and functions.
|
|
|
|
including of newgrf_cargo.h
|
|
|
|
CargoSpec::current_payment.
|
|
|
|
|
|
valid CargoSpecs
|
|
|
|
header files
|
|
|
|
from openttd.h to their own headers.
|
|
something more than whitespace as description of files that don't have a description.
|
|
so it uses less memory.
|
|
actual drawing of them.
|
|
cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too.
|
|
unneeded include from openttd.h.
|
|
|
|
|
|
another way.
|
|
|
|
variables 0x60..0x65
|
|
handler and custom icon sprites
|