OpenTTD Source 20250428-master-ga5578166bb
FenceOffset Struct Reference

Offsets for drawing fences. More...

Data Fields

Corner height_ref
 Corner to use height offset from.
 
int x_offs
 Bounding box X offset.
 
int y_offs
 Bounding box Y offset.
 
int x_size
 Bounding box X size.
 
int y_size
 Bounding box Y size.
 

Detailed Description

Offsets for drawing fences.

Definition at line 1910 of file rail_cmd.cpp.

Field Documentation

◆ height_ref

Corner FenceOffset::height_ref

Corner to use height offset from.

Definition at line 1911 of file rail_cmd.cpp.

Referenced by DrawTrackFence().

◆ x_offs

int FenceOffset::x_offs

Bounding box X offset.

Definition at line 1912 of file rail_cmd.cpp.

Referenced by DrawTrackFence().

◆ x_size

int FenceOffset::x_size

Bounding box X size.

Definition at line 1914 of file rail_cmd.cpp.

Referenced by DrawTrackFence().

◆ y_offs

int FenceOffset::y_offs

Bounding box Y offset.

Definition at line 1913 of file rail_cmd.cpp.

Referenced by DrawTrackFence().

◆ y_size

int FenceOffset::y_size

Bounding box Y size.

Definition at line 1915 of file rail_cmd.cpp.

Referenced by DrawTrackFence().


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