Files @ r6431:faf2fa5fd6ce
Branch filter:

Location: cpp/openttd-patchpack/source/src/newgrf_town.h

belugas
(svn r9567) -Fix(9555, FS#718): The industry ID been collected was just an index in a out of phase array. Now, ensure that the ID will really be an IndustryType
/* $Id$ */

/** @file newgrf_town.h */

#ifndef NEWGRF_TOWN_H
#define NEWGRF_TOWN_H

/* Currently there is no direct town resolver; we only need to get town
 * variable results from inside stations, house tiles and industry tiles. */

uint32 TownGetVariable(byte variable, byte parameter, bool *available, const Town *t);

#endif /* NEWGRF_TOWN_H */