summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-01-31 22:37:20 +0000
committerterkhen <terkhen@openttd.org>2010-01-31 22:37:20 +0000
commit68fc39ea1d0bdb62eb5463326cecbb9c4825f149 (patch)
treec58dc703dca2baa10750e5b59461dfda7ba3807d
parentc23e4e45388a4802de14f4b9bcb8abec2e5926fd (diff)
downloadopenttd-68fc39ea1d0bdb62eb5463326cecbb9c4825f149.tar.xz
(svn r18977) -Doc: Add comments to ViewportDragDropSelectionProcess.
-rw-r--r--src/viewport_type.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/viewport_type.h b/src/viewport_type.h
index 0eb9d78e8..5f8002bc6 100644
--- a/src/viewport_type.h
+++ b/src/viewport_type.h
@@ -85,28 +85,28 @@ DECLARE_ENUM_AS_BIT_SET(ViewportPlaceMethod);
/** 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,
+ 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
/* Rail specific actions */
- DDSP_PLACE_RAIL,
- DDSP_BUILD_SIGNALS,
- DDSP_BUILD_STATION,
- DDSP_REMOVE_STATION,
- DDSP_CONVERT_RAIL,
+ 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
/* Road specific actions */
- DDSP_PLACE_ROAD_X_DIR,
- DDSP_PLACE_ROAD_Y_DIR,
- DDSP_PLACE_AUTOROAD,
+ DDSP_PLACE_ROAD_X_DIR, ///< Road placement (X axis)
+ DDSP_PLACE_ROAD_Y_DIR, ///< Road placement (Y axis)
+ DDSP_PLACE_AUTOROAD, ///< Road placement (auto)
};
#endif /* VIEWPORT_TYPE_H */