diff options
author | smatz <smatz@openttd.org> | 2007-11-18 23:13:53 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2007-11-18 23:13:53 +0000 |
commit | 2686901d84c335f9a761c26e005faa230e5102bc (patch) | |
tree | 249034d78ee0976c3785c11b59468e3d92001ae2 /src/viewport.h | |
parent | 6097c07e4b77f72fdb17261ea6616f729265c2a2 (diff) | |
download | openttd-2686901d84c335f9a761c26e005faa230e5102bc.tar.xz |
(svn r11471) -Codechange: one more variable retyped to enum ViewportHighlightMode
Diffstat (limited to 'src/viewport.h')
-rw-r--r-- | src/viewport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/viewport.h b/src/viewport.h index e436edae3..b1bba7d4d 100644 --- a/src/viewport.h +++ b/src/viewport.h @@ -86,7 +86,7 @@ enum ViewportPlaceMethod { VPM_SIGNALDIRS = 6, ///< similiar to VMP_RAILDIRS, but with different cursor }; -/* viewport highlight mode (for highlighting tiles below cursor) */ +/** Viewport highlight mode (for highlighting tiles below cursor) */ enum ViewportHighlightMode { VHM_NONE = 0, ///< default VHM_RECT = 1, ///< rectangle (stations, depots, ...) @@ -143,7 +143,7 @@ struct TileHighlightData { byte new_drawstyle; // only used in UpdateTileSelection() to as a buffer to compare if there was a change between old and new byte next_drawstyle; // queued, but not yet drawn style - byte place_mode; + ViewportHighlightMode place_mode; bool make_square_red; WindowClass window_class; WindowNumber window_number; |