summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
committerskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
commit3ae50673a3e1e64a6038c53570c5ee168073e038 (patch)
tree51f15a2e52f58ea4446467086c5441cebe4324bf /src/main_gui.cpp
parent795174edf13e99cdef7eda73fbc088e2b06df051 (diff)
downloadopenttd-3ae50673a3e1e64a6038c53570c5ee168073e038.tar.xz
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 5f7c8ea5d..9d55ff35b 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -971,14 +971,14 @@ static void ToolbarOptionsClick(Window *w)
w = PopupMainToolbMenu(w, 2, STR_02C3_GAME_OPTIONS, 14, 0);
- if (HasBit(_display_opt, DO_SHOW_TOWN_NAMES)) SETBIT(x, 6);
- if (HasBit(_display_opt, DO_SHOW_STATION_NAMES)) SETBIT(x, 7);
- if (HasBit(_display_opt, DO_SHOW_SIGNS)) SETBIT(x, 8);
- if (HasBit(_display_opt, DO_WAYPOINTS)) SETBIT(x, 9);
- if (HasBit(_display_opt, DO_FULL_ANIMATION)) SETBIT(x, 10);
- if (HasBit(_display_opt, DO_FULL_DETAIL)) SETBIT(x, 11);
- if (IsTransparencySet(TO_HOUSES) && IsTransparencySet(TO_TREES)) SETBIT(x, 12);
- if (IsTransparencySet(TO_SIGNS)) SETBIT(x, 13);
+ if (HasBit(_display_opt, DO_SHOW_TOWN_NAMES)) SetBit(x, 6);
+ if (HasBit(_display_opt, DO_SHOW_STATION_NAMES)) SetBit(x, 7);
+ if (HasBit(_display_opt, DO_SHOW_SIGNS)) SetBit(x, 8);
+ if (HasBit(_display_opt, DO_WAYPOINTS)) SetBit(x, 9);
+ if (HasBit(_display_opt, DO_FULL_ANIMATION)) SetBit(x, 10);
+ if (HasBit(_display_opt, DO_FULL_DETAIL)) SetBit(x, 11);
+ if (IsTransparencySet(TO_HOUSES) && IsTransparencySet(TO_TREES)) SetBit(x, 12);
+ if (IsTransparencySet(TO_SIGNS)) SetBit(x, 13);
WP(w,menu_d).checked_items = x;
}