Commit Graph

449 Commits (22dd5ddca100527e58779ffcbe3a465e7a2bc2f3)

Author SHA1 Message Date
rubidium 9fe11f3283 (svn r23342) -Fix (r23300): for arctic and desert towns you were required to deliver more than 4 billion units, instead of one or more units 13 years ago
truebrain 2635be0549 (svn r23323) -Fix: when you fund a town, it should grow; goals reached or not 13 years ago
peter1138 0043123c33 (svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up. 13 years ago
truebrain 08efac8549 (svn r23303) -Add: economy.fund_buildings, to disallow funding buildings 13 years ago
truebrain 2306f2ab6d (svn r23300) -Add: show on the GUI when a town grows and make a general framework to store goals of a town 13 years ago
truebrain 19791d3189 (svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen) 13 years ago
michi_cc 56a592dcbd (svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct. 13 years ago
rubidium 4874c83694 (svn r23183) -Codechange: merge BRIBE_FAILED and BRIBE_FAILED_2 messages (monoid) 13 years ago
yexo 36e61e08b3 (svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions 13 years ago
frosch ebf19d6219 (svn r23147) -Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity. 13 years ago
frosch 6365d92776 (svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts. 13 years ago
rubidium 0e2d2b2317 (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 13 years ago
rubidium fb9fb416a1 (svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well 13 years ago
rubidium 70faeeaba9 (svn r23106) -Codechange: pass int* to GetTileSlope and friends 13 years ago
rubidium 25b3869c3b (svn r23101) -Codechange: remove pointless multiplications by TILE_HEIGHT from the station/object building code 13 years ago
rubidium 5d7acba5d3 (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 13 years ago
rubidium a70fdbcf2f (svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code 13 years ago
rubidium f7297d5c3a (svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use it 13 years ago
rubidium bcb93b3b75 (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 13 years ago
rubidium de980ef0f9 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 13 years ago
rubidium c465c79f09 (svn r23082) -Fix: account for snow line table when determining the snow line for building houses 13 years ago
yexo 72500ddedf (svn r22920) -Cleanup: replace two very old town variables taht were rarely used by small functions that compute there value on-the-fly when necessary 13 years ago
terkhen 3b4976dbb2 (svn r22899) -Add: Allow towns to build bridges over canals and rivers. 13 years ago
michi_cc 6ea9fc644c (svn r22810) -Fix: Growth a town on both ends of a tunnel/bridge if the town centre tile is a bridge ramp/tunnel portal. 13 years ago
rubidium 440b6221d1 (svn r22809) -Fix [FS#4731]: towns expanding from the "wrong" side of a tunnel or bridge 13 years ago
frosch 5fbd3eba42 (svn r22706) -Cleanup: A loop is no loop, if it never iterates. 13 years ago
rubidium 47836bb412 (svn r22697) -Fix [FS#4694-ish]: when building a house it could be built at the wrong place if multitile houses failed some tests 13 years ago
terkhen e8a8b6dae5 (svn r22569) -Feature: [NewGRF] Persistent storage for towns. 13 years ago
frosch 62b6d0eb0e (svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks. 13 years ago
alberth a70556dac2 (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 13 years ago
smatz c85e1c3089 (svn r22116) -Codechange: use PoolBase::Clean() at more places 14 years ago
terkhen 98a9c1f91c (svn r22087) -Fix: When deleting towns, only relocate objects during DC_EXEC. 14 years ago
rubidium aa333aeff2 (svn r22066) -Fix [FS#4502]: building a statue did not check whether the object pool is full 14 years ago
rubidium b778cc61d1 (svn r22065) -Fix [FS#4500]: pool allocation checks triggered when towns could not be built 14 years ago
rubidium cb2c7f871f (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 14 years ago
terkhen 67ce7c5c41 (svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction. 14 years ago
rubidium ec4f688ca0 (svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m]. 14 years ago
yexo c5597c44c4 (svn r21664) -Add: [NoAI] AIEventTownFounded 14 years ago
rubidium eafc316342 (svn r21414) -Codechange: limit town name by amount of characters, not bytes 14 years ago
rubidium dd618051a7 (svn r21412) -Codechange: limit company name by amount of characters, not bytes 14 years ago
frosch 0ebd5af86f (svn r21291) -Fix: Treat objects on water like water in more cases. 14 years ago
terkhen ef588232c9 (svn r21191) -Doc: Add missing information for a parameter of CmdFoundTown. 14 years ago
alberth b698045b82 (svn r21156) -Codechange: Introduce EconomyIsInRecession(). 14 years ago
yexo 30b29ae060 (svn r21052) -Fix (r20435): house/airporttile/industrytile newgrfs that defined tiles that relied on the substitute being drawn were broken 14 years ago
smatz 548a3747e9 (svn r20860) -Cleanup: remove some unused functions and variables 14 years ago
frosch 98cd443735 (svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI. 14 years ago
frosch f3015ee820 (svn r20791) -Fix (r12161): Building 2x2 houses did not work for 2x2 road layouts on all map sizes. 14 years ago
frosch f768485e1d (svn r20790) -Fix (r0)[FS#4118]: Remove a check which is wrong for NewGrf houses and serves no use for original houses. 14 years ago
terkhen e55b006a86 (svn r20711) -Fix [FS#4094]: Do not use new game settings when creating many random towns at the scenario editor. 14 years ago
terkhen fa47477d0d (svn r20710) -Codechange: Clarify the name of some town generation variables. 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 7107eef4de (svn r20627) -Codechange: unify the animation code of station, airport, house and industry tiles 14 years ago
smatz ca2d4c5d6e (svn r20540) -Fix [FS#4049](r20480): use CmdDeleteTown instead of direct use of operator delete 14 years ago
rubidium f336f61104 (svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns 14 years ago
rubidium 0fd9d4ba1d (svn r20481) -Fix: statues were not removed when towns would be removed 14 years ago
rubidium cf8062c3bd (svn r20480) -Codechange: make CmdDeleteTown responsible for actually clearing tiles and such; ~Town still checks it though. 14 years ago
rubidium 662900c113 (svn r20473) -Codechange: pass Town instead of TownID to BuildObject 14 years ago
frosch 399818e96f (svn r20469) -Fix (r20227): Building statues used different companys for CMD_LANDSCAPE_CLEAR during testrun and DC_EXEC. 14 years ago
rubidium 1f2276b785 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 14 years ago
rubidium 92767f454e (svn r20409) -Codechange: reduce the number of includes needed by newgrf.h 14 years ago
rubidium da8c058b89 (svn r20401) -Codechange: let HouseSpec use GRFFileProps 14 years ago
rubidium d7921b24e6 (svn r20337) -Codechange: unify the construction of objects on the map 14 years ago
terkhen ec6cba6b92 (svn r20323) -Codechange: Move Delete town code to a command. 14 years ago
terkhen 014771848d (svn r20322) -Codechange: Move Expand town code to a command. 14 years ago
alberth 91eba89331 (svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition. 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth e5b703ddf9 (svn r20279) -Doc: Doxygen additions/improvements. 14 years ago
alberth 1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
terkhen a6c7630e82 (svn r20227) -Fix [FS#3985]: Don't spend cash when building a statue fails. 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium 9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
michi_cc a8c6eaeb4a (svn r20048) -Feature: Add a setting to forbid towns building level crossings. 14 years ago
michi_cc 9745b96dcf (svn r20047) -Fix (rUnknown): Towns were not able to build level crossings when using original or better town layout. 14 years ago
frosch a5bea603ea (svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation. 14 years ago
frosch ee53807e51 (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 14 years ago
frosch bca1abe146 (svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds. 14 years ago
frosch dc1a95a9fd (svn r19743) -Fix: NewGrfs could access map bits of not yet constructed industries and houses during construction callbacks. 14 years ago
rubidium cb92cdf975 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 14 years ago
frosch ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
smatz 258b128a56 (svn r19614) -Codechange: "it's" => "its" where appropriate 14 years ago
alberth 68ee4aa7d6 (svn r19482) -Doc: Doxygen additions/updates. 14 years ago
alberth a7619c7fb3 (svn r19479) -Codechange: Test range of town size and layout instead of against the current last value. 14 years ago
alberth b0f3fff54b (svn r19478) -Codechange: Resolve TS_ prefix clash between TileSource and TownSize enums. 14 years ago
alberth ae5b11321b (svn r19400) -Codechange: CheckforTownRating returns a CommandCost. 15 years ago
yexo 23af928ce9 (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 15 years ago
alberth 87c09ddcc0 (svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost. 15 years ago
alberth 01562e2dfc (svn r19272) -Doc: successfull -> successful. 15 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
rubidium f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium e202a26990 (svn r18715) -Codechange: make StationFinder a subclass of TileArea 15 years ago
rubidium 0bff19e869 (svn r18567) -Fix [FS#2613]: [NewGRF] House property 15 did not work 15 years ago
smatz e0a28e8c54 (svn r18550) -Fix (r18281): show expected price of town construction even when the company doesn't have enough money 15 years ago
rubidium d66fe90ad0 (svn r18415) -Fix [FS#3332]: on slopes the original and better road layouts did not check their minimum distance requirements 15 years ago
smatz 73136f78b3 (svn r18302) -Fix [FS#3328](r18281): city size multiplier was ignored when generating new game 15 years ago
frosch 13a72bb345 (svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
15 years ago
smatz f7466979b9 (svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others) 15 years ago
smatz 2c63d0d323 (svn r18110) -Codechange [FS#3316]: search for stations nearby only once per producer (instead of once pre produced cargo type) (fonsinchen) 15 years ago
rubidium b2d7edddfa (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 15 years ago