2007-03-19 11:27:30 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
2009-08-21 20:21:05 +00:00
|
|
|
/*
|
|
|
|
* This file is part of OpenTTD.
|
|
|
|
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
|
|
|
|
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2008-05-06 15:11:33 +00:00
|
|
|
/** @file newgrf_town.h Functions to handle the town part of NewGRF towns. */
|
2007-03-19 11:27:30 +00:00
|
|
|
|
|
|
|
#ifndef NEWGRF_TOWN_H
|
|
|
|
#define NEWGRF_TOWN_H
|
|
|
|
|
2010-01-15 16:41:15 +00:00
|
|
|
#include "town_type.h"
|
|
|
|
|
2007-03-19 11:27:30 +00:00
|
|
|
/* Currently there is no direct town resolver; we only need to get town
|
2011-06-12 20:50:03 +00:00
|
|
|
* variable results from inside stations, house tiles and industries,
|
|
|
|
* and to check the town's persistent storage. */
|
|
|
|
uint32 TownGetVariable(byte variable, byte parameter, bool *available, Town *t, const GRFFile *caller_grffile);
|
|
|
|
void TownStorePSA(Town *t, const GRFFile *caller_grffile, uint pos, int32 value);
|
2007-03-19 11:27:30 +00:00
|
|
|
|
|
|
|
#endif /* NEWGRF_TOWN_H */
|