Age | Commit message (Collapse) | Author |
|
variables.h to strings.h
|
|
|
|
random map generation as well as for ingame random industry creation
|
|
|
|
|
|
|
|
|
|
building an industry is allowed at a given location.
|
|
building chance of farm fields and chopping chance for lumber mills.
|
|
primary industry prospecting succeeds.
|
|
industries.
|
|
regarding to the creation of the industries.
|
|
industry is a primary industry and how much it costs to build such an industry.
|
|
amount of money and then it might (with a given chance) build a raw industry somewhere on the map.
|
|
|
|
|
|
Forgotten code :)
|
|
Maedhros for spotting this.
|
|
|
|
be affected by the "do not increase production" flag.
|
|
when you run make on the wrong working copy.
|
|
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.
|
|
smooth_economy
|
|
all other foundations, i.e. with DrawFoundation, instead of writing the same functionality itself.
|
|
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)
|
|
entries. Only 11.
It never hurt before, but it would have...
|
|
Heavily based on Maedhros's newhouses implementation
|
|
easily modified.
|
|
|
|
test was removed and is now reintroduced in another way.
|
|
|
|
instead of the scanned industry
Spotted by Oxygene
|
|
|
|
-CodeChange: Add the count of industries, basic support for variable 67, var action02 forindustries
|
|
not telling "last_mo_production" when it is the production of the current month).
|
|
the original one, so it's much easier to support industries that use this original format.
|
|
|
|
A few more to go
|
|
enum, in favor of the "real thing"
|
|
|
|
industry tiles.
It will be initialized by the original data upon game start.
Rename some enums to be more consistent too
|
|
hardcoded-run-time tile acceptance and put in corresponding tile
|
|
road types on a single tile.
|
|
|
|
table into the industry's spec.
|
|
to the "type" member of industry struct
|
|
be found in the industry spec, so take it from there instead.
|
|
and very low number of industries
Based on FS#289, by pitt2
|
|
logical units.
Calculate with a macro (for _industry_anim_offs_toys) the value of x, instead of doing it at run time.
And give some more descriptive names too...
|
|
This makes the code clearer.
|