From 6321eb5a00be509ce0415411677b34d63d995a33 Mon Sep 17 00:00:00 2001 From: yexo Date: Thu, 5 Aug 2010 11:57:55 +0000 Subject: (svn r20364) -Codechange: add infrastructure for airport callbacks --- src/newgrf_spritegroup.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/newgrf_spritegroup.h') diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h index b6dc71d62..d1c13ca43 100644 --- a/src/newgrf_spritegroup.h +++ b/src/newgrf_spritegroup.h @@ -349,9 +349,10 @@ struct ResolverObject { bool upper_halftile; ///< Are we resolving sprites for the upper halftile? } routes; struct { - const struct Station *st; - byte airport_id; - TileIndex tile; + const struct Station *st; ///< Station of the airport for which the callback is run, or NULL for build gui. + byte airport_id; ///< Type of airport for which the callback is run + byte layout; ///< Layout of the airport to build. + TileIndex tile; ///< Tile for the callback, only valid for airporttile callbacks. } airport; } u; -- cgit v1.2.3-54-g00ecf