summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Collapse)Author
2008-08-13(svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in ↵rubidium
the command. Checking for the length in pixels is impossible because that differs per client.
2008-07-25(svn r13830) -Feature: show additional NewGRF info in the Tile Info window ↵smatz
for stations, houses and industries
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-18(svn r13730) -Fix: make a copy of the names for news messages about the ↵rubidium
deletion of companies as the removal of a company could lead to wrong names in the news messages.
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-06-25(svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable ↵frosch
is queried for.
2008-06-25(svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch().frosch
2008-06-24(svn r13618) -Codechange: move tar-specific declarations to separate filesmatz
Removes indirect dependency on <string> and <map> for over 40 files
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.