summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
AgeCommit message (Collapse)Author
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
2010-07-30(svn r20241) -Codechange: Move variable declarations to their first use.alberth
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-06-05(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into ↵frosch
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.
2010-05-30(svn r19907) -Fix: [NewGRF] Call callbacks 14A, 14B and 14C after all ↵frosch
industry variables have been assigned, so more variables are valid during the callbacks.
2010-05-29(svn r19901) -Add: [NewGRF] Access to industry founder (var A7) during ↵frosch
callbacks 28 and 2F. (yexo)
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-05-01(svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and ↵frosch
industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds.
2010-04-24(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled ↵rubidium
callbacks and values of variables
2010-04-23(svn r19701) -Fix [FS#3787]: Check for industry availability more thoroughly ↵frosch
and cancel object placement when selecting not available industries.
2010-04-18(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer ↵frosch
divisions with rounding.
2010-04-17(svn r19652) -Fix: RandomRange() is used for bigger ranges in many cases, so ↵frosch
generally extent it to handle 32 bits.
2010-04-16(svn r19643) -Fix (r19120): Industry generation failed for large maps and ↵frosch
lots of industry types.
2010-04-05(svn r19565) -Fix: some NewGRF callbacks were named incorrectlyrubidium
2010-03-21(svn r19499) -Remove: same_industry_close setting did not do what it said ↵frosch
and caused NewGRF trouble.
2010-03-20(svn r19494) -Codechange: Remove _error_message.alberth
2010-03-20(svn r19481) -Codechange: Turn _industry_counts into a static member of ↵frosch
Industry.
2010-03-19(svn r19476) -Codechange: simplify the 'is conflicting industry nearby' ↵yexo
check a bit
2010-03-17(svn r19443) -Fix [FS#3701]: Mark industry windows dirty more often.frosch
2010-03-07(svn r19362) -Fix [FS#3667] (r19270): Failure to prospect an industry should ↵alberth
not cause a crash.
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