# HG changeset patch # User Wuzzy # Date 1507671776 -7200 # Node ID d5e09024d7225c8082c22eab2762a3e002fe0b51 # Parent ad1fd7ae479df0d1959ef1533d1703e40bd66bdb Change DLC icon (thanks, nemo!) diff -r ad1fd7ae479d -r d5e09024d722 ChangeLog.txt --- a/ChangeLog.txt Tue Oct 10 22:45:48 2017 +0200 +++ b/ChangeLog.txt Tue Oct 10 23:42:56 2017 +0200 @@ -273,7 +273,7 @@ + Allow to randomize hog names, hats, team name, flag, grave, voice and fort separately + “Random team” button is now able to randomly select from all available hats + Creating new game/weapon schemes guarantees unique names - + Custom maps and styles are now marked with a circle instead of an asterisk symbol + + Custom maps and styles are now marked with an icon instead of an asterisk + Mark custom forts in team editor * Fix flag being selectable for computer players although it had no effect * Campaign screen does no longer show AI-controlled teams diff -r ad1fd7ae479d -r d5e09024d722 QTfrontend/hedgewars.qrc --- a/QTfrontend/hedgewars.qrc Tue Oct 10 22:45:48 2017 +0200 +++ b/QTfrontend/hedgewars.qrc Tue Oct 10 23:42:56 2017 +0200 @@ -88,6 +88,7 @@ res/missionFinished.png res/missionFinishedSelected.png res/dlcMarker.png + res/dlcMarkerSelected.png res/graphicsicon.png res/frontendicon.png res/folder.png diff -r ad1fd7ae479d -r d5e09024d722 QTfrontend/model/GameStyleModel.cpp --- a/QTfrontend/model/GameStyleModel.cpp Tue Oct 10 22:45:48 2017 +0200 +++ b/QTfrontend/model/GameStyleModel.cpp Tue Oct 10 23:42:56 2017 +0200 @@ -34,6 +34,7 @@ QIcon dlcIcon; dlcIcon.addFile(":/res/dlcMarker.png", QSize(), QIcon::Normal, QIcon::On); + dlcIcon.addFile(":/res/dlcMarkerSelected.png", QSize(), QIcon::Selected, QIcon::On); QPixmap emptySpace = QPixmap(7, 15); emptySpace.fill(QColor(0, 0, 0, 0)); QIcon notDlcIcon = QIcon(emptySpace); diff -r ad1fd7ae479d -r d5e09024d722 QTfrontend/model/MapModel.cpp --- a/QTfrontend/model/MapModel.cpp Tue Oct 10 22:45:48 2017 +0200 +++ b/QTfrontend/model/MapModel.cpp Tue Oct 10 23:42:56 2017 +0200 @@ -83,6 +83,7 @@ QIcon dlcIcon; dlcIcon.addFile(":/res/dlcMarker.png", QSize(), QIcon::Normal, QIcon::On); + dlcIcon.addFile(":/res/dlcMarkerSelected.png", QSize(), QIcon::Selected, QIcon::On); QPixmap emptySpace = QPixmap(7, 15); emptySpace.fill(QColor(0, 0, 0, 0)); QIcon notDlcIcon = QIcon(emptySpace); diff -r ad1fd7ae479d -r d5e09024d722 QTfrontend/res/dlcMarker.png Binary file QTfrontend/res/dlcMarker.png has changed diff -r ad1fd7ae479d -r d5e09024d722 QTfrontend/res/dlcMarkerSelected.png Binary file QTfrontend/res/dlcMarkerSelected.png has changed diff -r ad1fd7ae479d -r d5e09024d722 QTfrontend/ui/page/pageeditteam.cpp --- a/QTfrontend/ui/page/pageeditteam.cpp Tue Oct 10 22:45:48 2017 +0200 +++ b/QTfrontend/ui/page/pageeditteam.cpp Tue Oct 10 23:42:56 2017 +0200 @@ -314,6 +314,7 @@ QIcon dlcIcon; dlcIcon.addFile(":/res/dlcMarker.png", QSize(), QIcon::Normal, QIcon::On); + dlcIcon.addFile(":/res/dlcMarkerSelected.png", QSize(), QIcon::Selected, QIcon::On); QPixmap emptySpace = QPixmap(7, 15); emptySpace.fill(QColor(0, 0, 0, 0)); QIcon notDlcIcon = QIcon(emptySpace);