network bots are now displayed in teamselect widget
authordisplacer
Fri, 23 Feb 2007 12:30:38 +0000
changeset 483 2c8d6072c261
parent 482 61c617f1bec7
child 484 3583f6289eee
network bots are now displayed in teamselect widget
QTfrontend/hedgewars.qrc
QTfrontend/res/botlevels/net0.png
QTfrontend/res/botlevels/net0.xcf
QTfrontend/res/botlevels/net1.png
QTfrontend/res/botlevels/net2.png
QTfrontend/res/botlevels/net3.png
QTfrontend/res/botlevels/net4.png
QTfrontend/res/botlevels/net5.png
QTfrontend/teamselhelper.cpp
--- a/QTfrontend/hedgewars.qrc	Fri Feb 23 10:08:13 2007 +0000
+++ b/QTfrontend/hedgewars.qrc	Fri Feb 23 12:30:38 2007 +0000
@@ -7,6 +7,12 @@
     <file>res/botlevels/3.png</file>
     <file>res/botlevels/4.png</file>
     <file>res/botlevels/5.png</file>
+    <file>res/botlevels/net0.png</file>
+    <file>res/botlevels/net1.png</file>
+    <file>res/botlevels/net2.png</file>
+    <file>res/botlevels/net3.png</file>
+    <file>res/botlevels/net4.png</file>
+    <file>res/botlevels/net5.png</file>
     <file>res/Hedgehog.svg</file>
     <file>res/net.png</file>
 </qresource>
Binary file QTfrontend/res/botlevels/net0.png has changed
Binary file QTfrontend/res/botlevels/net0.xcf has changed
Binary file QTfrontend/res/botlevels/net1.png has changed
Binary file QTfrontend/res/botlevels/net2.png has changed
Binary file QTfrontend/res/botlevels/net3.png has changed
Binary file QTfrontend/res/botlevels/net4.png has changed
Binary file QTfrontend/res/botlevels/net5.png has changed
--- a/QTfrontend/teamselhelper.cpp	Fri Feb 23 10:08:13 2007 +0000
+++ b/QTfrontend/teamselhelper.cpp	Fri Feb 23 12:30:38 2007 +0000
@@ -37,7 +37,8 @@
   mainLayout.setSpacing(1);
   mainLayout.setMargin(2);
   this->setMaximumHeight(35);
-  QIcon difficultyIcon=team.isNetTeam() ? QIcon(QString(":/res/net.png"))
+  QIcon difficultyIcon=team.isNetTeam() ? 
+    QIcon(QString(":/res/botlevels/net%1.png").arg(m_team.difficulty))
     : QIcon(QString(":/res/botlevels/%1.png").arg(m_team.difficulty));
 
   QPalette newPalette = palette();