(svn r10485) -Codechange: add a callback mechanism to determine whether building an industry is allowed at a given location.

This commit is contained in:
rubidium
2007-07-09 13:21:49 +00:00
parent b3ed27adab
commit e207ba425f
5 changed files with 109 additions and 17 deletions

View File

@@ -224,6 +224,11 @@ struct ResolverObject {
Industry *ind;
IndustryGfx gfx;
} industry;
struct {
TileIndex tile;
const IndustrySpec *spec;
uint itspec_index;
} industry_location;
struct {
const struct CargoSpec *cs;
} cargo;