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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
constructor.
|
|
GetErrorMessageFromLocationCallbackResult instead of the GRFID.
|
|
pointer since they are never NULL.
|
|
|
|
Eagle_rainbow)
|
|
|
|
|
|
|
|
for adding derived classes.
|
|
|
|
simplify code checking for that
|
|
variables. (rubidium)
|
|
callbacks, and check the results for validity.
|
|
variables (using var 7B). Currently most useful for vehicle var 60.
|
|
use it
|
|
functions if they return the Z in pixels (like TilePixelHeight)
|
|
the generic NewGRF animation helper class.
|
|
TileLayoutSpriteGroup::ProcessRegisters().
|
|
selected in cases other than 1 or 4 sprites per set.
|
|
industry shape and location callbacks.
|
|
|
|
tiles.
|
|
is intentionally removed, it is only used together with 'scope'.
|
|
continuously overwritten by e.g. industry prospection without closing the old error window; also StopTextRefStackUsage() was not called for errors returned by commands (which caused FS#4599). Now return in the CommandCost result whether the textref stack needs to be used, and store a copy of the stack values in the error window just like for the normal string parameters.
|
|
StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation.
|
|
|
|
to GetValue and StoreValue.
|
|
persistent storage.
|
|
|
|
|
|
TileLayoutSpriteGroup instead of allocating it separately.
|
|
|
|
|
|
defined tiles that relied on the substitute being drawn were broken
|
|
industry vars 60,61,62,63 are unsigned instead of signed
|
|
built/randomly placed industries in the location and land slope check callbacks
|
|
some headers
|
|
related code
|
|
house and industry tiles
|
|
|
|
[GS]et[Statation|Object|Industry|House]AnimationFrame
|
|
it for more spritegroups
|