OpenTTD Source 20241224-master-gf74b0cf984
CursorSprite Struct Reference

Public Member Functions

constexpr CursorSprite (SpriteID spr, PaletteID pal, int x, int y)
 

Data Fields

PalSpriteID image
 Image.
 
Point pos
 Relative position.
 

Detailed Description

Definition at line 115 of file gfx_type.h.

Constructor & Destructor Documentation

◆ CursorSprite()

constexpr CursorSprite::CursorSprite ( SpriteID  spr,
PaletteID  pal,
int  x,
int  y 
)
inlineconstexpr

Definition at line 119 of file gfx_type.h.

Field Documentation

◆ image

PalSpriteID CursorSprite::image

Image.

Definition at line 116 of file gfx_type.h.

◆ pos

Point CursorSprite::pos

Relative position.

Definition at line 117 of file gfx_type.h.


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