diff options
author | rubidium <rubidium@openttd.org> | 2008-05-08 13:21:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-08 13:21:55 +0000 |
commit | cabd771fc0b99d42aaa7e172172ad39211933461 (patch) | |
tree | 5b59a1c33296df3cf6d606314b7975d74eed399c /src/viewport_type.h | |
parent | e48a351f8e006b19d9e2c7bf9ef672a1e141d85f (diff) | |
download | openttd-cabd771fc0b99d42aaa7e172172ad39211933461.tar.xz |
(svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h.
Diffstat (limited to 'src/viewport_type.h')
-rw-r--r-- | src/viewport_type.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/viewport_type.h b/src/viewport_type.h index 166ca6593..98f56b885 100644 --- a/src/viewport_type.h +++ b/src/viewport_type.h @@ -58,4 +58,33 @@ enum ViewportPlaceMethod { VPM_SIGNALDIRS = 6, ///< similiar to VMP_RAILDIRS, but with different cursor }; +/** Drag and drop selection process, or, what to do with an area of land when + * you've selected it. */ +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, + + /* Rail specific actions */ + DDSP_PLACE_RAIL_NE, + DDSP_PLACE_RAIL_NW, + DDSP_PLACE_AUTORAIL, + DDSP_BUILD_SIGNALS, + DDSP_BUILD_STATION, + DDSP_REMOVE_STATION, + DDSP_CONVERT_RAIL, + + /* Road specific actions */ + DDSP_PLACE_ROAD_X_DIR, + DDSP_PLACE_ROAD_Y_DIR, + DDSP_PLACE_AUTOROAD, +}; + #endif /* VIEWPORT_TYPE_H */ |