summaryrefslogtreecommitdiff
path: root/src/newgrf_house.cpp
AgeCommit message (Collapse)Author
2021-06-13Codechange: convert printf DEBUG statements to fmt Debug statementsrubidium42
2020-06-01Codechange: remove has_newhouses globalYexo
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_TOWNS 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
2019-03-09Codechange: Convert StationList from SmallVector to std::set.peter1138
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2018-03-11(svn r27984) -Codechange: Make ScopeResolver constructors/destructors ↵frosch
inlineable. Speedup sprite resolving by about 8 percent.
2017-10-25(svn r27928) -Fix: [NewGRF] While executing random triggers, var 5F should ↵frosch
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.
2016-05-22(svn r27574) -Fix [FS#6432]: The house id as returned by house variable 66 ↵frosch
was incorrect when querying neighboured tiles. (adf88)
2014-05-11(svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do ↵rubidium
with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
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.
2013-11-24(svn r26085) -Codechange: Pass ResolverObjects as reference instead of ↵frosch
pointer since they are never NULL.
2013-11-23(svn r26076) -Codechange: upgrade some C-style named structs to C++-style ↵rubidium
named structs
2013-11-23(svn r26059) -Fix (r20435): missed one instance causing to compare an array ↵rubidium
to NULL instead of an array's element
2013-10-12(svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES.frosch
2013-06-19(svn r25429) -Fix [FS#5603] (r25140): When town creation failed, removing ↵frosch
remnants of the construction failed on protected houses.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
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 r24682) -Codechange: Add resolver classes for houses.alberth
2012-11-10(svn r24678) -Codechange: Introduce scope resolver base class and prepare ↵alberth
for adding derived classes.
2012-04-25(svn r24179) -Codechange: move some variables of Town to TownCacherubidium
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-02(svn r23721) -Fix (r23070): reading memory of a temporary (already ↵yexo
deconstructed) object is invalid
2011-11-08(svn r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info ↵frosch
variables. (rubidium)
2011-11-08(svn r23147) -Change: [NewGRF v8] Unify the return values of boolean ↵frosch
callbacks, and check the results for validity.
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-10-31(svn r23072) -Feature: [NewGRF] House callback 0x148.michi_cc
2011-10-31(svn r23071) -Codechange: [NewGRF] Allow passing custom extra data through ↵michi_cc
the generic NewGRF animation helper class.
2011-10-31(svn r23070) -Add: [NewGRF] House variable 0x64.michi_cc
2011-09-11(svn r22923) -Codechange: Move application of the construction stage into ↵frosch
TileLayoutSpriteGroup::ProcessRegisters().
2011-08-08(svn r22731) -Fix: [NewGRF] The construction stage sprites were incorrectly ↵frosch
selected in cases other than 1 or 4 sprites per set.
2011-07-04(svn r22635) -Fix: Correctly reseed random bits of industries and industry ↵frosch
tiles.
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 r22566) -Codechange: Define and use OverrideManagerBase::GetGRFID function.terkhen
2011-06-12(svn r22562) -Codechange: Remove constness from TownGetVariable.terkhen
2011-06-12(svn r22560) -Codechange: Remove constness from House 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.
2010-12-10(svn r21456) -Fix: [NewGRF] make sure the parameter for house var 60 is the ↵yexo
id of an original house
2010-11-15(svn r21198) -Fix: don't call variables properties in debug messagesrubidium
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-26(svn r20627) -Codechange: unify the animation code of station, airport, ↵rubidium
house and industry tiles
2010-08-26(svn r20624) -Codechange: some constifying for NewGRF houserubidium