set default zoom level in tinygui mode consistently with size of tiles

This commit is contained in:
Yann Dirson 2005-04-05 12:09:49 +00:00
parent c657694007
commit 973d131dda

View file

@ -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)