src/newgrf_town.h
author rubidium
Wed, 07 May 2008 21:45:27 +0000
changeset 10457 ea18877d8eba
parent 10429 1b99254f9607
permissions -rw-r--r--
(svn r12999) -Fix [FS#1995]: when a Window got deleted on a double click event, we should not send a click event to the now non-existant Window as that causes segfaults.
/* $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 */