summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Collapse)Author
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.
2011-08-22(svn r22809) -Fix [FS#4731]: towns expanding from the "wrong" side of a ↵rubidium
tunnel or bridge
2011-07-31(svn r22706) -Cleanup: A loop is no loop, if it never iterates.frosch
2011-07-30(svn r22697) -Fix [FS#4694-ish]: when building a house it could be built at ↵rubidium
the wrong place if multitile houses failed some tests
2011-06-12(svn r22569) -Feature: [NewGRF] Persistent storage for towns.terkhen
2011-05-21(svn r22482) -Codechange: Add some contants for the number of ticks between ↵frosch
certain cyclical tasks.
2011-05-14(svn r22459) -Doc: Typo fixes and doxygen markup improvements.alberth
2011-02-19(svn r22116) -Codechange: use PoolBase::Clean() at more placessmatz
2011-02-15(svn r22087) -Fix: When deleting towns, only relocate objects during DC_EXEC.terkhen
2011-02-12(svn r22066) -Fix [FS#4502]: building a statue did not check whether the ↵rubidium
object pool is full
2011-02-12(svn r22065) -Fix [FS#4500]: pool allocation checks triggered when towns ↵rubidium
could not be built
2011-02-07(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.hrubidium
2011-02-05(svn r21974) -Feature: Add a setting to enable/disable funding local road ↵terkhen
reconstruction.
2011-01-18(svn r21845) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [d-m].
2010-12-29(svn r21664) -Add: [NoAI] AIEventTownFoundedyexo