OpenTTD Source: FenceOffset Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
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:

- src/rail_cmd.cpp