author | unc0rr |
Wed, 12 Aug 2009 12:53:05 +0000 | |
changeset 2307 | b20830087ed1 |
parent 1967 | 213d368a002f |
child 2369 | c3eb11f1ab3a |
permissions | -rw-r--r-- |
583 | 1 |
/* |
1066 | 2 |
* Hedgewars, a free turn based strategy game |
883 | 3 |
* Copyright (c) 2005-2008 Andrey Korotaev <unC0Rr@gmail.com> |
583 | 4 |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
|
17 |
*/ |
|
18 |
||
19 |
#include <QString> |
|
20 |
#include <QDir> |
|
21 |
#include <QStringList> |
|
616 | 22 |
#include <QColor> |
1967 | 23 |
#include <QPair> |
583 | 24 |
|
25 |
extern QString * cProtoVer; |
|
907 | 26 |
extern QString * cVersionString; |
583 | 27 |
extern QString * cDataDir; |
28 |
||
29 |
extern QDir * bindir; |
|
30 |
extern QDir * cfgdir; |
|
31 |
extern QDir * datadir; |
|
32 |
||
33 |
extern QStringList * Themes; |
|
1210 | 34 |
extern QStringList * mapList; |
607 | 35 |
|
36 |
extern QString * cDefaultAmmoStore; |
|
1967 | 37 |
extern QList< QPair<QString, QString> > cDefaultAmmos; |
616 | 38 |
|
39 |
extern QColor * color1; |
|
40 |
extern QColor * color2; |
|
41 |
extern QColor * color3; |
|
42 |
extern QColor * color4; |
|
43 |
extern QColor * color5; |
|
44 |
extern QColor * color6; |
|
654 | 45 |
|
46 |
extern QString * netHost; |
|
47 |
extern quint16 netPort; |
|
1415
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1210
diff
changeset
|
48 |
|
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1210
diff
changeset
|
49 |
extern bool haveServer; |