summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
AgeCommit message (Collapse)Author
2011-01-29(svn r21924) -Codechange: Unify some parts of the articulated vehicle code.terkhen
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-18(svn r21845) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [d-m].
2010-12-12(svn r21490) -Codechange: abstract/encapsulate the map area iterating a bitrubidium
2010-12-12(svn r21489) -Codechange: replace the last instances of TILE_LOOP with ↵rubidium
TILE_AREA_LOOP
2010-11-20(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.alberth
2010-11-20(svn r21265) -Fix [FS#4245]: Don't setup target industry type counts if ↵alberth
there are no industry types available.
2010-11-13(svn r21175) -Add: Forced construction of missing industries.alberth
2010-11-13(svn r21174) -Add: Use a progressive back-off mechanism to reduce wasting ↵alberth
build attempts at unbuildable industries.
2010-11-13(svn r21173) -Codechange: Don't recompute target industry counts each time.alberth
2010-11-13(svn r21172) -Feature: Better control over how many new industries are ↵alberth
created during the game.
2010-11-13(svn r21171) -Change: Reset industry build data at game start or load.alberth
2010-11-13(svn r21169) -Feature: Do not build industries during economic recession.alberth
2010-11-13(svn r21168) -Feature: Use desired industry counts rather than relative ↵alberth
probability to decide which industry to build.
2010-11-13(svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a ↵alberth
local variable.
2010-11-13(svn r21166) -Codechange: Move MaybeNewIndustry() to ↵alberth
IndustryBuildData::TryBuildNewIndustry().
2010-11-13(svn r21159) -Codechange: AdvertiseIndustryOpening() also works with a const ↵alberth
pointer.
2010-11-13(svn r21158) -Codechange: Assert boundary inside the loop rather than ↵alberth
afterwards.
2010-11-13(svn r21156) -Codechange: Introduce EconomyIsInRecession().alberth
2010-10-28(svn r21052) -Fix (r20435): house/airporttile/industrytile newgrfs that ↵yexo
defined tiles that relied on the substitute being drawn were broken
2010-10-16(svn r20942) -Feature [NewGRF]: make it possible to distinguish player ↵rubidium
built/randomly placed industries in the location and land slope check callbacks
2010-10-04(svn r20900) -Codechange: Move ProductionLevels enum to industry.hfrosch
2010-10-04(svn r20896) -Codechange: Split recompution of productionrates for ↵frosch
non-smooth economy to separate function.
2010-09-26(svn r20850) -Codechange: Add IndustrySpec::UsesSmoothEconomy() to ↵frosch
deduplicate code.
2010-09-07(svn r20764) -Codechange: minor coding style fixsmatz
2010-09-06(svn r20754) -Fix [FS#4112]: assert when an industry previously build on ↵yexo
water was flooded because it's grf changed/is missing
2010-09-05(svn r20747) -Fix: overbuilding an object with water under it succeeded even ↵yexo
for industries that can't be build on water
2010-09-05(svn r20743) -Fix: Make testruns of clearing an object tile not influence ↵frosch
repeated testruns resp. the exec run.
2010-09-04(svn r20738) -Codechange: Introduce a function for getting the number of ↵alberth
industries that should be build.
2010-09-04(svn r20737) -Codechange: Introduce a function for advertising opening of a ↵alberth
new industry.
2010-09-04(svn r20736) -Codechange: Introduce a new function for trying to create a ↵alberth
new industry.
2010-09-04(svn r20735) -Codechange: Introduce GetIndustryGamePlayProbability().alberth
2010-09-04(svn r20734) -Codechange: Rename GetScaledIndustryProbability() to ↵alberth
GetScaledIndustryGenerationProbability().
2010-09-04(svn r20733) -Fix: when overbuilding an object with an industry, clear the ↵yexo
complete object
2010-09-01(svn r20712) -Fix [FS#4094]: Do not use new game settings when creating many ↵terkhen
random industries in the scenario editor.
2010-08-28(svn r20659) -Feature: make the (flat) area around an industry configurable ↵rubidium
(Eddi|zuHause)
2010-08-27(svn r20636) -Codechange: Move MarkTileDirtyByTile() and ↵frosch
DeleteAnimatedTile() into MakeWaterKeepingClass().
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-26(svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so ↵rubidium
related code
2010-08-26(svn r20623) -Codechange: unify the storing of animation related informationrubidium
2010-08-26(svn r20622) -Codechange: unify ↵rubidium
[GS]et[Statation|Object|Industry|House]AnimationFrame
2010-08-15(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.alberth
2010-08-08(svn r20411) -Codechange: rename unmovables as quite a lot of them are ↵rubidium
actually movable; e.g. HQ and owned land are pretty movable.
2010-08-07(svn r20396) -Codechange: introduce a helper function to test whether an ↵yexo
industry temporarily refues to accept some cargo
2010-08-02(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed ↵alberth
addition.
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20282) -Codechange: add some spaces where they should've beenrubidium
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-08-01(svn r20279) -Doc: Doxygen additions/improvements.alberth