set default zoom level in tinygui mode consistently with size of tiles
This commit is contained in:
parent
c657694007
commit
973d131dda
1 changed files with 5 additions and 0 deletions
|
@ -48,7 +48,12 @@
|
|||
std::map<gamemap::location,fixed_t> display::debugHighlights_;
|
||||
|
||||
namespace {
|
||||
#ifdef USE_TINY_GUI
|
||||
const int DefaultZoom = 36;
|
||||
#else
|
||||
const int DefaultZoom = 72;
|
||||
#endif
|
||||
|
||||
const int MaxZoom = 200;
|
||||
|
||||
int MinZoom(const gamemap& map, const SDL_Rect& viewport)
|
||||
|
|
Loading…
Add table
Reference in a new issue