diff options
author | rubidium <rubidium@openttd.org> | 2010-08-28 18:49:39 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-28 18:49:39 +0000 |
commit | 852bde0bad87b0aab2f8e70688989c76a4c34480 (patch) | |
tree | d61f47c7a9b62cc9f554093fc90a0e5e97282414 /src/newgrf_spritegroup.h | |
parent | 8fd9728e193b8bdfa1387429bd087feb12565e19 (diff) | |
download | openttd-852bde0bad87b0aab2f8e70688989c76a4c34480.tar.xz |
(svn r20660) -Codechange: implement (most) of action2 support for objects
Diffstat (limited to 'src/newgrf_spritegroup.h')
-rw-r--r-- | src/newgrf_spritegroup.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h index b9393dc2e..80d4588a2 100644 --- a/src/newgrf_spritegroup.h +++ b/src/newgrf_spritegroup.h @@ -354,6 +354,10 @@ struct ResolverObject { byte layout; ///< Layout of the airport to build. TileIndex tile; ///< Tile for the callback, only valid for airporttile callbacks. } airport; + struct { + const struct Object *o; ///< The object the callback is ran for. + TileIndex tile; ///< The tile related to the object. + } object; } u; uint32 (*GetRandomBits)(const struct ResolverObject*); |