summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Collapse)Author
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
2011-11-04(svn r23101) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
from the station/object building code
2011-11-04(svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
for the terraform code
2011-11-04(svn r23096) -Codechange: remove useless divisions and multiplications by ↵rubidium
TILE_HEIGHT for the snow line code
2011-11-04(svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use itrubidium
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-11-02(svn r23082) -Fix: account for snow line table when determining the snow ↵rubidium
line for building houses
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-09-06(svn r22899) -Add: Allow towns to build bridges over canals and rivers.terkhen
2011-08-22(svn r22810) -Fix: Growth a town on both ends of a tunnel/bridge if the town ↵michi_cc
centre tile is a bridge ramp/tunnel portal.