summaryrefslogtreecommitdiff
path: root/src/texteff.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-05-15 16:08:46 +0000
committertruelight <truelight@openttd.org>2007-05-15 16:08:46 +0000
commitb605f686310fdb328c777dc36f9233e9923bf5e5 (patch)
tree839525ed601a24ac844e1fb9f64be11f2890b982 /src/texteff.cpp
parent5b1b54e614a7f7a3f07c8091dd988cb0e50f7bd2 (diff)
downloadopenttd-b605f686310fdb328c777dc36f9233e9923bf5e5.tar.xz
(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details -Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out) -Fix r9845: missed some int -> ZoomLevel
Diffstat (limited to 'src/texteff.cpp')
-rw-r--r--src/texteff.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/texteff.cpp b/src/texteff.cpp
index 692641be5..bb187ac15 100644
--- a/src/texteff.cpp
+++ b/src/texteff.cpp
@@ -351,8 +351,10 @@ void DrawTextEffects(DrawPixelInfo *dpi)
}
break;
- default:
+ case ZOOM_LVL_OUT_4X:
break;
+
+ default: NOT_REACHED();
}
}