summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Collapse)Author
2008-06-14(svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles.frosch
2008-06-12(svn r13489) -Fix: first determine where to *exactly* build a house before ↵rubidium
asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good.
2008-06-05(svn r13390) -Codechange: introduce usererror() for fatal but not openttd ↵glx
related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
2008-06-05(svn r13383) -Codechange: Put the cost of house removal in a class memberbelugas
2008-06-03(svn r13368) -Codechange: give house's min/max_date a better name, as it is ↵belugas
really year, not date
2008-06-03(svn r13367) -Codechange: Allow CircularTileSearch function to return the ↵belugas
tile where search has been successful, or INVALID_TILE if it has not
2008-06-02(svn r13362) -Fix: make the town authority window a bit less glitchysmatz
2008-06-01(svn r13351) -Codechange: disable warnings about unused variable for builds ↵smatz
without asserts
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-27(svn r13297) -Codechange: Use GUIList for the town directory windowpeter1138
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-24(svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by ↵frosch
RoadOwner. -Fix: Before evaluating RoadOwner, check if the roadtype is present. -Fix: Some places assumed that MP_ROAD means normal street.
2008-05-24(svn r13226) -Feature: Allow to have more than only two airports per town. ↵belugas
The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is. Initial concept : TTDPatch (moreairpots), Initial code : Pasky Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
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()