(svn r22569) -Feature: [NewGRF] Persistent storage for towns.

This commit is contained in:
terkhen
2011-06-12 20:50:03 +00:00
parent 7ffc8c0173
commit a619ad3789
8 changed files with 126 additions and 11 deletions

View File

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