summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
AgeCommit message (Collapse)Author
2010-03-05(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.alberth
2010-03-01(svn r19297) -Codechange: Variable scope and documentation of ↵frosch
DoCreateNewIndustry().
2010-02-28(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/infoyexo
2010-02-28(svn r19287) -Fix [FS#3650] (r19263): Don't store a boolean in a CommandCost.alberth
2010-02-27(svn r19270) -Codechange: Forward CommandCost results through ↵alberth
CreateNewIndustryHelper().
2010-02-27(svn r19269) -Codechange: PerformIndustryTileSlopeCheck() returns a ↵alberth
succeeded or failed command.
2010-02-26(svn r19265) -Fix [FS#3618]: "Can't build <industry> here... <industry> in ↵rubidium
the way" showed the to-be-built industry twice, instead of the to-be-built industry and the industry that's in the way
2010-02-26(svn r19263) -Fix (r19184): some specific industry creation errors got ↵rubidium
replaced by 'site unsuitable'.
2010-02-21(svn r19185) -Codechange: Return succeeded or failed CommandCost from ↵alberth
CheckIfCallBackAllowsCreation().
2010-02-21(svn r19184) -Codechange: Return succeeded/failed command from ↵alberth
CheckIfIndustryTilesAreFree().
2010-02-21(svn r19183) -Codechange: Return CommandCost from FindTownForIndustry().alberth
2010-02-21(svn r19182) -Codechange: Use CommandCost return value in ↵alberth
CheckIfIndustryIsAllowed() and CheckIfFarEnoughFromIndustry().
2010-02-20(svn r19167) -Fix [FS#3631](r19120): Industry 0 could be choosen even if not ↵frosch
available.
2010-02-16(svn r19146) -Codechange: Use CommandCost in industry checking routines.alberth
2010-02-15(svn r19138) -Codechange: Rename CheckMultipleIndustryInTown() to ↵alberth
FindTownForIndustry().
2010-02-15(svn r19137) -Add: Report a more useful error when failing to build a bubble ↵alberth
generator.
2010-02-15(svn r19136) -Doc: Added Doxygen comments for industry checking procedures.alberth
2010-02-14(svn r19126) -Codechange: Silence a warning.frosch
2010-02-13(svn r19120) -Fix: [NewGRF] Industry property 0x17 was interpreted ↵frosch
incorrectly and in some cases circumvented the density difficulty setting. -Change: Do not scale the number of industry creations during map creation with the number of available industry types. -Feature: [NewGRF] Implement special industry flag 0x10000.
2010-02-06(svn r19051) -Codechange: Variable scope.frosch
2010-02-06(svn r19050) -Fix: Don't call callbacks for disabled industrytypes.frosch
2010-02-06(svn r19049) -Codechange: Deduplicate computing number of initial industries.frosch
2010-01-28(svn r18938) -Fix: Industrylayout's special water tile check did not ↵frosch
properly check for crossing north border of map. Also don't consider MP_VOID tiles as water.
2010-01-22(svn r18889) -Codechange: Use (GroundSprite|SpriteLayout)PaletteTransform() ↵frosch
also for drawing of default industries. They are compatible since the bubblegenerator is also randomly recoloured.
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-04(svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text ↵rubidium
when building a station could be incorrect (missing a cargo) -Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers. -Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
2010-01-04(svn r18718) -Codechange: make a wrapper macro for looping TileAreasrubidium
2010-01-04(svn r18717) -Codechange: use TileArea in industry instead of three separate ↵rubidium
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2010-01-04(svn r18716) -Codechange: pass a TileArea to FindStationsAroundTilesrubidium
2010-01-04(svn r18715) -Codechange: make StationFinder a subclass of TileArearubidium
2010-01-03(svn r18701) -Fix (r18700): always compile before making a commityexo
2010-01-03(svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles ↵yexo
on water were not marked dirty
2009-12-19(svn r18554) -Change: Forbid industries to clear sea/river when leveling land.frosch
2009-11-24(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, ↵frosch
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.
2009-11-24(svn r18282) -Codechange: Remove IndustrySpec::raw_industry_cost_multiplier ↵frosch
and use 8 * cost_multiplier instead.
2009-11-15(svn r18110) -Codechange [FS#3316]: search for stations nearby only once per ↵smatz
producer (instead of once pre produced cargo type) (fonsinchen)
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-10-02(svn r17682) -Codechange: remove erroneous space before some commasrubidium
2009-09-25(svn r17638) -Fix [FS#3235]: Crash when trying to build an industry that has ↵rubidium
no industry layout defined; yes, it's very similar to r17633 because one case was forgotten.
2009-09-25(svn r17633) -Fix [FS#3233]: [NewGRF] Crash when trying to build an industry ↵rubidium
that has no industry layout defined.
2009-09-21(svn r17601) -Fix (r17592): don't mark cargo as 'accepted' when accepted ↵smatz
amount is 0
2009-09-20(svn r17592) -Fix [FS#3212](r17436): force all cargo being accepted when ↵smatz
industry tiles accept it but industry itself doesn't
2009-09-20(svn r17589) -Codechange: rename town_acc to always_acceptedsmatz
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-09-14(svn r17534) -Codechange: unify the naming of callback masks/flagsrubidium
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.