From a97ab85b332211c143e5225f79d8abeb8bafd542 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 23 Sep 2014 16:01:52 +0200 Subject: 32x32 tiles --- src/view/MapView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/view/MapView.cpp') diff --git a/src/view/MapView.cpp b/src/view/MapView.cpp index 3eb3248..580014e 100644 --- a/src/view/MapView.cpp +++ b/src/view/MapView.cpp @@ -84,7 +84,7 @@ void MapView::render(float centerX, float centerY) { std::pair viewport = window->getViewport(); - float pixels = std::max(viewport.first/16.0f, viewport.second/12.0f); + float pixels = std::max(viewport.first/20.0f, viewport.second/15.0f); int tilePixels = getTileSize() * std::ceil(pixels / getTileSize()); float tilesW = viewport.first / tilePixels; -- cgit v1.2.3