coordinate system fix and build fix
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "GameWorldView.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
#include <cmath>
|
||||
#include <map>
|
||||
#include <string>
|
||||
@@ -162,7 +163,7 @@ void GameWorldView::onFrame()
|
||||
}
|
||||
else
|
||||
{
|
||||
toast.text = shipName + " production level \u2192 "
|
||||
toast.text = shipName + " production level -> "
|
||||
+ QString::number(ev.newLevel);
|
||||
}
|
||||
toast.createdWallMs = m_wallMs;
|
||||
@@ -225,7 +226,6 @@ void GameWorldView::paintGL()
|
||||
{
|
||||
QPainter painter(this);
|
||||
painter.setRenderHint(QPainter::Antialiasing, false);
|
||||
painter.translate(-static_cast<qreal>(m_scrollXTiles) * static_cast<qreal>(tilePx()), 0.0);
|
||||
|
||||
drawTiles(painter);
|
||||
drawBuildings(painter);
|
||||
|
||||
Reference in New Issue
Block a user