diff options
author | terkhen <terkhen@openttd.org> | 2011-06-12 20:50:03 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-06-12 20:50:03 +0000 |
commit | a619ad37897c6ee985aa7bb0dadbd9bbc47c5a63 (patch) | |
tree | 95db697b7650bab2fadc89e43c2e5697bf6040b6 /src/newgrf_town.h | |
parent | 7ffc8c0173cea7b364636e4a0686e72947095a9a (diff) | |
download | openttd-a619ad37897c6ee985aa7bb0dadbd9bbc47c5a63.tar.xz |
(svn r22569) -Feature: [NewGRF] Persistent storage for towns.
Diffstat (limited to 'src/newgrf_town.h')
-rw-r--r-- | src/newgrf_town.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 */ |