mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
fix
This commit is contained in:
@@ -130,13 +130,13 @@ TIcons CStatisticScreen::extractIcons() const
|
|||||||
std::sort(tmpData.begin(), tmpData.end(), [](const StatisticDataSetEntry & v1, const StatisticDataSetEntry & v2){ return v1.player == v2.player ? v1.day < v2.day : v1.player < v2.player; });
|
std::sort(tmpData.begin(), tmpData.end(), [](const StatisticDataSetEntry & v1, const StatisticDataSetEntry & v2){ return v1.player == v2.player ? v1.day < v2.day : v1.player < v2.player; });
|
||||||
|
|
||||||
auto imageTown = GH.renderHandler().loadImage(AnimationPath::builtin("cradvntr"), 3, 0, EImageBlitMode::COLORKEY);
|
auto imageTown = GH.renderHandler().loadImage(AnimationPath::builtin("cradvntr"), 3, 0, EImageBlitMode::COLORKEY);
|
||||||
imageTown->scaleFast(Point(CHART_ICON_SIZE, CHART_ICON_SIZE));
|
imageTown->scaleTo(Point(CHART_ICON_SIZE, CHART_ICON_SIZE));
|
||||||
auto imageBattle = GH.renderHandler().loadImage(AnimationPath::builtin("cradvntr"), 5, 0, EImageBlitMode::COLORKEY);
|
auto imageBattle = GH.renderHandler().loadImage(AnimationPath::builtin("cradvntr"), 5, 0, EImageBlitMode::COLORKEY);
|
||||||
imageBattle->scaleFast(Point(CHART_ICON_SIZE, CHART_ICON_SIZE));
|
imageBattle->scaleTo(Point(CHART_ICON_SIZE, CHART_ICON_SIZE));
|
||||||
auto imageDefeated = GH.renderHandler().loadImage(AnimationPath::builtin("tpthchk"), 1, 0, EImageBlitMode::COLORKEY);
|
auto imageDefeated = GH.renderHandler().loadImage(AnimationPath::builtin("tpthchk"), 1, 0, EImageBlitMode::COLORKEY);
|
||||||
imageDefeated->scaleFast(Point(CHART_ICON_SIZE, CHART_ICON_SIZE));
|
imageDefeated->scaleTo(Point(CHART_ICON_SIZE, CHART_ICON_SIZE));
|
||||||
auto imageGrail = GH.renderHandler().loadImage(AnimationPath::builtin("vwsymbol"), 2, 0, EImageBlitMode::COLORKEY);
|
auto imageGrail = GH.renderHandler().loadImage(AnimationPath::builtin("vwsymbol"), 2, 0, EImageBlitMode::COLORKEY);
|
||||||
imageGrail->scaleFast(Point(CHART_ICON_SIZE, CHART_ICON_SIZE));
|
imageGrail->scaleTo(Point(CHART_ICON_SIZE, CHART_ICON_SIZE));
|
||||||
|
|
||||||
std::map<PlayerColor, bool> foundDefeated;
|
std::map<PlayerColor, bool> foundDefeated;
|
||||||
std::map<PlayerColor, bool> foundGrail;
|
std::map<PlayerColor, bool> foundGrail;
|
||||||
|
|||||||
Reference in New Issue
Block a user