src/newgrf_town.h
author rubidium
Mon, 14 Jul 2008 17:31:41 +0000
changeset 11141 38a15a29725b
parent 10429 1b99254f9607
permissions -rw-r--r--
(svn r13699) -Fix: handle SETX(Y) properly when truncating a string instead of ignoring it and returning a too long string.
/* $Id$ */

/** @file newgrf_town.h Functions to handle the town part of NewGRF towns. */

#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 */