summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Collapse)Author
2014-02-16(svn r26346) -Fix [FS#5870]: Call Layouter::ReduceLineCache from ↵frosch
GenerateTownName in all cases.
2014-02-16(svn r26345) -Cleanup (r26310): Spawning towns does not touch persistent ↵frosch
NewGRF storage. ClearPersistentStorageChanges is a dangerous/magic function which should not be called without reason.
2014-02-06(svn r26313) -Codechange: use a set for finding unique town names instead of ↵rubidium
iterating all just created town names (MJP)
2014-02-06(svn r26311) -Codechange: use a different method for finding whether there ↵rubidium
is a nearby town when the map has thousands of towns (MJP)
2014-02-06(svn r26310) -Codechange: clean up some caches during town generation to ↵rubidium
keep memory usage significantly lower (MJP)
2014-02-06(svn r26308) -Fix-ish: do not try to build more towns/industries than the ↵rubidium
pool can hold (MJP)
2013-11-25(svn r26104) -Fix: do not attempt to do stuff with an invalid direction, ↵rubidium
especially using it as index into a table
2013-11-22(svn r26051) -Fix: out of bounds access in CmdTownCargoGoalrubidium
2013-11-12(svn r25968) -Add: [Script] ScriptTown::TOWN_GROWTH_NONE to indicate no town ↵frosch
growth via ScriptTown::SetGrowthRate and GetGrowthRate.
2013-10-30(svn r25931) -Fix [FS#5786-ish]: [NoGo] Preserve the relative town growth ↵frosch
progress when changing the town growth rate.
2013-10-28(svn r25922) -Codechange: Rename TOWN_IS_FUNDED to TOWN_IS_GROWING. It is ↵frosch
not tied to funding a town.
2013-10-12(svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope ↵zuu
information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
2013-10-12(svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES.frosch
2013-10-12(svn r25833) -Codechange: Move ObjectType from map array into pool item.frosch
2013-09-21(svn r25789) -Fix (r25783): Calling GSTown.FoundTown in world gen caused ↵zuu
world gen to terminate and start the game
2013-09-19(svn r25785) -Feature: [Script] Allow AIs and GS to found towns. Allow GS to ↵zuu
rename towns
2013-04-03(svn r25140) -Fix [FS#5519]: Towns are build as OWNER_TOWN, so they also ↵frosch
need to be removed as OWNER_TOWN.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-01(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from ↵alberth
various sources (including Eagle_rainbow, MinchinWeb)
2012-07-09(svn r24391) -Change [FS#5229]: Disallow original and better road layouts to ↵frosch
build roads under bridges along the bridge direction.
2012-05-26(svn r24291) -Add: [Script] ScriptEventRoadReconstruction.frosch
2012-05-26(svn r24290) -Add: [Script] ScriptEventExclusiveTransportRights.frosch
2012-05-26(svn r24287) -Feature [FS#2688]: News item for exclusive transport rights. ↵frosch
(based on patch by Grantovich)
2012-05-26(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and ↵frosch
NewsFlag instead.
2012-05-26(svn r24283) -Codechange: Add AddTileNewsItem function to preemptively ↵frosch
deduplicate code.
2012-05-06(svn r24205) -Feature [FS#5178-ish]: Show a hint in the supplies tab of ↵frosch
station windows, if the station is affected by exclusive transport rights.
2012-04-26(svn r24183) -Fix [FS#5169]: Town radii were not updated immediatelly after ↵frosch
construction/destruction of houses, resulting in desyncs.
2012-04-25(svn r24179) -Codechange: move some variables of Town to TownCacherubidium
2012-04-08(svn r24105) -Feature: Be more careful with the population of a small town ↵alberth
while placing a statue.
2012-04-08(svn r24104) -Codechange: Output the resulting tile through the user data.alberth
2012-04-08(svn r24103) -Codechange: Handle clear tiles separately from house tiles.alberth
2012-04-08(svn r24102) -Codechange: Refactor tile clearability test out of the statue ↵alberth
callback.
2012-04-08(svn r24101) -Codechange: Reverse a condition for increased readability.alberth
2012-03-25(svn r24064) -Fix [FS#5121]: make the full snowedness level of houses the ↵rubidium
same as roads and rails
2012-02-15(svn r23953) -Fix [FS#5062]: When the population of a town changes the town ↵frosch
view might even have to change size due to different cargo requirements.
2012-01-17(svn r23819) -Fix [FS#4951]: Removal of towns with 0 population failed ↵frosch
during map generation.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-19(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUItruebrain
2011-12-19(svn r23622) -Add: a set of events to trigger in a GameScripttruebrain
2011-12-19(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate ↵truebrain
(GameScript only)
2011-12-19(svn r23617) -Add: ScriptTown::ExpandTown, to grow a town (GameScript only)truebrain
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-10(svn r23476) -Codechange: use the error queue to replace switch mode error ↵rubidium
strings, again making it possible to return multiple errors
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-12-03(svn r23407) -Codechange: Keep a bitmap of all cargos accepted by towns.terkhen
2011-12-03(svn r23405) -Codechange: Keep a matrix of cargos accepted by houses for ↵terkhen
each town (michi_cc).
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain
2011-11-27(svn r23342) -Fix (r23300): for arctic and desert towns you were required to ↵rubidium
deliver more than 4 billion units, instead of one or more units
2011-11-25(svn r23323) -Fix: when you fund a town, it should grow; goals reached or nottruebrain
2011-11-24(svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up.peter1138