diff options
author | smatz <smatz@openttd.org> | 2008-06-17 17:25:22 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-06-17 17:25:22 +0000 |
commit | dedb0033b3647d795a23118a22f227d7af33960d (patch) | |
tree | 9b850fb11338018338cebc973ce92041435aaeb3 /src/zoom_type.h | |
parent | 6d4590ec7c4ab5d3a8335d1231ac13c932d42134 (diff) | |
download | openttd-dedb0033b3647d795a23118a22f227d7af33960d.tar.xz |
(svn r13551) -Codechange: store offsets to different zoom levels in a distinguished struct instead in the data stream for 8bpp-optimized
Diffstat (limited to 'src/zoom_type.h')
-rw-r--r-- | src/zoom_type.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zoom_type.h b/src/zoom_type.h index 2929e7309..af314ad11 100644 --- a/src/zoom_type.h +++ b/src/zoom_type.h @@ -16,6 +16,9 @@ enum ZoomLevel { ZOOM_LVL_OUT_8X, ZOOM_LVL_END, + /* Number of zoom levels */ + ZOOM_LVL_COUNT = ZOOM_LVL_END - ZOOM_LVL_BEGIN, + /* Here we define in which zoom viewports are */ ZOOM_LVL_VIEWPORT = ZOOM_LVL_NORMAL, ZOOM_LVL_NEWS = ZOOM_LVL_NORMAL, |