Skip to content

Commit

Permalink
Updating comments.
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Wedge009 committed Oct 16, 2019
1 parent 8e5df39 commit a22e4a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions data/game_config.cfg
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/display.cpp
Expand Up @@ -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
Expand Down

0 comments on commit a22e4a3

Please sign in to comment.