QTfrontend/hwconsts.h
changeset 7130 fcab1fd02bc6
parent 7007 0ccdff4ae8e9
child 7258 722e8a0d89dc
--- a/QTfrontend/hwconsts.h	Sat May 26 16:50:51 2012 -0400
+++ b/QTfrontend/hwconsts.h	Sun May 27 23:42:43 2012 +0400
@@ -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