summaryrefslogtreecommitdiff
path: root/src/table/build_industry.h
AgeCommit message (Collapse)Author
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-10-19Codechange: Use std::vector for industry tile layoutsNiels Martin Hansen
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2018-11-03Add: Industries can produce and accept up to 16 different cargoesNiels Martin Hansen
2018-10-25Fix #4109: Add more water checks to the Oil Rig layoutSamu
Prevents Oil Rig docking tile from becoming unreachable by ships when spawning next to each other.
2015-02-06(svn r27137) -Fix (r0): Oilrig empty-tile checks were incorrect due to wrong ↵frosch
TileIndexDiff->TileIndexDiffC conversion.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2011-05-06(svn r22430) -Fix: COAL, RUBR, SUGR and the coalmine used windows palette ↵frosch
colours in smallmap/legends etc..
2011-02-21(svn r22125) -Fix (r9162)[FS#4528]: The animation-ness of two goldmine tiles ↵frosch
were swapped, causing the wheeltower to not work properly, and the bottom corner to show the wrong sprite.
2010-08-26(svn r20623) -Codechange: unify the storing of animation related informationrubidium
2010-08-07(svn r20398) -Codechange: move some variables of GRFFileProps into (the new) ↵rubidium
GRFFilePropsBase
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-05-13(svn r19812) -Codechange: give some unnamed enums a name or, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-02-07(svn r19053) -Codechange: Add an enum for the special flags of industry ↵frosch
tiles. (based on andythenorth' work)
2009-11-24(svn r18282) -Codechange: Remove IndustrySpec::raw_industry_cost_multiplier ↵frosch
and use 8 * cost_multiplier instead.
2009-11-24(svn r18278) -Cleanup (r1): No need to set a cost multiplier for ↵frosch
raw-industry-construction of banks. They have never been raw industries.
2009-10-04(svn r17701) -Codechange: don't start line with a space if it's not inside ↵smatz
comment
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-07(svn r17464) -Codechange: use C++0x mode when compiling with gcc >= 4.3 or ↵smatz
icc >= 11.0
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-17(svn r12751) -Codechange: do what has been done in r11862 in a different way ↵rubidium
so it uses less memory.
2008-02-02(svn r12041) -Codechange: Add the loader and the property for action 00 ↵belugas
industries, prop 24, nearby station name. No assignation yet, no real work either.
2008-01-15(svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same ↵rubidium
cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too.
2007-11-27(svn r11534) -Feature(newgrf): Implement property 23h for Industries.belugas
This will add a cost to the removal of an industry using the cheat magic bulldozer. Note that the removal of regular or newgrf industries without specified removal cost will have no cost applied to. This is a difference from original spec, where a default base cost is added.
2007-11-11(svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must ↵glx
be in town with population large than 1200'
2007-11-08(svn r11394) -Fix: default value for input cargo multipliers is 256 even for ↵glx
invalid cargo. Exceptions are temperate banks and oil rigs, default value is 0 for them
2007-11-05(svn r11384) -Fix: second and third accepted cargo were inverted in original ↵glx
industry tiles
2007-08-22(svn r10961) -Codechange: Flag default substitutes of industry/tiles with a ↵belugas
value that cannot be legal. This avoids the forest of coal mine error in the futur
2007-07-24(svn r10675) -Codechange: unhardcode the industry types used in several ↵rubidium
locations of the source code.
2007-07-24(svn r10670) -Fix: Use proper initialization for grf_prop override memberbelugas
2007-07-17(svn r10604) -Fix [FS#1044] (r9866): some industries produced cargo they ↵rubidium
should not be producing, which would result in the industry offering invalid cargo to a station resulting in crashes..
2007-07-11(svn r10508) -Codechange: allow customizable animation schemes for industries.rubidium
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-04(svn r10424) -Fix : Toy shop seems to be working exactly like power ↵belugas
stations, water tower and banks, i.e: they require cargo but do nothing with it. So, make it an INDUSTRYLIFE_BLACK_HOLE, exactly like the above mentioned industries. Thanks to glx who spotted, and Csaboka who confirmed it could very well be a CS bug.
2007-07-03(svn r10418) -Codechange: implement/resurrect the industry production flags.rubidium
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-31(svn r10001) -Codechange: Add support for removing dynamically allocated ↵belugas
newgrf data
2007-05-29(svn r9976) -Codechange: Declare a writable array of specs for industry and ↵belugas
industry tiles. It will be initialized by the original data upon game start. Rename some enums to be more consistent too
2007-05-29(svn r9975) -Codechange: Adjust the industry/tile spec arrays, moving the ↵belugas
enabled member out of GRFFileProps (end of previous commit).
2007-05-29(svn r9972) -Fix (r9969): silence a warning. rubidium
2007-05-29(svn r9969) -Codechange: Cleanup of industries (Step-14). Remove ↵belugas
hardcoded-run-time tile acceptance and put in corresponding tile
2007-05-24(svn r9906) -Codechange: Add common properties for both industry and ↵belugas
industry tiles specs
2007-05-20(svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds ↵belugas
table into the industry's spec.
2007-05-17(svn r9866) -Codechange: remove the technical ↵rubidium
one-input-cargo-creates-one-output-cargo limit in the factories, sawmills, steelmills and the ones I'm forgetting to mention right now. Use of this functionality will come later.
2007-04-21(svn r9704) -Documentation: Add comments on industry data macrobelugas
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-04-18(svn r9669) -Documentation: some more doxygen fixesbelugas
2007-04-10(svn r9590) -Fix(r9550, fs728): some wrongfully entered data caused some ↵belugas
industries to appear where they should not have