OpenTTD Source: AnimCursor Struct Reference

OpenTTD Source 15.3

Data Fields
AnimCursor Struct Reference

A single sprite of a list of animated cursors. More...

`#include <gfx_type.h>`

## Data Fields
CursorID | sprite
| Must be set to LAST_ANIM when it is the last sprite of the loop.
uint8_t | display_time
| Amount of ticks this sprite will be shown.

## Detailed Description

A single sprite of a list of animated cursors.

Definition at line 110 of file gfx_type.h.

## Field Documentation

## ◆ display_time

uint8_t AnimCursor::display_time

Amount of ticks this sprite will be shown.

Definition at line 112 of file gfx_type.h.

## ◆ sprite

CursorID AnimCursor::sprite

Must be set to LAST_ANIM when it is the last sprite of the loop.

Definition at line 111 of file gfx_type.h.

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

- src/gfx_type.h