OpenTTD Source: DrawIndustryAnimationStruct Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
DrawIndustryAnimationStruct Struct Reference

This is used to gather some data about animation drawing in the industry code Image_1-2-3 are in fact only offset in the sprites used by the industry. More...

`#include <industry_land.h>`

## Data Fields
int | x
| coordinate x of the first image offset
uint8_t | image_1
| image offset 1
uint8_t | image_2
| image offset 2
uint8_t | image_3
| image offset 3

## Detailed Description

This is used to gather some data about animation drawing in the industry code Image_1-2-3 are in fact only offset in the sprites used by the industry.

To specify an invalid one, either 255 or 0 is used, depending of the industry.

Definition at line 18 of file industry_land.h.

## Field Documentation

## ◆ image_1

uint8_t DrawIndustryAnimationStruct::image_1

image offset 1

Definition at line 20 of file industry_land.h.

## ◆ image_2

uint8_t DrawIndustryAnimationStruct::image_2

image offset 2

Definition at line 21 of file industry_land.h.

## ◆ image_3

uint8_t DrawIndustryAnimationStruct::image_3

image offset 3

Definition at line 22 of file industry_land.h.

## ◆ x

int DrawIndustryAnimationStruct::x

coordinate x of the first image offset

Definition at line 19 of file industry_land.h.

The documentation for this struct was generated from the following file:

- src/table/industry_land.h