#include "core/geometry_type.hpp"
#include "zoom_type.h"
#include "window_type.h"
#include "tile_type.h"
Go to the source code of this file.
Data Structures | |
struct | ViewPort |
struct | TileHighlightData |
Enumerations | |
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_RAILDIRS = 3, VPM_X_AND_Y = 4, VPM_X_AND_Y_LIMITED = 5, VPM_SIGNALDIRS = 6 } |
Viewport place method (type of highlighted area and placed objects). More... | |
enum | ViewportHighlightMode { VHM_NONE = 0, VHM_RECT = 1, VHM_POINT = 2, VHM_SPECIAL = 3, VHM_DRAG = 4, VHM_RAIL = 5 } |
Viewport highlight mode (for highlighting tiles below cursor). More... | |
enum | HighLightStyle { HT_NONE = 0x00, HT_RECT = 0x80, HT_POINT = 0x40, HT_LINE = 0x20, HT_RAIL = 0x10, HT_DRAG_MASK = 0xF0, HT_DIR_X = 0, HT_DIR_Y = 1, HT_DIR_HU = 2, HT_DIR_HL = 3, HT_DIR_VL = 4, HT_DIR_VR = 5, HT_DIR_MASK = 0x7 } |
Functions | |
DECLARE_ENUM_AS_BIT_SET (HighLightStyle) |
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 35 of file viewport_type.h.
enum HighLightStyle |
Definition at line 62 of file viewport_type.h.
Viewport highlight mode (for highlighting tiles below cursor).
Definition at line 52 of file viewport_type.h.
enum ViewportPlaceMethod |
Viewport place method (type of highlighted area and placed objects).
Definition at line 41 of file viewport_type.h.