From 33ff55a8f1287643986621e7130e8acddf42b221 Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 10 Nov 2012 20:46:39 +0000 Subject: (svn r24693) -Doc: Add some doxymentation into the newgrf code. --- src/newgrf_industrytiles.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/newgrf_industrytiles.cpp') diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp index e778a3ac7..d23a38298 100644 --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -132,6 +132,15 @@ static const GRFFile *GetIndTileGrffile(IndustryGfx gfx) return (its != NULL) ? its->grf_prop.grffile : NULL; } +/** + * Constructor of the industry tiles scope resolver. + * @param gfx Graphics of the industry. + * @param tile %Tile of the industry. + * @param indus %Industry owning the tile. + * @param callback Callback ID. + * @param callback_param1 First parameter (var 10) of the callback. + * @param callback_param2 Second parameter (var 18) of the callback. + */ IndustryTileResolverObject::IndustryTileResolverObject(IndustryGfx gfx, TileIndex tile, Industry *indus, CallbackID callback, uint32 callback_param1, uint32 callback_param2) : ResolverObject(GetIndTileGrffile(gfx), callback, callback_param1, callback_param2), @@ -140,6 +149,12 @@ IndustryTileResolverObject::IndustryTileResolverObject(IndustryGfx gfx, TileInde { } +/** + * Constructor of the scope resolver for the industry tile. + * @param ro Surrounding resolver. + * @param industry %Industry owning the tile. + * @param tile %Tile of the industry. + */ IndustryTileScopeResolver::IndustryTileScopeResolver(ResolverObject *ro, Industry *industry, TileIndex tile) : ScopeResolver(ro) { this->industry = industry; -- cgit v1.2.3-54-g00ecf