(svn r24688) -Codechange: Add resolver classes for generics.

This commit is contained in:
alberth
2012-11-10 20:43:40 +00:00
parent c83db1395b
commit 348ef7f12c
2 changed files with 75 additions and 77 deletions

View File

@@ -363,16 +363,6 @@ struct ResolverObject {
IndustryGfx gfx;
IndustryType type;
} industry;
struct {
CargoID cargo_type;
uint8 default_selection;
uint8 src_industry; ///< Source industry substitute type. 0xFF for "town", 0xFE for "unknown".
uint8 dst_industry; ///< Destination industry substitute type. 0xFF for "town", 0xFE for "unknown".
uint8 distance;
AIConstructionEvent event;
uint8 count;
uint8 station_size;
} generic;
} u;
uint32 (*GetRandomBits)(const struct ResolverObject*);