Updating comments.
[ci skip]
This commit is contained in:
parent
8e5df3948c
commit
a22e4a37ba
2 changed files with 2 additions and 1 deletions
|
@ -32,6 +32,8 @@
|
|||
|
||||
hp_bar_scaling=0.6
|
||||
xp_bar_scaling=0.5
|
||||
|
||||
# zoom factors must be a sorted list of ascending multipliers
|
||||
zoom_levels = 0.25, 0.33333333333333333, 0.5, 0.75, 1.0, 1.25, 1.5, 2.0, 3.0, 4.0
|
||||
|
||||
#temporary disable hex brightening
|
||||
|
|
|
@ -91,7 +91,6 @@ unsigned int display::last_zoom_ = SmallZoom;
|
|||
|
||||
// Returns index of zoom_levels which is closest match to input zoom_level
|
||||
// Assumption: zoom_levels is a sorted vector of ascending tile sizes
|
||||
// (game_config is set-up this way as of October 2019 but there is no documentation stating it has to be so)
|
||||
int get_zoom_levels_index(unsigned int zoom_level)
|
||||
{
|
||||
zoom_level = utils::clamp(zoom_level, MinZoom, MaxZoom); // ensure zoom_level is within zoom_levels bounds
|
||||
|
|
Loading…
Add table
Reference in a new issue