summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
AgeCommit message (Collapse)Author
2014-02-06(svn r26312) -Codechange: iterate the nearby tiles instead of the industry ↵rubidium
list for a conflicting industry when the number of industries is really large (MJP)
2014-02-06(svn r26308) -Fix-ish: do not try to build more towns/industries than the ↵rubidium
pool can hold (MJP)
2013-10-12(svn r25853) -Codechange: Simplify SetupFarmFieldFence by replacing the Axis ↵zuu
and north parameter with a direction parameter and taking adventage of the new unified SetFence function (cirdan, LordAro)
2013-10-12(svn r25852) -Codechange: Merge GetFenceXX/SetFenceXX into one common ↵zuu
GetFonce/SetFence for all directions that take an extra direction parameter (cirdan, LordAro)
2013-10-12(svn r25850) -Codechange: Merge IsBadFarmFieldTile and IsValidFarmFieldTile ↵zuu
into IsSuitableForFarmField (cirdan, LordAro)
2013-10-12(svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope ↵zuu
information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
2013-05-12(svn r25238) -Feature: Display imminent closure of an industry in its view ↵alberth
window.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-10-22(svn r24623) -Feature: Allow GameScripts to construct and prospect ↵zuu
industries without having a sponsor
2012-09-08(svn r24513) -Add: [Script] ScriptIndustryType::IsProcessingIndustry.frosch
2012-05-26(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and ↵frosch
NewsFlag instead.
2012-05-26(svn r24283) -Codechange: Add AddTileNewsItem function to preemptively ↵frosch
deduplicate code.
2012-04-28(svn r24186) -Feature: [NewGRF] Callback to set industry production level on ↵frosch
construction. (andythenorth)
2012-04-28(svn r24185) -Codechange: Deduplicate some only partly deduplicated code.frosch
2012-04-25(svn r24179) -Codechange: move some variables of Town to TownCacherubidium
2012-04-09(svn r24107) -Fix [FS#5143] (r3181): Glass-sprite of bubble-generator was ↵frosch
not drawn anymore for completely constructed tiles.
2012-03-17(svn r24040) -Fix [FS#5095]: Improve error messages wrt. the placement ↵frosch
restrictions of banks, water towers and toy shops.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-01(svn r23704) -Doc: Doxygen comment fixes and additions.alberth
2011-12-19(svn r23622) -Add: a set of events to trigger in a GameScripttruebrain
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-09(svn r23458) -Fix: don't assume all industries that cut trees have tile 0,0yexo
-Fix: wait until all tiles of an industry are completed before starting to cut trees
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain
2011-11-08(svn r23168) -Feature [FS#1824]: always draw fences around field tilesyexo
2011-11-08(svn r23148) -Change: [NewGRF] Check the results of various callbacks for ↵frosch
validness.
2011-11-08(svn r23147) -Change: [NewGRF v8] Unify the return values of boolean ↵frosch
callbacks, and check the results for validity.
2011-11-08(svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to ↵frosch
use instead of property 18.
2011-11-04(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z ↵rubidium
related variables
2011-11-04(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type ↵rubidium
functions use int z as well
2011-11-04(svn r23106) -Codechange: pass int* to GetTileSlope and friendsrubidium
2011-11-04(svn r23102) -Codechange: remove the remaining pointless multiplications by ↵rubidium
TILE_HEIGHT
2011-11-04(svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
for the terraform code
2011-11-04(svn r23096) -Codechange: remove useless divisions and multiplications by ↵rubidium
TILE_HEIGHT for the snow line code
2011-11-04(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and ↵rubidium
use it
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-10-21(svn r23049) -Fix [FS#4810]: Use the same forest-check for the ↵frosch
vegetation-map colour as for nearby station names.
2011-07-19(svn r22673) -Add #4690: Provide random bits in var 0x10 for callback 0x3B ↵planetmaker
in all cases (Hirundo)
2011-06-12(svn r22567) -Codechange: Store persistent storages inside a pool.terkhen
2011-06-12(svn r22556) -Codechange: Remove constness from the town pointer at industries.terkhen
2011-06-09(svn r22548) -Codechange: Name also the magic number for the lumber mill's ↵planetmaker
tree cutting action (FeyFre)
2011-05-28(svn r22505) -Add: Separate EffectVehicleTypes for broken aircraft and smoke ↵frosch
at copper ore mine, to make them distinguishable from each other and from smoke due to disasters. (only affects newly spawned effects)
2011-05-21(svn r22482) -Codechange: Add some contants for the number of ticks between ↵frosch
certain cyclical tasks.
2011-02-19(svn r22116) -Codechange: use PoolBase::Clean() at more placessmatz
2011-02-07(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.hrubidium
2011-02-07(svn r22012) -Add: [NewGRF] Test all industry layouts also when prospectingplanetmaker
2011-02-07(svn r22011) -Codechange: Rename a few variables and enhance code clearityplanetmaker
2011-02-07(svn r22010) -Feature-ette [FS#4131]: [NewGRF] Test all possible industry ↵planetmaker
layouts during construction and add another pony to andy's stables
2011-02-06(svn r22001) -Codechange: Rename difficulty.number_industries to ↵alberth
difficulty.industry_density.
2011-02-06(svn r22000) -Codechange: Introduce an enum for the industry density setting.alberth