src/newgrf_spritegroup.h
branchgamebalance
changeset 9912 1ac8aac92385
parent 9911 0b8b245a2391
child 9913 e79cd19772dd
equal deleted inserted replaced
9911:0b8b245a2391 9912:1ac8aac92385
     4 
     4 
     5 #ifndef NEWGRF_SPRITEGROUP_H
     5 #ifndef NEWGRF_SPRITEGROUP_H
     6 #define NEWGRF_SPRITEGROUP_H
     6 #define NEWGRF_SPRITEGROUP_H
     7 
     7 
     8 #include "town.h"
     8 #include "town.h"
       
     9 #include "industry.h"
     9 
    10 
    10 struct SpriteGroup;
    11 struct SpriteGroup;
    11 
    12 
    12 
    13 
    13 /* 'Real' sprite groups contain a list of other result or callback sprite
    14 /* 'Real' sprite groups contain a list of other result or callback sprite
   195 			TileIndex tile;
   196 			TileIndex tile;
   196 			Town *town;
   197 			Town *town;
   197 			HouseID house_id;
   198 			HouseID house_id;
   198 		} house;
   199 		} house;
   199 		struct {
   200 		struct {
       
   201 			TileIndex tile;
       
   202 			Industry *ind;
       
   203 		} industry;
       
   204 		struct {
   200 			const struct CargoSpec *cs;
   205 			const struct CargoSpec *cs;
   201 		} cargo;
   206 		} cargo;
   202 	} u;
   207 	} u;
   203 
   208 
   204 	uint32 (*GetRandomBits)(const struct ResolverObject*);
   209 	uint32 (*GetRandomBits)(const struct ResolverObject*);