Age | Commit message (Collapse) | Author |
|
Adds a console command newgrf_profile to collect some profiling data about NewGRF action 2 callbacks and produce a CSV file.
|
|
|
|
|
|
cargo type.
It is only an error if the invalid result is actually used. This will be silently ignored at the moment.
It is still an error if a duplicate cargo type is returned.
|
|
|
|
- nvar=0 is meant to return the calculated result.
- Missing references resolve to NULL and got identified with the default result.
- Missing 'break' broke overlapping cases.
- Splitting into non-overlapping cases could result in more than 256 cases.
|
|
non-overlapping ranges, sort them and resolve them using binary search. Speedup sprite resolving by about 7 percent.
|
|
inlineable. Speedup sprite resolving by about 8 percent.
|
|
include the new triggers.
-Fix: [NewGRF] Reset used random triggers only after all A123 chains have been resolved, so that all RA2 in all chains can test the shard triggers. This also includes multiple RA2 in the same A123 chain.
-Fix: [NewGRF] Industry random triggers are stored per tile, even when randomising the shared random bits of the parent industry.
|
|
constructor.
|
|
resolving.
|
|
|
|
pointer since they are never NULL.
|
|
Eagle_rainbow)
|
|
ResolverObject::scope and count.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for adding derived classes.
|
|
|
|
variables (using var 7B). Currently most useful for vehicle var 60.
|
|
|
|
|
|
construction stages in spritelayouts with inconsistent number of sprites per spriteset.
|
|
TileLayoutSpriteGroup::ProcessRegisters().
|
|
selected in cases other than 1 or 4 sprites per set.
|
|
|
|
stations.
|
|
tiles.
|
|
is intentionally removed, it is only used together with 'scope'.
|
|
to GetValue and StoreValue.
|
|
persistent storage.
|
|
|
|
|
|
|
|
|
|
|
|
TileLayoutSpriteGroup instead of allocating it separately.
|
|
spritelayouts allocated on the heap, and make use of constructors and destructors.
|
|
resolving custom station foundations.
|