summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Collapse)Author
2008-05-21(svn r13206) -Feature(ette): Display all owners of a tile in the ↵frosch
tile-info-window.
2008-05-15(svn r13100) -Codechange: reduce the amount of parameters passed via ↵rubidium
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-29(svn r12929) -Fix [FS#1967](r12560): town rating was too often reset to Mediocresmatz
2008-04-29(svn r12920) -Fix (r12859): town rating was affected even after the test runsmatz
2008-04-23(svn r12859) -Fix: make the town rating tests use less memory and much ↵rubidium
quicker; from 13% to unnoticable in the profile in games with lots of towns and lots of very active AIs.
2008-04-23(svn r12855) -Codechange: do not use autoptr's for testing whether certain ↵rubidium
objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though.
2008-04-21(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does ↵rubidium
it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
2008-04-21(svn r12817) -Feature: the ability to play NewGRF sounds for industries and ↵rubidium
stations.
2008-04-20(svn r12801) -Codechange: remove the dependency of function.h in town_map.hrubidium
2008-04-18(svn r12762) -Fix: tabs after the first non-tab character are generally not ↵rubidium
okay (or lines starting with a space and then tabs).
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-15(svn r12731) -Fix (r12726): copying a 16bit array into 32bit wouldn't worksmatz
2008-04-15(svn r12726) -Fix [FS#1877]: overflow causing strange building behaviour in ↵rubidium
towns.
2008-04-15(svn r12717) -Fix (r11107): Check the TILE_NOT_SLOPED flag of the _north_ ↵frosch
tile of multi-tile houses to decide if autoslope is allowed.
2008-04-06(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify ↵smatz
compiler's decisions about inlining
2008-04-06(svn r12596) -Feature: show what cargos a station could be supplied with. ↵rubidium
Patch by Roujin.
2008-04-04(svn r12564) -Fix: towns couldn't terraform when inflation rised terraform ↵smatz
prices enough
2008-04-04(svn r12562) -Cleanup: variable scope in terraform_cmd.cppsmatz
2008-04-04(svn r12561) -Fix: do not affect town rating change by the order in which we ↵smatz
examine stations
2008-04-04(svn r12560) -Cleanup: town_cmd.cpp and header files - variable scope and a ↵smatz
bit of coding style
2008-04-03(svn r12547) -Feature: invisibility options to make objects invisible ↵smatz
instead of transparent
2008-04-01(svn r12534) -Feature: Add a new type of town road layouts - random for each ↵skidd13
town
2008-03-31(svn r12513) -Codechange: rename OriginalTileRandomiser something more ↵skidd13
descriptive
2008-03-31(svn r12495) -Codechange: reduce the dependency on newgrf_station.h ↵rubidium
(especially because newgrf_station.h includes a lot of stuff).
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium
2008-03-18(svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't ↵skidd13
computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo)
2008-02-20(svn r12201) -Fix (r12060): compilation warnings - uninitialized variable ↵smatz
when compiling with assert disabled
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-18(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so ↵smatz
there can be less checks in pathfinders for depots/stations/tunnels/bridges
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).