Age | Commit message (Collapse) | Author |
|
|
|
This avoids the need to custom memory management and additional members.
This also resolves use-after-free if modifying copied layouts, so presumably nobody has ever done that.
|
|
Adds a console command newgrf_profile to collect some profiling data about NewGRF action 2 callbacks and produce a CSV file.
|
|
|
|
|
|
|
|
This is a C++11 feature that allows the compiler to check that a virtual
member declaration overrides a base-class member with the same signature.
Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked
as virtual despite being a template.
|
|
|
|
|
|
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.
|
|
|
|
pointer since they are never NULL.
|
|
|
|
Eagle_rainbow)
|
|
|
|
|
|
|
|
|
|
|
|
stations.
|
|
|
|
|
|
|
|
spritelayouts allocated on the heap, and make use of constructors and destructors.
|
|
into GetCustomStationRelocation() and only call it if actually needed.
|
|
foundations.
|
|
twice for the same station id
|
|
|
|
|
|
|
|
it for more spritegroups
|
|
|
|
|
|
slightly more generic
|
|
|
|
|
|
|
|
|
|
and DECLARE_ENUM_AS_BIT_SET
|
|
if a header require a header make it include that header
|
|
graphics.
|
|
including of newgrf_cargo.h
|
|
|
|
|
|
functions work for both stations and waypoints
|
|
can be reused for Waypoints.
|
|
TinyEnumT if the stuff provided by TinyEnumT but not SimpleTinyEnumT is not used.
|
|
|
|
as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern...
|