summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Collapse)Author
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
2011-11-23(svn r23303) -Add: economy.fund_buildings, to disallow funding buildingstruebrain
2011-11-23(svn r23300) -Add: show on the GUI when a town grows and make a general ↵truebrain
framework to store goals of a town
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-10(svn r23183) -Codechange: merge BRIBE_FAILED and BRIBE_FAILED_2 messages ↵rubidium
(monoid)
2011-11-08(svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitionsyexo
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 r23142) -Change: [NewGRF v8] Unify the return values of callbacks ↵frosch
returning D0xx texts.
2011-11-04(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z ↵rubidium
related variables
2011-11-04(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type ↵rubidium
functions use int z as well
2011-11-04(svn r23106) -Codechange: pass int* to GetTileSlope and friendsrubidium