|
OpenTTD Source
1.11.0-beta2
|
Data for managing the number and type of industries in the game. More...
#include <industry.h>
Public Member Functions | |
| void | Reset () |
| Completely reset the industry build data. | |
| void | SetupTargetCount () |
| Decide how many industries of each type are needed. | |
| void | TryBuildNewIndustry () |
| Try to create a random industry, during gameplay. | |
| void | MonthlyLoop () |
| Monthly update of industry build data. | |
Data Fields | |
| IndustryTypeBuildData | builddata [NUM_INDUSTRYTYPES] |
| Industry build data for every industry type. | |
| uint32 | wanted_inds |
| Number of wanted industries (bits 31-16), and a fraction (bits 15-0). | |
Data for managing the number and type of industries in the game.
Definition at line 228 of file industry.h.