stad
This commit is contained in:
@@ -54,6 +54,9 @@ protected:
|
||||
void drawTickBar(QPainter &painter);
|
||||
void drawPathAndRange(QPainter &painter, Unit *unit, const QMatrix4x4 &vMatrix);
|
||||
void drawFloatingTexts(QPainter &painter, const QMatrix4x4 &vMatrix);
|
||||
// City & Territory Overlays
|
||||
void drawCityBorders(QPainter &painter, const QMatrix4x4 &vMatrix);
|
||||
void drawCityViewOverlay(QPainter &painter, const QMatrix4x4 &vMatrix);
|
||||
bool screenToHex(const QPoint &screenPos, const QMatrix4x4 &vMatrix, int &outX, int &outY);
|
||||
QImage getTintedIcon(const QString &path, const QColor &color);
|
||||
|
||||
@@ -95,6 +98,20 @@ protected:
|
||||
QRect m_speed2xRect;
|
||||
QRect m_speed5xRect;
|
||||
QRect m_unitCardRect;
|
||||
QRect m_closeCityViewBtnRect;
|
||||
|
||||
struct CitySlotHit {
|
||||
QRect rect;
|
||||
int tx, ty;
|
||||
QString defaultRes;
|
||||
};
|
||||
std::vector<CitySlotHit> m_citySlotHits;
|
||||
|
||||
struct CityBannerHit {
|
||||
QRect rect;
|
||||
int cityId;
|
||||
};
|
||||
std::vector<CityBannerHit> m_cityBannerHits;
|
||||
};
|
||||
|
||||
#endif // QSCENERENDERER_H
|
||||
|
||||
Reference in New Issue
Block a user