author | nemo |
Mon, 01 Mar 2010 00:19:23 +0000 | |
changeset 2892 | ac3b29b10bd9 |
parent 2428 | 6800f8aa0184 |
child 3074 | 271cfcb2bcda |
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; |
2428 | 28 |
extern QString * cConfigDir; |
583 | 29 |
|
30 |
extern QDir * bindir; |
|
31 |
extern QDir * cfgdir; |
|
32 |
extern QDir * datadir; |
|
33 |
||
34 |
extern QStringList * Themes; |
|
1210 | 35 |
extern QStringList * mapList; |
607 | 36 |
|
37 |
extern QString * cDefaultAmmoStore; |
|
2369
c3eb11f1ab3a
Implement probability editor for weapon schemes (engine doesn't support that yet)
unc0rr
parents:
1967
diff
changeset
|
38 |
extern int cAmmoNumber; |
1967 | 39 |
extern QList< QPair<QString, QString> > cDefaultAmmos; |
616 | 40 |
|
41 |
extern QColor * color1; |
|
42 |
extern QColor * color2; |
|
43 |
extern QColor * color3; |
|
44 |
extern QColor * color4; |
|
45 |
extern QColor * color5; |
|
46 |
extern QColor * color6; |
|
654 | 47 |
|
48 |
extern QString * netHost; |
|
49 |
extern quint16 netPort; |
|
1415
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1210
diff
changeset
|
50 |
|
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1210
diff
changeset
|
51 |
extern bool haveServer; |