equal
deleted
inserted
replaced
36 extern bool custom_data; |
36 extern bool custom_data; |
37 |
37 |
38 extern int cMaxTeams; |
38 extern int cMaxTeams; |
39 extern int cMinServerVersion; |
39 extern int cMinServerVersion; |
40 |
40 |
41 class QStringListModel; |
41 class QStandardItemModel; |
42 |
42 |
43 extern QString * cDefaultAmmoStore; |
43 extern QString * cDefaultAmmoStore; |
44 extern int cAmmoNumber; |
44 extern int cAmmoNumber; |
45 extern QList< QPair<QString, QString> > cDefaultAmmos; |
45 extern QList< QPair<QString, QString> > cDefaultAmmos; |
46 |
46 |
47 extern unsigned int colors[]; |
47 //extern unsigned int colors[]; |
|
48 extern QStandardItemModel * colorsModel; |
48 |
49 |
49 extern QString * netHost; |
50 extern QString * netHost; |
50 extern quint16 netPort; |
51 extern quint16 netPort; |
51 |
52 |
52 extern bool haveServer; |
53 extern bool haveServer; |
56 extern int season; |
57 extern int season; |
57 //On the day of hedgewars birthday (Oct 31st) this variable is assigned |
58 //On the day of hedgewars birthday (Oct 31st) this variable is assigned |
58 //with number of years past 2004 (foundation of hedgewars) |
59 //with number of years past 2004 (foundation of hedgewars) |
59 //Could be used to implement a text/graphic like "This is the xxth birthday of hedgewars" or similar |
60 //Could be used to implement a text/graphic like "This is the xxth birthday of hedgewars" or similar |
60 extern int years_since_foundation; |
61 extern int years_since_foundation; |
|
62 |
|
63 void hwConstsInit(); |
61 |
64 |
62 #endif |
65 #endif |
63 |
66 |
64 #define HEDGEHOGS_PER_TEAM 8 |
67 #define HEDGEHOGS_PER_TEAM 8 |
65 |
68 |