diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-04-21 16:53:04 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-04-21 16:53:04 +0200 |
commit | b2b0f25954126d399f7eac1de7d83ef54e6969ac (patch) | |
tree | 3158ebe2c05e755412c2e9ed033c0049e309ee2d /src/game | |
parent | f43f52903f29d010a72183de24ae8f56ab6702bb (diff) |
Change the font.
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/interface.cpp b/src/game/interface.cpp index 00cdd7b..8cc2a85 100644 --- a/src/game/interface.cpp +++ b/src/game/interface.cpp @@ -436,11 +436,11 @@ void state_t::render_to(render::state_t *render) window->setView(sf::View(sf::FloatRect(0, 0, w, h))); - em = std::max(w, h) * 0.017; + em = std::max(w, h) * 0.013; if (em < 15.0f) em = 15.0f; - avatar_size = v2f_t(6, 10); + avatar_size = v2f_t(3.0f/5.0f, 1.0f) * 14.0f; if (game->selected_units.size() > 8) large_avatars = false; |