OpenTTD Source
20241108-master-g80f628063a
|
Defines the data structure of each individual tile of an industry. More...
#include <industrytype.h>
Data Fields | |
std::array< CargoID, INDUSTRY_NUM_INPUTS > | accepts_cargo |
Cargo accepted by this tile. | |
std::array< std::variant< CargoLabel, MixedCargoType >, INDUSTRY_NUM_INPUTS > | accepts_cargo_label |
std::array< int8_t, INDUSTRY_NUM_INPUTS > | acceptance |
Level of acceptance per cargo type (signed, may be negative!) | |
Slope | slopes_refused |
slope pattern on which this tile cannot be built | |
uint8_t | anim_production |
Animation frame to start when goods are produced. | |
uint8_t | anim_next |
Next frame in an animation. | |
bool | anim_state |
When true, the tile has to be drawn using the animation state instead of the construction state. | |
uint8_t | callback_mask |
Bitmask of industry tile callbacks that have to be called. | |
AnimationInfo | animation |
Information about the animation (is it looping, how many loops etc) | |
IndustryTileSpecialFlags | special_flags |
Bitmask of extra flags used by the tile. | |
bool | enabled |
entity still available (by default true).newgrf can disable it, though | |
GRFFileProps | grf_prop |
properties related to the grf file | |
Defines the data structure of each individual tile of an industry.
Definition at line 148 of file industrytype.h.