Types related to viewports. More...
#include "zoom_type.h"
#include "strings_type.h"
#include "math.h"
Go to the source code of this file.
Types related to viewports.
Definition in file viewport_type.h.
Drag and drop selection process, or, what to do with an area of land when you've selected it.
DDSP_DEMOLISH_AREA |
Clear area. |
DDSP_RAISE_AND_LEVEL_AREA |
Raise / level area. |
DDSP_LOWER_AND_LEVEL_AREA |
Lower / level area. |
DDSP_LEVEL_AREA |
Level area. |
DDSP_CREATE_DESERT |
Fill area with desert. |
DDSP_CREATE_ROCKS |
Fill area with rocks. |
DDSP_CREATE_WATER |
Create a canal. |
DDSP_CREATE_RIVER |
Create rivers. |
DDSP_PLANT_TREES |
Plant trees. |
DDSP_BUILD_BRIDGE |
Bridge placement. |
DDSP_COPY_AREA |
Copy & paste. |
DDSP_MEASURE |
Measurement tool // TODO: fix selecting 1 tile and reset values on mouse release. |
DDSP_PLACE_RAIL |
Rail placement. |
DDSP_BUILD_SIGNALS |
Signal placement. |
DDSP_BUILD_STATION |
Station placement. |
DDSP_REMOVE_STATION |
Station removal. |
DDSP_CONVERT_RAIL |
Rail conversion. |
DDSP_PLACE_ROAD_X_DIR |
Road placement (X axis). |
DDSP_PLACE_ROAD_Y_DIR |
Road placement (Y axis). |
DDSP_PLACE_AUTOROAD |
Road placement (auto). |
DDSP_BUILD_BUSSTOP |
Road stop placement (buses). |
DDSP_BUILD_TRUCKSTOP |
Road stop placement (trucks). |
DDSP_REMOVE_BUSSTOP |
Road stop removal (buses). |
DDSP_REMOVE_TRUCKSTOP |
Road stop removal (trucks). |
Definition at line 95 of file viewport_type.h.
enum ViewportPlaceMethod |
Viewport place method (type of highlighted area and placed objects).
Definition at line 75 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 37 of file viewport_type.h.
enum ZoomStateChange |
Directions of zooming.
ZOOM_IN |
Zoom in (get more detailed view). |
ZOOM_OUT |
Zoom out (get helicopter view). |
ZOOM_NONE |
Hack, used to update the button status. |
Definition at line 59 of file viewport_type.h.
const uint BB_HEIGHT_UNDER_BRIDGE = 6 [static] |
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. Everything that can be built under low bridges, must not exceed this Z height.
Definition at line 71 of file viewport_type.h.
Referenced by DrawCatenaryOnBridge(), DrawCatenaryRailway(), DrawPillar(), and DrawTramCatenary().