Sprite: Don't allocate sprite encode space for map-mode zoom levels

This commit is contained in:
Jonathan G Rennison
2023-08-21 23:19:26 +01:00
parent d6f01988e3
commit 785216db73
10 changed files with 22 additions and 19 deletions

View File

@@ -50,6 +50,9 @@ enum ZoomLevel : byte {
ZOOM_LVL_MAX = ZOOM_LVL_OUT_512X, ///< Maximum zoom level.
ZOOM_LVL_DRAW_MAP = ZOOM_LVL_OUT_64X, ///< All zoomlevels above or equal to this are rendered with map style
ZOOM_LVL_DRAW_SPR = ZOOM_LVL_DRAW_MAP - 1, ///< All zoomlevels below or equal to this are rendered with sprites
ZOOM_LVL_SPR_END = ZOOM_LVL_DRAW_MAP, ///< End for iteration of zoom levels to draw with sprites.
ZOOM_LVL_SPR_COUNT = ZOOM_LVL_SPR_END - ZOOM_LVL_BEGIN, ///< Number of zoom levels to draw with sprites.
};
DECLARE_POSTFIX_INCREMENT(ZoomLevel)