Commit Graph

404 Commits (f838069a44677135e248fb2bbc7c405f02c19733)

Author SHA1 Message Date
alberth f838069a44 (svn r22000) -Codechange: Introduce an enum for the industry density setting. 14 years ago
alberth d64ce48f4d (svn r21999) -Fix [FS#4474] (r21969): Use 'very low' industry density for generating industries in the SE. 14 years ago
alberth 4a1706d5b0 (svn r21998) -Fix (r21969): Number of industries difficulty setting should not affect the SE. 14 years ago
alberth e3a35f7d40 (svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window. 14 years ago
terkhen 0e51dab6a6 (svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 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
rubidium 6327f2b745 (svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit 14 years ago
rubidium fcd12b07bc (svn r21489) -Codechange: replace the last instances of TILE_LOOP with TILE_AREA_LOOP 14 years ago
alberth de9c678901 (svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code. 14 years ago
alberth 73364915f1 (svn r21265) -Fix [FS#4245]: Don't setup target industry type counts if there are no industry types available. 14 years ago
alberth 3f65b99859 (svn r21175) -Add: Forced construction of missing industries. 14 years ago
alberth be6ea97934 (svn r21174) -Add: Use a progressive back-off mechanism to reduce wasting build attempts at unbuildable industries. 14 years ago
alberth af72592ce1 (svn r21173) -Codechange: Don't recompute target industry counts each time. 14 years ago
alberth 93765020f1 (svn r21172) -Feature: Better control over how many new industries are created during the game. 14 years ago
alberth 40d69ce604 (svn r21171) -Change: Reset industry build data at game start or load. 14 years ago
alberth d698ee91df (svn r21169) -Feature: Do not build industries during economic recession. 14 years ago
alberth a9009b2acb (svn r21168) -Feature: Use desired industry counts rather than relative probability to decide which industry to build. 14 years ago
alberth 6d73213ab7 (svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a local variable. 14 years ago
alberth c8e5a7b411 (svn r21166) -Codechange: Move MaybeNewIndustry() to IndustryBuildData::TryBuildNewIndustry(). 14 years ago
alberth aac41efa1a (svn r21159) -Codechange: AdvertiseIndustryOpening() also works with a const pointer. 14 years ago
alberth 373c615e9e (svn r21158) -Codechange: Assert boundary inside the loop rather than afterwards. 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
rubidium 6d72dd4b78 (svn r20942) -Feature [NewGRF]: make it possible to distinguish player built/randomly placed industries in the location and land slope check callbacks 14 years ago
frosch 1abaae6002 (svn r20900) -Codechange: Move ProductionLevels enum to industry.h 14 years ago
frosch 8a55246fe6 (svn r20896) -Codechange: Split recompution of productionrates for non-smooth economy to separate function. 14 years ago
frosch d8887e4848 (svn r20850) -Codechange: Add IndustrySpec::UsesSmoothEconomy() to deduplicate code. 14 years ago
smatz 037cc66755 (svn r20764) -Codechange: minor coding style fix 14 years ago
yexo a25dc57aac (svn r20754) -Fix [FS#4112]: assert when an industry previously build on water was flooded because it's grf changed/is missing 14 years ago
yexo 23723413ca (svn r20747) -Fix: overbuilding an object with water under it succeeded even for industries that can't be build on water 14 years ago
frosch 4a4dd45193 (svn r20743) -Fix: Make testruns of clearing an object tile not influence repeated testruns resp. the exec run. 14 years ago
alberth c10b57c260 (svn r20738) -Codechange: Introduce a function for getting the number of industries that should be build. 14 years ago
alberth c95bd6c214 (svn r20737) -Codechange: Introduce a function for advertising opening of a new industry. 14 years ago
alberth 8bda2b2313 (svn r20736) -Codechange: Introduce a new function for trying to create a new industry. 14 years ago
alberth 5c3c30d421 (svn r20735) -Codechange: Introduce GetIndustryGamePlayProbability(). 14 years ago
alberth e070a87b0f (svn r20734) -Codechange: Rename GetScaledIndustryProbability() to GetScaledIndustryGenerationProbability(). 14 years ago
yexo 8b2b951d5c (svn r20733) -Fix: when overbuilding an object with an industry, clear the complete object 14 years ago
terkhen 2cd8b7054e (svn r20712) -Fix [FS#4094]: Do not use new game settings when creating many random industries in the scenario editor. 14 years ago
rubidium 4ad5ef5c43 (svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause) 14 years ago
frosch 3db0cc004b (svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass(). 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium c462611488 (svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so related code 14 years ago
rubidium 514f566d7c (svn r20623) -Codechange: unify the storing of animation related information 14 years ago
rubidium 5a7d6249af (svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame 14 years ago
alberth a51d34c048 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 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
yexo 5162f28c27 (svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo 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