From a619ad37897c6ee985aa7bb0dadbd9bbc47c5a63 Mon Sep 17 00:00:00 2001 From: terkhen Date: Sun, 12 Jun 2011 20:50:03 +0000 Subject: (svn r22569) -Feature: [NewGRF] Persistent storage for towns. --- src/newgrf_town.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/newgrf_town.h') diff --git a/src/newgrf_town.h b/src/newgrf_town.h index 090b3b67e..1489d1b1d 100644 --- a/src/newgrf_town.h +++ b/src/newgrf_town.h @@ -15,8 +15,9 @@ #include "town_type.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, Town *t); + * 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); #endif /* NEWGRF_TOWN_H */ -- cgit v1.2.3-70-g09d2