summaryrefslogtreecommitdiff
path: root/src/viewport.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/viewport.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/viewport.cpp')
-rw-r--r--src/viewport.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index 57f09c926..21ce36560 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -179,7 +179,7 @@ void AssignWindowViewport(Window *w, int x, int y,
assert(vp != endof(_viewports));
if (vp->width == 0) break;
}
- SETBIT(_active_viewports, bit);
+ SetBit(_active_viewports, bit);
vp->left = x + w->left;
vp->top = y + w->top;
@@ -627,7 +627,7 @@ void AddSortableSpriteToDraw(SpriteID image, SpriteID pal, int x, int y, int w,
/* make the sprites transparent with the right palette */
if (transparent) {
- SETBIT(image, PALETTE_MODIFIER_TRANSPARENT);
+ SetBit(image, PALETTE_MODIFIER_TRANSPARENT);
pal = PALETTE_TO_TRANSPARENT;
}
@@ -739,7 +739,7 @@ void AddChildSpriteScreen(SpriteID image, SpriteID pal, int x, int y, bool trans
/* make the sprites transparent with the right palette */
if (transparent) {
- SETBIT(image, PALETTE_MODIFIER_TRANSPARENT);
+ SetBit(image, PALETTE_MODIFIER_TRANSPARENT);
pal = PALETTE_TO_TRANSPARENT;
}