summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
AgeCommit message (Collapse)Author
2007-07-27(svn r10701) -Codechange: Make sure to not use an out of bound index when ↵belugas
the index is specified by a grf file. It has a different meaning then.
2007-07-27(svn r10700) -Codechange: Enable to jump (by default) to the overriding ↵belugas
industry tile spec of the one been queried. Only on certain very specific circumstances do we need the original spec
2007-07-26(svn r10698) -Codechange [FS#1082]: simplify the code related to ↵rubidium
foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
2007-07-26(svn r10697) -Codechange: give a more sensible names to some of the unkX ↵rubidium
variables.
2007-07-26(svn r10696) -Codechange: remove duplication of the "make sprite ↵rubidium
transparent" code.
2007-07-24(svn r10675) -Codechange: unhardcode the industry types used in several ↵rubidium
locations of the source code.
2007-07-20(svn r10641) -Fix(r10638): Forgotten Son... err...includebelugas
2007-07-20(svn r10640) -Fix(r10638): little typo...belugas
2007-07-20(svn r10639) -Codechange: Give meaninfull name to a magic numberbelugas
2007-07-20(svn r10638) -Codechange: Save the mapping of the industries and tiles, ↵belugas
making them persistent.
2007-07-20(svn r10635) -Codechange: Correct some typos and code beautifying (a little bit)belugas
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-07-15(svn r10575) -Fix r10573: misplaced )glx
2007-07-15(svn r10573) -Codechange: Use function CheckIfCallBackAllowsAvailability for ↵belugas
random map generation as well as for ingame random industry creation
2007-07-11(svn r10508) -Codechange: allow customizable animation schemes for industries.rubidium
2007-07-11(svn r10506) -Fix: the (manual) building of banks was always rejected.rubidium
2007-07-09(svn r10494) -Fix (r10490): possible null dereference in some exotic newgrfs.rubidium
2007-07-09(svn r10490) -Codechange: add support for industries on non-flat surfaces.rubidium
2007-07-09(svn r10485) -Codechange: add a callback mechanism to determine whether ↵rubidium
building an industry is allowed at a given location.
2007-07-08(svn r10483) -Codechange: add support for callbacks to manipulate the ↵rubidium
building chance of farm fields and chopping chance for lumber mills.
2007-07-08(svn r10481) -Codechange: Show a news message with the new industry when ↵maedhros
primary industry prospecting succeeds.
2007-07-08(svn r10477) -Codechange: add some callbacks to customise the acceptance of ↵rubidium
industries.
2007-07-07(svn r10460) -Codechange: add some more variables needed for newindustries ↵rubidium
regarding to the creation of the industries.
2007-07-06(svn r10459) -Codechange: add helper functions to determine whether an ↵rubidium
industry is a primary industry and how much it costs to build such an industry.
2007-07-06(svn r10451) -Add: support for "prospecting" raw industries, i.e. you pay an ↵rubidium
amount of money and then it might (with a given chance) build a raw industry somewhere on the map.
2007-07-05(svn r10442) -Codechange: implement the industry production callback.rubidium
2007-07-04(svn r10439) -Codechange: initial steps for customized industry productions.rubidium
2007-07-04(svn r10425) -Fix (r10418): do not compare bitmasks with HASBIT. Strike two. ↵belugas
Forgotten code :)
2007-07-03(svn r10419) -Fix (r10418): do not compare bitmasks with HASBIT. Thanks to ↵rubidium
Maedhros for spotting this.
2007-07-03(svn r10418) -Codechange: implement/resurrect the industry production flags.rubidium
2007-07-01(svn r10406) -Fix [FS#968]: only industries in the temperate climate should ↵rubidium
be affected by the "do not increase production" flag.
2007-06-26(svn r10348) -Fix (r10347): compile errors; do not think it compiles fine ↵rubidium
when you run make on the wrong working copy.
2007-06-26(svn r10347) -Fix [FS#948]: industries with a very low production could ↵rubidium
never recover when using smooth economy. -Fix: in smooth economy producing industries could not close, whereas they could close in non-smooth economy. -Fix: in smooth economy the "do not increase production" flag of industries was ignored.
2007-06-26(svn r10340) -Fix: make sure no industry production can ever hit < 32 with ↵truelight
smooth_economy
2007-06-24(svn r10299) -Codechange [FS#931]: industry foundations should be drawn as ↵rubidium
all other foundations, i.e. with DrawFoundation, instead of writing the same functionality itself.
2007-06-22(svn r10290) -Fix: with smooth_economy, when industry production hit 32, it ↵truelight
stayed there for ever. Give it some chance to get out of that uber-lowness (although it is a very slim chance, at least it has one)
2007-06-20(svn r10232) -Fix(r1): _numof_industry_table never was composed of 12 ↵belugas
entries. Only 11. It never hurt before, but it would have...
2007-06-19(svn r10226) -Codechange: Add support for newindustry tiles drawing.belugas
Heavily based on Maedhros's newhouses implementation
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-06-15(svn r10163) -Fix(r8128): Industries had lost their random recoloring. A ↵belugas
test was removed and is now reintroduced in another way.
2007-06-13(svn r10140) -Fix [FS#867]: an industry could overbuild a bridge.rubidium
2007-06-11(svn r10099) -Fix(r9867, FS860): Use the specs of the to-be-created industry ↵belugas
instead of the scanned industry Spotted by Oxygene
2007-06-10(svn r10078) -Codechange: Centralize all industry counts data and accessbelugas
2007-06-08(svn r10063) -Codechange: Change VARDEF for externbelugas
-CodeChange: Add the count of industries, basic support for variable 67, var action02 forindustries
2007-06-07(svn r10058) -Codechange: give some industry variable sensible names (like ↵rubidium
not telling "last_mo_production" when it is the production of the current month).
2007-06-07(svn r10054) -Codechange: make the industries cost modifier look more like ↵rubidium
the original one, so it's much easier to support industries that use this original format.
2007-05-30(svn r9993) -Fix (r9992): smallish typos resulting in compile time errors.rubidium
2007-05-30(svn r9992) -Codechange: Remove some hardcoded references to Industry IDs.belugas
A few more to go
2007-05-30(svn r9984) -Codechange: Remove an obsolete structure and a now meaningless ↵belugas
enum, in favor of the "real thing"