--- a/CMakeLists.txt Fri Feb 23 13:31:11 2007 +0000
+++ b/CMakeLists.txt Fri Feb 23 14:24:32 2007 +0000
@@ -9,7 +9,7 @@
endif(DEFINED DATA_INSTALL_DIR)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
-set(HEDGEWARS_PROTO_VER 3)
+set(HEDGEWARS_PROTO_VER 4)
add_subdirectory(bin)
add_subdirectory(QTfrontend)
--- a/QTfrontend/SquareLabel.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/SquareLabel.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2006, 2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/about.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/about.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2006, 2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/binds.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/binds.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2005, 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2005, 2006, 2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/chatwidget.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/chatwidget.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Igor Ulyanov <iulyanov@gmail.com>
+ * Copyright (c) 2007 Igor Ulyanov <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/chatwidget.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/chatwidget.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Igor Ulyanov <iulyanov@gmail.com>
+ * Copyright (c) 2007 Igor Ulyanov <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/frameTeam.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/frameTeam.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Ulyanov Igor <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Ulyanov Igor <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/frameTeam.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/frameTeam.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Ulyanov Igor <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Ulyanov Igor <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/game.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/game.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2005, 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2005-2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/game.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/game.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2005, 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2005-2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/gamecfgwidget.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/gamecfgwidget.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2006, 2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -72,7 +72,7 @@
connect(SB_InitHealth, SIGNAL(valueChanged(int)), this, SLOT(onInitHealthChanged(int)));
connect(SB_TurnTime, SIGNAL(valueChanged(int)), this, SLOT(onTurnTimeChanged(int)));
connect(CB_mode_Forts, SIGNAL(toggled(bool)), this, SLOT(onFortsModeChanged(bool)));
-
+
connect(pMapContainer, SIGNAL(seedChanged(const QString &)), this, SLOT(onSeedChanged(const QString &)));
connect(pMapContainer, SIGNAL(themeChanged(const QString &)), this, SLOT(onThemeChanged(const QString &)));
connect(pMapContainer, SIGNAL(mapChanged(const QString &)), this, SLOT(onMapChanged(const QString &)));
--- a/QTfrontend/gamecfgwidget.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/gamecfgwidget.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2006, 2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/gameuiconfig.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/gameuiconfig.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2006, 2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/gameuiconfig.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/gameuiconfig.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2006, 2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/hedgehogerWidget.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/hedgehogerWidget.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Ulyanov Igor <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Ulyanov Igor <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/hedgehogerWidget.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/hedgehogerWidget.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Ulyanov Igor <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Ulyanov Igor <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -40,7 +40,7 @@
protected:
virtual void paintEvent(QPaintEvent* event);
virtual void mousePressEvent ( QMouseEvent * event );
-
+
private:
CHedgehogerWidget();
unsigned char numHedgehogs;
--- a/QTfrontend/hwconsts.h.in Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/hwconsts.h.in Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2005, 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2005-2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/hwform.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/hwform.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2005, 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2005-2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/hwform.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/hwform.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2005, 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2005-2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/hwmap.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/hwmap.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Igor Ulyanov <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Igor Ulyanov <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@
{
}
-void HWMap::getImage(std::string seed)
+void HWMap::getImage(std::string seed)
{
m_seed=seed;
Start();
--- a/QTfrontend/main.cpp.in Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/main.cpp.in Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2005, 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2005-2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/mapContainer.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/mapContainer.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Igor Ulyanov <iulyanov@gmail.com>
+ * Copyright (c) 2006-2007 Igor Ulyanov <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/mapContainer.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/mapContainer.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Igor Ulyanov <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Igor Ulyanov <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/netserver.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/netserver.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Ulyanov Igor <iulyanov@gmail.com>
+ * Copyright (c) 2006-2007 Ulyanov Igor <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/netserver.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/netserver.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Igor Ulyanov <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Igor Ulyanov <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/netudpserver.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/netudpserver.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,3 +1,21 @@
+/*
+ * Hedgewars, a worms-like game
+ * Copyright (c) 2007 Ulyanov Igor <iulyanov@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ */
+
#include <QUdpSocket>
#include "netudpserver.h"
@@ -9,7 +27,7 @@
pUdpSocket->bind(46631);
connect(pUdpSocket, SIGNAL(readyRead()), this, SLOT(onClientRead()));
-
+
}
void HWNetUdpServer::onClientRead()
--- a/QTfrontend/netudpserver.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/netudpserver.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,3 +1,21 @@
+/*
+ * Hedgewars, a worms-like game
+ * Copyright (c) 2007 Igor Ulyanov <iulyanov@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ */
+
#ifndef _NET_UDPSERVER_INCLUDED
#define _NET_UDPSERVER_INCLUDED
--- a/QTfrontend/netudpwidget.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/netudpwidget.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,3 +1,21 @@
+/*
+ * Hedgewars, a worms-like game
+ * Copyright (c) 2007 Ulyanov Igor <iulyanov@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ */
+
#include <QUdpSocket>
#include <QListWidget>
--- a/QTfrontend/netudpwidget.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/netudpwidget.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,3 +1,21 @@
+/*
+ * Hedgewars, a worms-like game
+ * Copyright (c) 2007 Igor Ulyanov <iulyanov@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ */
+
#ifndef _NET_UDPWIDGET_INCLUDED
#define _NET_UDPWIDGET_INCLUDED
--- a/QTfrontend/newnetclient.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/newnetclient.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Ulyanov Igor <iulyanov@gmail.com>
+ * Copyright (c) 2006-2007 Ulyanov Igor <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/newnetclient.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/newnetclient.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Ulyanov Igor <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Ulyanov Igor <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/pages.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/pages.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2006, 2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/pages.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/pages.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2006, 2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/tcpBase.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/tcpBase.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Igor Ulyanov <iulyanov@gmail.com>
+ * Copyright (c) 2006-2007 Igor Ulyanov <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/tcpBase.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/tcpBase.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Igor Ulyanov <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Igor Ulyanov <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/team.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/team.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2005, 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2005-2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/team.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/team.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,7 @@
/*
* Hedgewars, a worms-like game
* Copyright (c) 2005 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2007 Igor Ulyanov <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/teamselect.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/teamselect.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Ulyanov Igor <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Ulyanov Igor <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,9 +33,9 @@
curPlayingTeams.push_back(team);
connect(framePlaying->getTeamWidget(team), SIGNAL(teamStatusChanged(HWTeam)),
this, SLOT(netTeamStatusChanged(const HWTeam&)));
- connect(framePlaying->getTeamWidget(team), SIGNAL(hhNmChanged(const HWTeam&)),
+ connect(framePlaying->getTeamWidget(team), SIGNAL(hhNmChanged(const HWTeam&)),
this, SLOT(hhNumChanged(const HWTeam&)));
- connect(framePlaying->getTeamWidget(team), SIGNAL(teamColorChanged(const HWTeam&)),
+ connect(framePlaying->getTeamWidget(team), SIGNAL(teamColorChanged(const HWTeam&)),
this, SLOT(proxyTeamColorChanged(const HWTeam&)));
} else {
frameDontPlaying->addTeam(team, false);
@@ -104,7 +104,7 @@
void TeamSelWidget::netTeamStatusChanged(const HWTeam& team)
{
QList<HWTeam>::iterator itPlay=std::find(curPlayingTeams.begin(), curPlayingTeams.end(), team);
-
+
}
//void TeamSelWidget::removeTeam(__attribute__ ((unused)) HWTeam team)
@@ -155,9 +155,9 @@
this, SLOT(changeTeamStatus(HWTeam)));
}
if(willBePlaying) {
- connect(framePlaying->getTeamWidget(team), SIGNAL(hhNmChanged(const HWTeam&)),
+ connect(framePlaying->getTeamWidget(team), SIGNAL(hhNmChanged(const HWTeam&)),
this, SLOT(hhNumChanged(const HWTeam&)));
- connect(framePlaying->getTeamWidget(team), SIGNAL(teamColorChanged(const HWTeam&)),
+ connect(framePlaying->getTeamWidget(team), SIGNAL(teamColorChanged(const HWTeam&)),
this, SLOT(proxyTeamColorChanged(const HWTeam&)));
emit teamColorChanged(((TeamShowWidget*)framePlaying->getTeamWidget(team))->getTeam());
}
--- a/QTfrontend/teamselect.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/teamselect.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Ulyanov Igor <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Ulyanov Igor <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/teamselhelper.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/teamselhelper.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Ulyanov Igor <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Ulyanov Igor <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,13 +31,13 @@
}
TeamShowWidget::TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent) :
- QWidget(parent), mainLayout(this), m_team(team), m_isPlaying(isPlaying), phhoger(0),
+ QWidget(parent), mainLayout(this), m_team(team), m_isPlaying(isPlaying), phhoger(0),
colorButt(0)
{
mainLayout.setSpacing(1);
mainLayout.setMargin(2);
this->setMaximumHeight(35);
- QIcon difficultyIcon=team.isNetTeam() ?
+ 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));
@@ -123,7 +123,7 @@
color=*pOurFrameTeams->currentColor;
} else {
// set according color iterator
- pOurFrameTeams->currentColor=std::find(pOurFrameTeams->availableColors.begin(),
+ pOurFrameTeams->currentColor=std::find(pOurFrameTeams->availableColors.begin(),
pOurFrameTeams->availableColors.end(), color);
if(pOurFrameTeams->currentColor==pOurFrameTeams->availableColors.end()) {
// error condition
--- a/QTfrontend/teamselhelper.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/teamselhelper.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Ulyanov Igor <iulyanov@gmail.com>
+ * Copyright (c) 2006, 2007 Ulyanov Igor <iulyanov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/ui_hwform.cpp Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/ui_hwform.cpp Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2006, 2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- a/QTfrontend/ui_hwform.h Fri Feb 23 13:31:11 2007 +0000
+++ b/QTfrontend/ui_hwform.h Fri Feb 23 14:24:32 2007 +0000
@@ -1,6 +1,6 @@
/*
* Hedgewars, a worms-like game
- * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2006, 2007 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by