OpenTTD Source 20260704-master-gbf70c61fb8
Base sprites for elrail.

Offsets via an enum are used so a complete list of absolute sprite numbers is unnecessary. More...

static const SpriteID SPR_WIRE_BASE = SPR_ELRAIL_BASE + 0
static const SpriteID SPR_PYLON_BASE = SPR_ELRAIL_BASE + 28

Detailed Description

Offsets via an enum are used so a complete list of absolute sprite numbers is unnecessary.

Variable Documentation

◆ SPR_PYLON_BASE

const SpriteID SPR_PYLON_BASE = SPR_ELRAIL_BASE + 28
static

Base elrail sprite.

Definition at line 526 of file sprites.h.

Referenced by GetPylonBase().

◆ SPR_WIRE_BASE

const SpriteID SPR_WIRE_BASE = SPR_ELRAIL_BASE + 0
static

Base elrail sprite.

Definition at line 525 of file sprites.h.

Referenced by GetWireBase().