|
@@ -10,26 +10,26 @@
|
|
|
#include "industry.h"
|
|
|
#include "industry_map.h"
|
|
|
#include "newgrf.h"
|
|
|
#include "newgrf_callbacks.h"
|
|
|
#include "newgrf_spritegroup.h"
|
|
|
#include "newgrf_industries.h"
|
|
|
#include "newgrf_industrytiles.h"
|
|
|
#include "newgrf_commons.h"
|
|
|
#include "newgrf_text.h"
|
|
|
#include "newgrf_town.h"
|
|
|
#include "window_func.h"
|
|
|
#include "town.h"
|
|
|
#include "player_func.h"
|
|
|
#include "player_base.h"
|
|
|
#include "company_func.h"
|
|
|
#include "company_base.h"
|
|
|
#include "command_func.h"
|
|
|
|
|
|
#include "table/strings.h"
|
|
|
|
|
|
static uint32 _industry_creation_random_bits;
|
|
|
|
|
|
/* Since the industry IDs defined by the GRF file don't necessarily correlate
|
|
|
* to those used by the game, the IDs used for overriding old industries must be
|
|
|
* translated when the idustry spec is set. */
|
|
|
IndustryOverrideManager _industry_mngr(NEW_INDUSTRYOFFSET, NUM_INDUSTRYTYPES, INVALID_INDUSTRYTYPE);
|
|
|
IndustryTileOverrideManager _industile_mngr(NEW_INDUSTRYTILEOFFSET, NUM_INDUSTRYTILES, INVALID_INDUSTRYTILE);
|
|
|
|