Age | Commit message (Collapse) | Author |
|
|
|
|
|
(#7956)
|
|
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.
|
|
with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
|
|
constructor.
|
|
resolving.
|
|
GetErrorMessageFromLocationCallbackResult instead of the GRFID.
|
|
pointer since they are never NULL.
|
|
|
|
|
|
function. Clarify the parameters and fix the cases were they were swapped.
|
|
and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
|
|
descriptive function
|
|
|
|
removing parts of a station.
|
|
Eagle_rainbow)
|
|
|
|
GoodsEntry::time_since_pickup.
|
|
of custom station foundation sprites fails.
|
|
incorrect values, if no vehicle ever tried loading.
|
|
acceptance, not supply.
|
|
|
|
|
|
for adding derived classes.
|
|
translations. (Alberth)
|
|
incorrectly.
|
|
complicated and also returned the wrong thing for cargos not present in the translation table.
|
|
specs visible for the user.
|
|
|
|
into non-static members GetSpec(uint) and GetSpecCount().
|
|
|
|
variables. (rubidium)
|
|
157 to make them consistent with other slope check callbacks. (michi_cc)
|
|
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.
|
|
construction stages in spritelayouts with inconsistent number of sprites per spriteset.
|
|
|
|
|
|
stations.
|