summaryrefslogtreecommitdiff
path: root/src/newgrf_object.cpp
AgeCommit message (Collapse)Author
2020-01-26Feature: NewGRF callback profiling (#7868)Niels Martin Hansen
Adds a console command newgrf_profile to collect some profiling data about NewGRF action 2 callbacks and produce a CSV file.
2019-12-21Codechange: Replace FOR_ALL_OBJECTS with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-06-27Codechange: Silence -Wclass-memaccess warnings with GCC8Charles Pigott
2018-03-11(svn r27984) -Codechange: Make ScopeResolver constructors/destructors ↵frosch
inlineable. Speedup sprite resolving by about 8 percent.
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-03-03(svn r26388) -Codechange: Move resolving of Action 3 into ResolverObject ↵frosch
constructor.
2014-02-07(svn r26316) -Feature [FS#5696]: Extend object variable 0x60 to also return ↵frosch
the view.
2013-11-24(svn r26085) -Codechange: Pass ResolverObjects as reference instead of ↵frosch
pointer since they are never NULL.
2013-10-17(svn r25875) -Change: In scenario editor allow to build all objects which ↵planetmaker
were available at any point in the past to support building scenarios with historic items
2013-10-12(svn r25833) -Codechange: Move ObjectType from map array into pool item.frosch
2012-11-10(svn r24693) -Doc: Add some doxymentation into the newgrf code.alberth
2012-11-10(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.alberth
2012-11-10(svn r24683) -Codechange: Add resolver classes for objects.alberth
2012-11-10(svn r24678) -Codechange: Introduce scope resolver base class and prepare ↵alberth
for adding derived classes.
2012-04-22(svn r24172) -Cleanup: Lighthouse and transmitter no longer need special ↵frosch
treatment to not appear in the object GUI.
2012-04-22(svn r24169) -Add: Make NewGRFClass distinguish between defined specs and ↵frosch
specs visible for the user.
2012-04-22(svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in ↵frosch
favour of using Get() and direct member access (which is needed anyway for GRF string resolving).
2012-04-22(svn r24160) -Codechange: Split parts of ObjectSpec::IsAvailable() into ↵frosch
ObjectSpec::IsEverAvailable().
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2011-11-08(svn r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info ↵frosch
variables. (rubidium)
2011-11-08(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x ↵frosch
variables (using var 7B). Currently most useful for vehicle var 60.
2011-11-04(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and ↵rubidium
use it
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-10-31(svn r23071) -Codechange: [NewGRF] Allow passing custom extra data through ↵michi_cc
the generic NewGRF animation helper class.
2011-08-18(svn r22757) -Fix [FS#4730]: [NewGRF] Invalid memory access when querying ↵planetmaker
the grfID of the default objects
2011-07-04(svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' ↵frosch
is intentionally removed, it is only used together with 'scope'.
2011-06-12(svn r22569) -Feature: [NewGRF] Persistent storage for towns.terkhen
2011-06-12(svn r22561) -Codechange: Remove constness from Object in ResolverObject.terkhen
2011-06-12(svn r22557) -Codechange: Remove constness from AnimationBase callbacks.terkhen
2011-05-29(svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers.frosch
2011-05-14(svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of ↵frosch
TileLayoutSpriteGroup instead of allocating it separately.
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-22(svn r21886) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [n].
2010-12-10(svn r21454) -Codechange: add support for object variable 48rubidium
2010-11-30(svn r21360) -Fix [FS#4281]: crash when randomised action2 was used when ↵rubidium
resolving the image to draw in the buy menu
2010-11-20(svn r21273) -Codechange: Return values should start at the same line.alberth
2010-11-19(svn r21259) -Change: [NewGRF] Split var43 into var43 (animation stage) and ↵rubidium
var47 (object colour)
2010-11-15(svn r21198) -Fix: don't call variables properties in debug messagesrubidium
2010-10-26(svn r21041) -Change: [NewGRF] make object var 60 return the object id even ↵yexo
when the relative tile is not part of the same object
2010-10-08(svn r20908) -Fix [FS#4156]: assertion when the buy menu graphics callback ↵rubidium
accessed a variable that needs a tile index
2010-08-28(svn r20676) -Codechange: it's not needed to supply two almost identical varsrubidium
2010-08-28(svn r20673) -Codechange: add support for inspecting objectsrubidium
2010-08-28(svn r20671) -Add: feature F (not action F as written mistakenly in the ↵rubidium
previous message) support for the scenario editor
2010-08-28(svn r20662) -Codechange: implement object animationrubidium
2010-08-28(svn r20660) -Codechange: implement (most) of action2 support for objectsrubidium