summaryrefslogtreecommitdiff
path: root/src/newgrf_airporttiles.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2012-11-10 20:46:39 +0000
committeralberth <alberth@openttd.org>2012-11-10 20:46:39 +0000
commit33ff55a8f1287643986621e7130e8acddf42b221 (patch)
tree04af02a5ad82e979ec200570b38628dccc860cdf /src/newgrf_airporttiles.h
parent4c9bea2a714da675217522c39113ba2c2c5bbee4 (diff)
downloadopenttd-33ff55a8f1287643986621e7130e8acddf42b221.tar.xz
(svn r24693) -Doc: Add some doxymentation into the newgrf code.
Diffstat (limited to 'src/newgrf_airporttiles.h')
-rw-r--r--src/newgrf_airporttiles.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/newgrf_airporttiles.h b/src/newgrf_airporttiles.h
index 8daded34f..7fe57253c 100644
--- a/src/newgrf_airporttiles.h
+++ b/src/newgrf_airporttiles.h
@@ -18,8 +18,9 @@
#include "newgrf_commons.h"
#include "newgrf_spritegroup.h"
+/** Scope resolver for handling the tiles of an airport. */
struct AirportTileScopeResolver : public ScopeResolver {
- struct Station *st; ///< Station of the airport for which the callback is run, or \c NULL for build gui.
+ struct Station *st; ///< %Station of the airport for which the callback is run, or \c NULL for build gui.
byte airport_id; ///< Type of airport for which the callback is run.
TileIndex tile; ///< Tile for the callback, only valid for airporttile callbacks.
@@ -29,8 +30,9 @@ struct AirportTileScopeResolver : public ScopeResolver {
/* virtual */ uint32 GetVariable(byte variable, uint32 parameter, bool *available) const;
};
+/** Resolver for tiles of an airport. */
struct AirportTileResolverObject : public ResolverObject {
- AirportTileScopeResolver tiles_scope;
+ AirportTileScopeResolver tiles_scope; ///< Scope resolver for the tiles.
AirportTileResolverObject(const AirportTileSpec *ats, TileIndex tile, Station *st,
CallbackID callback = CBID_NO_CALLBACK, uint32 callback_param1 = 0, uint32 callback_param2 = 0);