summaryrefslogtreecommitdiff
path: root/src/newgrf_spritegroup.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-05 11:57:55 +0000
committeryexo <yexo@openttd.org>2010-08-05 11:57:55 +0000
commit6321eb5a00be509ce0415411677b34d63d995a33 (patch)
tree991ed0cf67b10e33989d94f18a88a52e3ea02a3f /src/newgrf_spritegroup.h
parentfe6c557705a2040239ac6469b6403e0e08b5c28e (diff)
downloadopenttd-6321eb5a00be509ce0415411677b34d63d995a33.tar.xz
(svn r20364) -Codechange: add infrastructure for airport callbacks
Diffstat (limited to 'src/newgrf_spritegroup.h')
-rw-r--r--src/newgrf_spritegroup.h7
1 files changed, 4 insertions, 3 deletions
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;