mirror of https://github.com/OpenTTD/OpenTTD
(svn r9974) -Codechange: Remove the enabled member of GRFFileProps, since it'snot really grf related
parent
77f5c1e25e
commit
4cb32f903e
|
@ -99,7 +99,6 @@ struct GRFFileProps {
|
||||||
struct SpriteGroup *spritegroup; ///< pointer to the different sprites of the industry
|
struct SpriteGroup *spritegroup; ///< pointer to the different sprites of the industry
|
||||||
const struct GRFFile *grffile; ///< grf file that introduced this house
|
const struct GRFFile *grffile; ///< grf file that introduced this house
|
||||||
uint8 override; ///< id of the entity been replaced by
|
uint8 override; ///< id of the entity been replaced by
|
||||||
bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -132,6 +131,7 @@ struct IndustrySpec {
|
||||||
const uint8 *random_sounds; ///< array of random sounds.
|
const uint8 *random_sounds; ///< array of random sounds.
|
||||||
/* Newgrf data */
|
/* Newgrf data */
|
||||||
uint16 callback_flags; ///< Flags telling which grf callback is set
|
uint16 callback_flags; ///< Flags telling which grf callback is set
|
||||||
|
bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though
|
||||||
struct GRFFileProps grf_prop; ///< properties related the the grf file
|
struct GRFFileProps grf_prop; ///< properties related the the grf file
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -148,6 +148,7 @@ struct IndustryTileSpec {
|
||||||
///< state instead of the construction state
|
///< state instead of the construction state
|
||||||
/* Newgrf data */
|
/* Newgrf data */
|
||||||
uint8 callback_flags; ///< Flags telling which grf callback is set
|
uint8 callback_flags; ///< Flags telling which grf callback is set
|
||||||
|
bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though
|
||||||
struct GRFFileProps grf_prop;
|
struct GRFFileProps grf_prop;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue