src/viewport.h
changeset 8385 aedd7656cfd1
parent 8384 cda01fb6ec2a
child 8414 8c2ecc2dc12c
--- a/src/viewport.h	Thu Nov 15 18:21:59 2007 +0000
+++ b/src/viewport.h	Thu Nov 15 18:28:00 2007 +0000
@@ -87,7 +87,7 @@
 };
 
 /* viewport highlight mode (for highlighting tiles below cursor) */
-enum {
+enum ViewportHighlightMode {
 	VHM_NONE    = 0, ///< default
 	VHM_RECT    = 1, ///< rectangle (stations, depots, ...)
 	VHM_POINT   = 2, ///< point (lower land, raise land, level land, ...)
@@ -156,7 +156,7 @@
 
 
 /* common button handler */
-bool HandlePlacePushButton(Window *w, int widget, CursorID cursor, int mode, PlaceProc *placeproc);
+bool HandlePlacePushButton(Window *w, int widget, CursorID cursor, ViewportHighlightMode mode, PlaceProc *placeproc);
 
 VARDEF Point _tile_fract_coords;