Remove: ZOOM_LVL_COUNT
This is the only enumeration with a COUNT and END. The logic of the COUNT implied that BEGIN could be non-zero, but all but two uses of zoom level assume that BEGIN is zero, making the separate count only confusing.
This commit is contained in:
@@ -27,8 +27,6 @@ enum ZoomLevel : byte {
|
||||
ZOOM_LVL_OUT_32X, ///< Zoomed 32 times out.
|
||||
ZOOM_LVL_END, ///< End for iteration.
|
||||
|
||||
ZOOM_LVL_COUNT = ZOOM_LVL_END - ZOOM_LVL_BEGIN, ///< Number of zoom levels.
|
||||
|
||||
/* Here we define in which zoom viewports are */
|
||||
ZOOM_LVL_VIEWPORT = ZOOM_LVL_OUT_4X, ///< Default zoom level for viewports.
|
||||
ZOOM_LVL_NEWS = ZOOM_LVL_OUT_4X, ///< Default zoom level for the news messages.
|
||||
|
Reference in New Issue
Block a user