48static uint
const ZOOM_BASE = 1U << ZOOM_BASE_SHIFT;
55#define ZOOM_LVL_GUI (_gui_zoom)
57static const int MIN_INTERFACE_SCALE = 100;
58static const int MAX_INTERFACE_SCALE = 500;
Type (helpers) for enums.
#define DECLARE_POSTFIX_INCREMENT(enum_type)
Some enums need to have allowed incrementing (i.e.
#define DECLARE_ENUM_AS_ADDABLE(EnumType)
Operator that allows this enumeration to be added to any other enumeration.
ZoomLevel
All zoom levels we know.
@ ZOOM_LVL_NORMAL
The normal zoom level.
@ ZOOM_LVL_NEWS
Default zoom level for the news messages.
@ ZOOM_LVL_ROADVEH
Default zoom level for the road vehicle view.
@ ZOOM_LVL_BEGIN
Begin for iteration.
@ ZOOM_LVL_DETAIL
All zoom levels below or equal to this will result in details on the screen, like road-work,...
@ ZOOM_LVL_TEXT_EFFECT
All zoom levels above this will not show text effects.
@ ZOOM_LVL_OUT_4X
Zoomed 4 times out.
@ ZOOM_LVL_INDUSTRY
Default zoom level for the industry view.
@ ZOOM_LVL_OUT_2X
Zoomed 2 times out.
@ ZOOM_LVL_OUT_8X
Zoomed 8 times out.
@ ZOOM_LVL_MAX
Maximum zoom level.
@ ZOOM_LVL_AIRCRAFT
Default zoom level for the aircraft view.
@ ZOOM_LVL_WORLD_SCREENSHOT
Default zoom level for the world screen shot.
@ ZOOM_LVL_IN_2X
Zoomed 2 times in.
@ ZOOM_LVL_END
End for iteration.
@ ZOOM_LVL_TRAIN
Default zoom level for the train view.
@ ZOOM_LVL_SHIP
Default zoom level for the ship view.
@ ZOOM_LVL_VIEWPORT
Default zoom level for viewports.
@ ZOOM_LVL_TOWN
Default zoom level for the town view.
@ ZOOM_LVL_MIN
Minimum zoom level.
@ ZOOM_LVL_IN_4X
Zoomed 4 times in.
ZoomLevel _font_zoom
Sprite font Zoom level (not clamped)
int _gui_scale_cfg
GUI scale in config.
ZoomLevel _gui_zoom
GUI Zoom level.
int _gui_scale
GUI scale, 100 is 100%.