Commit Graph

145 Commits (fa4b5b1c18e8e1948af209f547ae552ed171f908)

Author SHA1 Message Date
rubidium 6d063c3ad6 (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. 16 years ago
smatz 867566f7f0 (svn r12731) -Fix (r12726): copying a 16bit array into 32bit wouldn't work 16 years ago
rubidium 08894026da (svn r12726) -Fix [FS#1877]: overflow causing strange building behaviour in towns. 16 years ago
frosch 91e53e23ca (svn r12717) -Fix (r11107): Check the TILE_NOT_SLOPED flag of the _north_ tile of multi-tile houses to decide if autoslope is allowed. 16 years ago
smatz 76eaed68a0 (svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining 16 years ago
rubidium bd432258cb (svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin. 16 years ago
smatz 9532cde5ff (svn r12564) -Fix: towns couldn't terraform when inflation rised terraform prices enough 16 years ago
smatz f5e445a252 (svn r12562) -Cleanup: variable scope in terraform_cmd.cpp 16 years ago
smatz 401c7b6752 (svn r12561) -Fix: do not affect town rating change by the order in which we examine stations 16 years ago
smatz 39dc3d3eda (svn r12560) -Cleanup: town_cmd.cpp and header files - variable scope and a bit of coding style 16 years ago
smatz fcf4a7067d (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 16 years ago
skidd13 1e7f2dbc10 (svn r12534) -Feature: Add a new type of town road layouts - random for each town 16 years ago
skidd13 e64beee656 (svn r12513) -Codechange: rename OriginalTileRandomiser something more descriptive 16 years ago
rubidium 877ca99198 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 16 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
rubidium 2426f5342f (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 17 years ago
skidd13 49cf499cf2 (svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't 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) 17 years ago
smatz e5709f3ad8 (svn r12201) -Fix (r12060): compilation warnings - uninitialized variable when compiling with assert disabled 17 years ago
frosch 7f3d56041b (svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus(). 17 years ago
smatz 9f619f91b3 (svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges 17 years ago
smatz 68fda40e4f (svn r12162) -Fix [FS#1757]: towns shouldn't build over houses owned by another town 17 years ago
smatz 423864a101 (svn r12161) -Fix: towns will no longer build houses > 1x1 there where should be road (with 2x2, 3x3 grid town layouts) 17 years ago
smatz 91456a93f0 (svn r12063) -Cleanup: use C++ indenting and variable scope/declaration in BuildTownHouse() 17 years ago
smatz 4f2f7f52a6 (svn r12062) -Fix: possible deadlock when there are no houses available to build at given tile
-Fix: houses with zero probability could be built
17 years ago
smatz e9b22d7c70 (svn r12060) -Fix: do not clear tiles when the town won't be able to build 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
17 years ago
peter1138 ef66b08784 (svn r12031) -Fix [FS#1689,FS#1719]: Prevent towns from removing or claiming ownership of player owned tiles when growing. 17 years ago
skidd13 bd1115e7ff (svn r12021) -Cleanup: Make some parts of the town growth a bit more descriptive
-Codechange: Remove some needless checks
17 years ago
rubidium 8b90809718 (svn r11925) -Fix (r122, r9867): loading old, pre savegame version 2, savegames. 17 years ago
belugas 88206b8808 (svn r11873) -Codechange: less a few magical numbers and a tiny bit more comments on town zones 17 years ago
glx 8344327a91 (svn r11855) -Fix [FS#1335]: recompute town population when removing a 'newhouses' grf, or when loading a game with missing 'newhouses' grfs 17 years ago
belugas e91e9d9b4e (svn r11851) -Codechange: A few magic numbers removal, plus a little code style 17 years ago
rubidium fafab82a31 (svn r11832) -Codechange: get rid of (quite) some VARDEFs. 17 years ago
rubidium 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
peter1138 0f7392bd61 (svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
rubidium 2fc62eab05 (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
glx 8ee8d1b964 (svn r11795) -Fix [FS#1616]: take town rating into account when testing if a command can be executed. 17 years ago
rubidium 0365c1f33b (svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114). 17 years ago
rubidium 64d691bacc (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago
rubidium b09d957f31 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary. 17 years ago
smatz f02cf9281b (svn r11760) -Codechange: unify the way how other end of a tunnel/bridge is determined at some places
-Fix: adding road/tram to tram/road bridge was cheaper by one tile
17 years ago
glx bf57e3d868 (svn r11750) -Revert (r11749): commited too much 17 years ago
glx e9a35fd75d (svn r11749) -Fix (r11352): when a bankrupted company is bought, reset vehicle color mapping so the vehicles use the new owner color 17 years ago
rubidium 722613f7f3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
rubidium db73addb43 (svn r11702) -Codechange: move all date related stuff to date*. 17 years ago
rubidium f82aeb82c5 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 81bf9f8503 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium 20ecff81b0 (svn r11685) -Codechange: remove a few 'useless' includes. 17 years ago
rubidium 1f6043458c (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
rubidium 3074bca136 (svn r11680) -Codechange: refactor more out of openttd.h and functions.h. 17 years ago
rubidium 766551b0bc (svn r11677) -Codechange: move price and command related types/functions to their respective places. 17 years ago