#include "zoom_type.h"
#include "strings_type.h"
Go to the source code of this file.
Data Structures | |
struct | ViewPort |
Data structure for viewport, display of a part of the world. More... | |
struct | ViewportSign |
Location information about a sign as seen on the viewport. More... | |
Enumerations | |
enum | ViewportSignMargin { VPSM_LEFT = 1, VPSM_RIGHT = 1, VPSM_TOP = 1, VPSM_BOTTOM = 1 } |
Margings for the viewport sign. More... | |
enum | { ZOOM_IN = 0, ZOOM_OUT = 1, ZOOM_NONE = 2 } |
enum | { BB_HEIGHT_UNDER_BRIDGE = 6, BB_Z_SEPARATOR = 7 } |
Some values for constructing bounding boxes (BB). More... | |
enum | ViewportPlaceMethod { VPM_X_OR_Y = 0, VPM_FIX_X = 1, VPM_FIX_Y = 2, VPM_X_AND_Y = 3, VPM_X_AND_Y_LIMITED = 4, VPM_FIX_HORIZONTAL = 5, VPM_FIX_VERTICAL = 6, VPM_RAILDIRS = 0x40, VPM_SIGNALDIRS = 0x80 } |
Viewport place method (type of highlighted area and placed objects). More... | |
enum | ViewportDragDropSelectionProcess { DDSP_DEMOLISH_AREA, DDSP_RAISE_AND_LEVEL_AREA, DDSP_LOWER_AND_LEVEL_AREA, DDSP_LEVEL_AREA, DDSP_CREATE_DESERT, DDSP_CREATE_ROCKS, DDSP_CREATE_WATER, DDSP_CREATE_RIVER, DDSP_PLANT_TREES, DDSP_BUILD_BRIDGE, DDSP_PLACE_RAIL, DDSP_BUILD_SIGNALS, DDSP_BUILD_STATION, DDSP_REMOVE_STATION, DDSP_CONVERT_RAIL, DDSP_PLACE_ROAD_X_DIR, DDSP_PLACE_ROAD_Y_DIR, DDSP_PLACE_AUTOROAD } |
Drag and drop selection process, or, what to do with an area of land when you've selected it. More... | |
Functions | |
DECLARE_ENUM_AS_BIT_SET (ViewportPlaceMethod) |
Definition in file viewport_type.h.
anonymous enum |
Some values for constructing bounding boxes (BB).
The Z positions under bridges are: z=0..5 Everything that can be built under low bridges. z=6 reserved, currently unused. z=7 Z separator between bridge/tunnel and the things under/above it.
BB_HEIGHT_UNDER_BRIDGE | Everything that can be built under low bridges, must not exceed this Z height. |
BB_Z_SEPARATOR | Separates the bridge/tunnel from the things under/above it. |
Definition at line 66 of file viewport_type.h.
Drag and drop selection process, or, what to do with an area of land when you've selected it.
Definition at line 87 of file viewport_type.h.
enum ViewportPlaceMethod |
Viewport place method (type of highlighted area and placed objects).
Definition at line 72 of file viewport_type.h.
enum ViewportSignMargin |
Margings for the viewport sign.
VPSM_LEFT | Left margin. |
VPSM_RIGHT | Right margin. |
VPSM_TOP | Top margin. |
VPSM_BOTTOM | Bottom margin. |
Definition at line 36 of file viewport_type.h.