rubidium
514f566d7c
(svn r20623) -Codechange: unify the storing of animation related information
14 years ago
rubidium
c9c46be3fb
(svn r20398) -Codechange: move some variables of GRFFileProps into (the new) GRFFilePropsBase
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
f09a74a996
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
15 years ago
frosch
45e12aa841
(svn r19053) -Codechange: Add an enum for the special flags of industry tiles. (based on andythenorth' work)
15 years ago
frosch
dc71450b0f
(svn r18282) -Codechange: Remove IndustrySpec::raw_industry_cost_multiplier and use 8 * cost_multiplier instead.
15 years ago
frosch
edde2b4b2b
(svn r18278) -Cleanup (r1): No need to set a cost multiplier for raw-industry-construction of banks. They have never been raw industries.
15 years ago
smatz
fa937901cb
(svn r17701) -Codechange: don't start line with a space if it's not inside comment
15 years ago
rubidium
310465da07
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
15 years ago
smatz
4c342c6f76
(svn r17464) -Codechange: use C++0x mode when compiling with gcc >= 4.3 or icc >= 11.0
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
5c5b357043
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
16 years ago
rubidium
1ce0b03bf0
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
rubidium
6dc210b171
(svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory.
17 years ago
belugas
6e761a18d6
(svn r12041) -Codechange: Add the loader and the property for action 00 industries, prop 24, nearby station name.
...
No assignation yet, no real work either.
17 years ago
rubidium
fcee6dad93
(svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same 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.
17 years ago
belugas
b98847e489
(svn r11534) -Feature(newgrf): Implement property 23h for Industries.
...
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.
17 years ago
glx
df35372b9b
(svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must be in town with population large than 1200'
17 years ago
glx
1502373441
(svn r11394) -Fix: default value for input cargo multipliers is 256 even for invalid cargo. Exceptions are temperate banks and oil rigs, default value is 0 for them
17 years ago
glx
7131f6262d
(svn r11384) -Fix: second and third accepted cargo were inverted in original industry tiles
17 years ago
belugas
dd61fd374f
(svn r10961) -Codechange: Flag default substitutes of industry/tiles with a value that cannot be legal.
...
This avoids the forest of coal mine error in the futur
17 years ago
rubidium
151262c1eb
(svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code.
17 years ago
belugas
0bc5d4b768
(svn r10670) -Fix: Use proper initialization for grf_prop override member
17 years ago
rubidium
5b15a202ea
(svn r10604) -Fix [FS#1044] (r9866): some industries produced cargo they should not be producing, which would result in the industry offering invalid cargo to a station resulting in crashes..
17 years ago
rubidium
d1ef87f914
(svn r10508) -Codechange: allow customizable animation schemes for industries.
17 years ago
rubidium
b8f658db94
(svn r10451) -Add: support for "prospecting" raw industries, i.e. you pay an amount of money and then it might (with a given chance) build a raw industry somewhere on the map.
17 years ago
belugas
0805d0b03e
(svn r10424) -Fix : Toy shop seems to be working exactly like power 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.
17 years ago
rubidium
9534c9795b
(svn r10418) -Codechange: implement/resurrect the industry production flags.
17 years ago
rubidium
b0421273f2
(svn r10054) -Codechange: make the industries cost modifier look more like the original one, so it's much easier to support industries that use this original format.
18 years ago
belugas
78151810d7
(svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data
18 years ago
belugas
e4785e0376
(svn r9976) -Codechange: Declare a writable array of specs for industry and industry tiles.
...
It will be initialized by the original data upon game start.
Rename some enums to be more consistent too
18 years ago
belugas
21b4b14f79
(svn r9975) -Codechange: Adjust the industry/tile spec arrays, moving the enabled member out of GRFFileProps (end of previous commit).
18 years ago
rubidium
ed0a6a641e
(svn r9972) -Fix (r9969): silence a warning.
18 years ago
belugas
e7bbb79ff5
(svn r9969) -Codechange: Cleanup of industries (Step-14). Remove hardcoded-run-time tile acceptance and put in corresponding tile
18 years ago
belugas
a4c6bca9c2
(svn r9906) -Codechange: Add common properties for both industry and industry tiles specs
18 years ago
belugas
2e65d6e4e7
(svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec.
18 years ago
rubidium
b007a3419c
(svn r9866) -Codechange: remove the technical 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.
18 years ago
belugas
31a3208257
(svn r9704) -Documentation: Add comments on industry data macro
18 years ago
rubidium
7577954ced
(svn r9672) -Cleanup: lots of coding style fixes around operands.
18 years ago
belugas
d1c2c90ad0
(svn r9669) -Documentation: some more doxygen fixes
18 years ago
belugas
e735e8261f
(svn r9590) -Fix(r9550, fs728): some wrongfully entered data caused some industries to appear where they should not have
18 years ago
belugas
2f6f7b1984
(svn r9579) -Codechange: Cleanup of industry_cmd (Step-11). Use industry's spec appear_creation during random map creation.
18 years ago
belugas
e45fe68667
(svn r9577) -Codechange: Add notion and data for industry map colour, used in the smallmap_gui. Not used yet.
...
-Move the check proc array, in order to make it more useful latter.
-Add basic newGRF stuff on the industry spec. Not used yet.
18 years ago
belugas
d71462f533
(svn r9550) -Codechange: Add notion and data of industry appearing chances, both in game and in creation mode.
...
Not used yet.
18 years ago
belugas
6803f2eada
(svn r9526) -Fix(9520): a temperate sawmill is not a tropic lumber mill. Thus, it cannot cut trees
18 years ago
belugas
7a0952a5bc
(svn r9520) -Codechange: Add the notion of Industry behaviour. It means what an industry can do (plant fields, cut trees, do not change production), what can be done to it (disasters like mine subsidence, jet/chopper attack), when it can be built etc...
18 years ago
belugas
691f8578fd
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
18 years ago
peter1138
50811a49ed
(svn r9243) -Fix (r9162,FS#683): One too many table rows caused cargo acceptance mixup.
18 years ago
belugas
9e90282712
(svn r9190) -Fix: Little typo in an enum.
18 years ago
belugas
ee945d2375
(svn r9162) -Codechange: Cleanup of industry_cmd (Step-8). Gather tile animation data into IndustryTileSpec array
...
Added a few documentation on remaining animation arrays (mostly ToyLand ones)
18 years ago