Age | Commit message (Collapse) | Author |
|
loaded or loading groups could crash OpenTTD
|
|
|
|
railtype a train is on.
|
|
though there are 32bit available.
|
|
consisted of unrelated values use static const (u)int
|
|
scope *action2 on an unbuilt engine.
|
|
list.
|
|
|
|
seperate class
|
|
|
|
AirportSpec
-Fix: [NewGRF] return the ttd airport type in station var 0xF1
|
|
what NARS expects
|
|
if a header require a header make it include that header
|
|
wait counter; sometimes they might get into eachother's way
|
|
including of newgrf_cargo.h
|
|
|
|
it is only needed for them.
|
|
0x36. Based on Terkhen's work.
|
|
generic as it's used for more than just load/unload. Also add some documentation about where it is used.
|
|
|
|
in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
|
|
|
|
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
|
|
|
prevent unnecessary inclusion newgrf.h anyway
|
|
|
|
|
|
|
|
wrong results due to OpenTTD codechanges
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
vehicles in more places. Esp. they were only invalidated for trains.
|
|
broken due to someone confusing similiary named variables.
|
|
const is (accidentally?) removed using C-style casts.
|
|
unnecessarily add it.
|
|
|
|
instead of using a big union
|
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|
|
from VehicleRail to Train
|
|
|
|
|
|
|
|
|
|
PoolItem::IsValidID(index)
|
|
|
|
printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
|
|
|
|
sources too
|
|
(though spec stated they are). Caching these variables can yield a 10+% speed increase when those vehicle variables are queried often.
|
|
list.
|