summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Collapse)Author
2008-02-16(svn r12162) -Fix [FS#1757]: towns shouldn't build over houses owned by ↵smatz
another town
2008-02-16(svn r12161) -Fix: towns will no longer build houses > 1x1 there where ↵smatz
should be road (with 2x2, 3x3 grid town layouts)
2008-02-05(svn r12063) -Cleanup: use C++ indenting and variable scope/declaration in ↵smatz
BuildTownHouse()
2008-02-04(svn r12062) -Fix: possible deadlock when there are no houses available to ↵smatz
build at given tile -Fix: houses with zero probability could be built
2008-02-04(svn r12060) -Fix: do not clear tiles when the town won't be able to build ↵smatz
any buildings anyway -Fix: allow building 2x2 building on slopes if not explicitly forbidden -Fix: it was possible to build 2x1 and 1x2 buildings on slopes even if it was not allowed
2008-01-31(svn r12031) -Fix [FS#1689,FS#1719]: Prevent towns from removing or claiming ↵peter1138
ownership of player owned tiles when growing.
2008-01-30(svn r12021) -Cleanup: Make some parts of the town growth a bit more descriptiveskidd13
-Codechange: Remove some needless checks
2008-01-19(svn r11925) -Fix (r122, r9867): loading old, pre savegame version 2, savegames.rubidium
2008-01-16(svn r11873) -Codechange: less a few magical numbers and a tiny bit more ↵belugas
comments on town zones
2008-01-15(svn r11855) -Fix [FS#1335]: recompute town population when removing a ↵glx
'newhouses' grf, or when loading a game with missing 'newhouses' grfs
2008-01-14(svn r11851) -Codechange: A few magic numbers removal, plus a little code stylebelugas
2008-01-13(svn r11832) -Codechange: get rid of (quite) some VARDEFs.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11822) -Codechange: Replaced fixed size custom name array. Names are ↵peter1138
now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11795) -Fix [FS#1616]: take town rating into account when testing if a ↵glx
command can be executed.
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-04(svn r11760) -Codechange: unify the way how other end of a tunnel/bridge is ↵smatz
determined at some places -Fix: adding road/tram to tram/road bridge was cheaper by one tile
2008-01-03(svn r11750) -Revert (r11749): commited too muchglx
2008-01-03(svn r11749) -Fix (r11352): when a bankrupted company is bought, reset ↵glx
vehicle color mapping so the vehicles use the new owner color
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
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-12-23(svn r11685) -Codechange: remove a few 'useless' includes.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-18(svn r11663) -Codechange: moving of the road related types and functions.rubidium
2007-12-16(svn r11649) -Codechange: some code can be simplified thanks to changes in ↵smatz
r11642
2007-12-16(svn r11644) -Codechange: merge some functions from tunnel_map.h and ↵smatz
bridge_map.h into tunnelbridge_map.h
2007-11-25(svn r11525) -Fix: do not do all kinds of 'updates' for town, waypoint, ↵rubidium
station and other signs when you haven't converted the map to the 'current' format as that means you are going to read data in the 'old' format when you assume that it is in the 'current' format.
2007-11-25(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp ↵skidd13
cause they depend on Random() -Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-17(svn r11454) -Fix: the CHANCE16 functions were biased; a 32768 in 65536 ↵rubidium
chance was really a 32769 in 65536 chance.
2007-11-15(svn r11436) -Fix [FS#1439]: Towns would not build roads on slopes. Patch by ↵rubidium
divide.
2007-11-13(svn r11430) -Fix (r11421) [FS#1421]: there was still one case that would ↵rubidium
cause a crash...
2007-11-12(svn r11421) -Fix [FS#1431]: do not use a function that asserts when ↵rubidium
wrapping around the map's edge when you use the wrapping (and MP_VOID tiles) to determine whether the bridge can be build.
2007-11-10(svn r11399) -Feature(ette): transparency settings can now be saved and thus ↵belugas
remembered. -Codechange: Wrap all transparency settings in accessors, hiding the implementation -Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui. Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
2007-11-09(svn r11397) -Fix r11395: some minor fixes for better town-bridge results ↵truelight
(and better comments) (skidd13 / TrueLight)
2007-11-09(svn r11395) -Fix: allow town-bridges to be build on slopes (Rafal Rzepecki)truelight
2007-10-20(svn r11315) -Fix [FS#1353]: towns are not growing beyond height ↵rubidium
differences. Patch by skidd13.
2007-10-20(svn r11308) -Fix (r9315): Change the house id as well as the house spec ↵maedhros
when using an overridden town building, since the house id is the one that's used to actually build the house.
2007-10-16(svn r11276) -Codechange: be more consistent with naming of some accessors.rubidium
-Fix: make sure canals are never owned by water. Based on a patch by boekabart.