equal
deleted
inserted
replaced
18 |
18 |
19 #if !defined(TARGET_OS_IPHONE) |
19 #if !defined(TARGET_OS_IPHONE) |
20 #include <QString> |
20 #include <QString> |
21 #include <QDir> |
21 #include <QDir> |
22 #include <QStringList> |
22 #include <QStringList> |
23 #include <QColor> |
|
24 #include <QPair> |
23 #include <QPair> |
25 |
24 |
26 extern QString * cProtoVer; |
25 extern QString * cProtoVer; |
27 extern QString * cVersionString; |
26 extern QString * cVersionString; |
28 extern QString * cDataDir; |
27 extern QString * cDataDir; |
44 |
43 |
45 extern QString * cDefaultAmmoStore; |
44 extern QString * cDefaultAmmoStore; |
46 extern int cAmmoNumber; |
45 extern int cAmmoNumber; |
47 extern QList< QPair<QString, QString> > cDefaultAmmos; |
46 extern QList< QPair<QString, QString> > cDefaultAmmos; |
48 |
47 |
49 extern QColor *colors[]; |
48 extern unsigned int colors[]; |
50 |
49 |
51 extern QString * netHost; |
50 extern QString * netHost; |
52 extern quint16 netPort; |
51 extern quint16 netPort; |
53 |
52 |
54 extern bool haveServer; |
53 extern bool haveServer; |
89 #define AMMOLINE_PORTALS_QT "900000900200000000210000000000000011000009000000000000" |
88 #define AMMOLINE_PORTALS_QT "900000900200000000210000000000000011000009000000000000" |
90 #define AMMOLINE_PORTALS_PROB "040504054160065554655446477657666666615551010111541111" |
89 #define AMMOLINE_PORTALS_PROB "040504054160065554655446477657666666615551010111541111" |
91 #define AMMOLINE_PORTALS_DELAY "000000000000020550000004000700400000000020000000060000" |
90 #define AMMOLINE_PORTALS_DELAY "000000000000020550000004000700400000000020000000060000" |
92 #define AMMOLINE_PORTALS_CRATE "131111031211111112311411111111111111121111110111111111" |
91 #define AMMOLINE_PORTALS_CRATE "131111031211111112311411111111111111121111110111111111" |
93 |
92 |
|
93 |
|
94 #define NETGAME_DEFAULT_PORT 46631 |
|
95 |
|
96 |
|
97 // see http://en.wikipedia.org/wiki/List_of_colors |
|
98 #define HW_TEAMCOLOR_ARRAY { 0xff007fff, /* azure */ \ |
|
99 0xffdd0000, /* classic red */ \ |
|
100 0xff3e9321, /* classic green */ \ |
|
101 0xffa23dbb, /* classic purple */ \ |
|
102 0xffffb347, /* pastel orange */ \ |
|
103 0xffcfcfc4, /* pastel gray */ \ |
|
104 0xffbff000, /* lime */ \ |
|
105 0xffffef00, /* yellow */ \ |
|
106 /* add new colors here */ \ |
|
107 0 } |