OpenTTD
Data Fields
ViewPort Struct Reference

Data structure for viewport, display of a part of the world. More...

#include <viewport_type.h>

Inheritance diagram for ViewPort:
ViewportData

Data Fields

int left
 Screen coordinate left egde of the viewport.
int top
 Screen coordinate top edge of the viewport.
int width
 Screen width of the viewport.
int height
 Screen height of the viewport.
int virtual_left
 Virtual left coordinate.
int virtual_top
 Virtual top coordinate.
int virtual_width
 width << zoom
int virtual_height
 height << zoom
ZoomLevel zoom
 The zoom level of the viewport.
LinkGraphOverlayoverlay

Detailed Description

Data structure for viewport, display of a part of the world.

Definition at line 24 of file viewport_type.h.


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