summaryrefslogtreecommitdiff
path: root/src/newgrf_town.cpp
AgeCommit message (Collapse)Author
2021-06-13Codechange: convert printf DEBUG statements to fmt Debug statementsrubidium42
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2018-05-02Change: Switch town growth rate and counter to actual game ticks (#6763)Pavel Stupnikov
2018-03-11(svn r27984) -Codechange: Make ScopeResolver constructors/destructors ↵frosch
inlineable. Speedup sprite resolving by about 8 percent.
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
2013-12-23(svn r26175) -Add: Log in desync output when persistent storage is discarded.frosch
2013-11-24(svn r26085) -Codechange: Pass ResolverObjects as reference instead of ↵frosch
pointer since they are never NULL.
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 r24679) -Codechange: Add resolver classes for towns.alberth
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
2011-12-19(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate ↵truebrain
(GameScript only)
2011-11-23(svn r23298) -Add: track statistics of all incoming and outgoing goods. ↵truebrain
Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
2011-11-15(svn r23233) -Codechange: Refactor maximum and actually transported cargo ↵michi_cc
amount of towns into a reusable struct.
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-09-11(svn r22920) -Cleanup: replace two very old town variables taht were rarely ↵yexo
used by small functions that compute there value on-the-fly when necessary
2011-06-12(svn r22571) -Add: [NewGRF] Show town persistent storage in the NewGRF debug ↵terkhen
GUI.
2011-06-12(svn r22569) -Feature: [NewGRF] Persistent storage for towns.terkhen
2011-06-12(svn r22562) -Codechange: Remove constness from TownGetVariable.terkhen
2010-11-15(svn r21198) -Fix: don't call variables properties in debug messagesrubidium
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-06-23(svn r16632) -Codechange: rename Town::flags12 to Town::flagssmatz
2009-02-18(svn r15513) -Cleanup: Unavailable varaction variable value does not matter, ↵peter1138
but at least it can be consistent.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-15(svn r12726) -Fix [FS#1877]: overflow causing strange building behaviour in ↵rubidium
towns.
2008-03-18(svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't ↵skidd13
computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo)
2008-02-25(svn r12247) -Fix (r9315): Town variables 0x9E to 0xAD (company ratings) ↵frosch
returned wrong values.
2008-02-20(svn r12192) -Fix: clamp various town variables to 16bit prior to returning ↵smatz
the value
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-07-04(svn r10430) -Fix: Too many town rating entry lookups (KUDr)peter1138
2007-04-21(svn r9709) -Fix (r9706): Larger towns use t->larger_towns, not the town index.maedhros
2007-04-21(svn r9706) -Codechange: Support NewGRF town var 40 'largertowns' variable ↵peter1138
properly.
2007-03-19(svn r9315) -Merge: The newhouses branch. With this merge comes almost ↵maedhros
complete support for the newhouses grf specs, so all newhouses grfs will be playable in the game. Many thanks to everyone who contributed code and ideas, and all the testers who found things we missed.