From 4c9bea2a714da675217522c39113ba2c2c5bbee4 Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 10 Nov 2012 20:45:59 +0000 Subject: (svn r24692) -Cleanup: Cleanup final parts of the old resolver code. --- src/newgrf_town.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/newgrf_town.h') diff --git a/src/newgrf_town.h b/src/newgrf_town.h index af79e0141..cd090a7ac 100644 --- a/src/newgrf_town.h +++ b/src/newgrf_town.h @@ -18,10 +18,7 @@ /* Currently there is no direct town resolver; we only need to get town * variable results from inside stations, house tiles and industries, * and to check the town's persistent storage. - * XXX Remove the functions. */ -uint32 TownGetVariable(byte variable, uint32 parameter, bool *available, Town *t, const struct GRFFile *caller_grffile); -void TownStorePSA(Town *t, const struct GRFFile *caller_grffile, uint pos, int32 value); - + */ struct TownScopeResolver : public ScopeResolver { Town *t; bool readonly; @@ -41,7 +38,7 @@ struct TownResolverObject : public ResolverObject { { switch (scope) { case VSG_SCOPE_SELF: return &town_scope; - default: return &this->default_scope; // XXX return ResolverObject::GetScope(scope, relative); + default: return ResolverObject::GetScope(scope, relative); } } }; -- cgit v1.2.3-54-g00ecf