OpenTTD Source 20241224-master-gf74b0cf984
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 1916 of file rail_cmd.cpp.

Field Documentation

◆ height_ref

Corner FenceOffset::height_ref

Corner to use height offset from.

Definition at line 1917 of file rail_cmd.cpp.

Referenced by DrawTrackFence().

◆ x_offs

int FenceOffset::x_offs

Bounding box X offset.

Definition at line 1918 of file rail_cmd.cpp.

Referenced by DrawTrackFence().

◆ x_size

int FenceOffset::x_size

Bounding box X size.

Definition at line 1920 of file rail_cmd.cpp.

Referenced by DrawTrackFence().

◆ y_offs

int FenceOffset::y_offs

Bounding box Y offset.

Definition at line 1919 of file rail_cmd.cpp.

Referenced by DrawTrackFence().

◆ y_size

int FenceOffset::y_size

Bounding box Y size.

Definition at line 1921 of file rail_cmd.cpp.

Referenced by DrawTrackFence().


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