OpenTTD Source 20241224-master-gee860a5c8e
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 = MAX_UVALUE(CursorID)
 

Detailed Description

A single sprite of a list of animated cursors.

Definition at line 109 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.

◆ LAST

const CursorID AnimCursor::LAST = MAX_UVALUE(CursorID)
static

Definition at line 110 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: