QTfrontend/hwconsts.cpp.in
changeset 5201 7b9aa7aac336
parent 5200 7440fe992e73
child 5289 9d18b61bd3eb
--- a/QTfrontend/hwconsts.cpp.in	Tue May 03 23:16:47 2011 +0200
+++ b/QTfrontend/hwconsts.cpp.in	Wed May 04 01:19:39 2011 +0200
@@ -64,20 +64,10 @@
             AMMOLINE_PORTALS_DELAY AMMOLINE_PORTALS_CRATE ))
         ;
 
-QColor *colors[] = {
-                    new QColor(221,   0,   0), // classic red
-                    new QColor( 51, 102, 217), // dark blue
-                    new QColor( 62, 147,  33), // classic green
-                    new QColor(162,  61, 187), // classic purple
-                    new QColor(255, 255,  0), // yellow
-                    new QColor(115, 115, 115), // classic gray
-                    new QColor(0, 255, 255),   // cyan
-                    new QColor(255, 136, 136), // peach
-                    // add new colors here
-                    0};
+unsigned int colors[] = HW_TEAMCOLOR_ARRAY;
 
 QString * netHost = new QString();
-quint16 netPort = 46631;
+quint16 netPort = NETGAME_DEFAULT_PORT;
 
 bool haveServer = ${HAVE_NETSERVER};
 bool isDevBuild = ${HW_DEV};