(svn r20660) -Codechange: implement (most) of action2 support for objects

This commit is contained in:
rubidium
2010-08-28 18:49:39 +00:00
parent 4ad5ef5c43
commit e014667eae
4 changed files with 410 additions and 1 deletions

View File

@@ -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*);