diff options
author | alberth <alberth@openttd.org> | 2012-11-10 20:45:59 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2012-11-10 20:45:59 +0000 |
commit | 4c9bea2a714da675217522c39113ba2c2c5bbee4 (patch) | |
tree | f04d63a5864e01eef76f74f0a09692a0baa880e1 /src/newgrf_town.h | |
parent | 69e07c3e00180053cc087ceb1dfeb89845b79857 (diff) | |
download | openttd-4c9bea2a714da675217522c39113ba2c2c5bbee4.tar.xz |
(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.
Diffstat (limited to 'src/newgrf_town.h')
-rw-r--r-- | src/newgrf_town.h | 7 |
1 files changed, 2 insertions, 5 deletions
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); } } }; |