OpenTTD Source 20250205-master-gfd85ab1e2c
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.
 

Static Public Attributes

static const CursorID LAST = std::numeric_limits<CursorID>::max()
 

Detailed Description

A single sprite of a list of animated cursors.

Definition at line 108 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 111 of file gfx_type.h.

◆ LAST

const CursorID AnimCursor::LAST = std::numeric_limits<CursorID>::max()
static

Definition at line 109 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 110 of file gfx_type.h.


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