Commit Graph

179 Commits (c816cc37fd01eb9b0842fd22cf5e79473d338c9f)

Author SHA1 Message Date
smatz abea03fb89 (svn r13830) -Feature: show additional NewGRF info in the Tile Info window for stations, houses and industries 16 years ago
rubidium cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium 56ad26a3aa (svn r13730) -Fix: make a copy of the names for news messages about the deletion of companies as the removal of a company could lead to wrong names in the news messages. 16 years ago
rubidium 6898a76c5f (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
frosch 545c1f1045 (svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for. 17 years ago
frosch 2b071f84ea (svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch(). 17 years ago
smatz 40d5242f91 (svn r13618) -Codechange: move tar-specific declarations to separate file
Removes indirect dependency on <string> and <map> for over 40 files
17 years ago
frosch 8fd2971bc3 (svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles. 17 years ago
rubidium c97a045f57 (svn r13489) -Fix: first determine where to *exactly* build a house before asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good. 17 years ago
glx b60a1326bf (svn r13390) -Codechange: introduce usererror() for fatal but not openttd 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(). 17 years ago
belugas c39997508e (svn r13383) -Codechange: Put the cost of house removal in a class member 17 years ago
belugas 0cf79d70d0 (svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date 17 years ago
belugas f7b79916e8 (svn r13367) -Codechange: Allow CircularTileSearch function to return the tile where search has been successful, or INVALID_TILE if it has not 17 years ago
smatz c1619d1321 (svn r13362) -Fix: make the town authority window a bit less glitchy 17 years ago
smatz 69ebefe1ac (svn r13351) -Codechange: disable warnings about unused variable for builds without asserts 17 years ago
rubidium e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 17 years ago
peter1138 6c7e6861f8 (svn r13297) -Codechange: Use GUIList for the town directory window 17 years ago
rubidium d289464d69 (svn r13255) -Codechange: move _opt to _settings. 17 years ago
rubidium dc77647ea4 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
17 years ago
frosch 8f104a2e97 (svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
17 years ago
belugas 08671d2e78 (svn r13226) -Feature: Allow to have more than only two airports per town. 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
17 years ago
frosch 7f80552293 (svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window. 17 years ago
rubidium 373343cef6 (svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls. 17 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 17 years ago
smatz 36bb91cc6d (svn r12929) -Fix [FS#1967](r12560): town rating was too often reset to Mediocre 17 years ago
smatz 299b15c2bf (svn r12920) -Fix (r12859): town rating was affected even after the test run 17 years ago
rubidium b2717d1426 (svn r12859) -Fix: make the town rating tests use less memory and much quicker; from 13% to unnoticable in the profile in games with lots of towns and lots of very active AIs. 17 years ago
rubidium d56827a9a9 (svn r12855) -Codechange: do not use autoptr's for testing whether certain 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. 17 years ago
rubidium e947fde701 (svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does it, i.e. testing the low bits for 0xFF or 0 instead of all bits. 17 years ago
rubidium 5a17e6b395 (svn r12817) -Feature: the ability to play NewGRF sounds for industries and stations. 17 years ago
rubidium d010ae9408 (svn r12801) -Codechange: remove the dependency of function.h in town_map.h 17 years ago
rubidium f4b07a78c4 (svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs). 17 years ago
rubidium ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 17 years ago
rubidium 18e64b28e2 (svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location. 17 years ago
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. 17 years ago
smatz 867566f7f0 (svn r12731) -Fix (r12726): copying a 16bit array into 32bit wouldn't work 17 years ago
rubidium 08894026da (svn r12726) -Fix [FS#1877]: overflow causing strange building behaviour in towns. 17 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. 17 years ago
smatz 76eaed68a0 (svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining 17 years ago
rubidium bd432258cb (svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin. 17 years ago
smatz 9532cde5ff (svn r12564) -Fix: towns couldn't terraform when inflation rised terraform prices enough 17 years ago
smatz f5e445a252 (svn r12562) -Cleanup: variable scope in terraform_cmd.cpp 17 years ago
smatz 401c7b6752 (svn r12561) -Fix: do not affect town rating change by the order in which we examine stations 17 years ago
smatz 39dc3d3eda (svn r12560) -Cleanup: town_cmd.cpp and header files - variable scope and a bit of coding style 17 years ago
smatz fcf4a7067d (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 17 years ago
skidd13 1e7f2dbc10 (svn r12534) -Feature: Add a new type of town road layouts - random for each town 17 years ago
skidd13 e64beee656 (svn r12513) -Codechange: rename OriginalTileRandomiser something more descriptive 17 years ago
rubidium 877ca99198 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 17 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 17 years ago
rubidium 2426f5342f (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 17 years ago