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.
|
|
|
|
|
|
by 0 bits.
|
|
|
|
|
|
- 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.
|
|
|
|
sprite resolving by about 3 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.
|
|
signed division/modulo.
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
|
|
constructor.
|
|
every sprite resolving.
|
|
|
|
pointer since they are never NULL.
|
|
Eagle_rainbow)
|
|
ResolverObject::scope and count.
|
|
|
|
|
|
|
|
for adding derived classes.
|
|
|
|
don't need to cast to void/non-const before being able to free
|
|
|
|
variables (using var 7B). Currently most useful for vehicle var 60.
|
|
|
|
construction stages in spritelayouts with inconsistent number of sprites per spriteset.
|
|
TileLayoutSpriteGroup::ProcessRegisters().
|
|
tiles.
|
|
to GetValue and StoreValue.
|
|
persistent storage.
|
|
|
|
TileLayoutSpriteGroup instead of allocating it separately.
|
|
spritelayouts allocated on the heap, and make use of constructors and destructors.
|
|
parameter from the accumulator.
|
|
|
|
some headers
|
|
differences between platforms.
|
|
|
|
temporary/persistent storage. (Spotted by yexo)
|
|
if a header require a header make it include that header
|
|
initialised to zero, and not always checked for valid range.
|
|
procedure and main chain.
-Fix (r8075): 'scope' and 'count' are not.
|
|
anymore.
|
|
|
|
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|