--- a/QTfrontend/hwconsts.h Wed May 23 22:46:37 2012 +0200
+++ b/QTfrontend/hwconsts.h Tue May 29 22:33:10 2012 +0200
@@ -38,13 +38,14 @@
extern int cMaxTeams;
extern int cMinServerVersion;
-class QStringListModel;
+class QStandardItemModel;
extern QString * cDefaultAmmoStore;
extern int cAmmoNumber;
extern QList< QPair<QString, QString> > cDefaultAmmos;
-extern unsigned int colors[];
+//extern unsigned int colors[];
+extern QStandardItemModel * colorsModel;
extern QString * netHost;
extern quint16 netPort;
@@ -59,6 +60,8 @@
//Could be used to implement a text/graphic like "This is the xxth birthday of hedgewars" or similar
extern int years_since_foundation;
+void hwConstsInit();
+
#endif
#define HEDGEHOGS_PER_TEAM 8