OpenTTD Source
20241125-master-g5b02f51e17
|
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< 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 | |
std::array< std::variant< CargoLabel, MixedCargoType >, INDUSTRY_ORIGINAL_NUM_INPUTS > | accepts_cargo_label |
Cargo labels of accepted cargo for default industry tiles. | |
Defines the data structure of each individual tile of an industry.
Definition at line 149 of file industrytype.h.