author | Henek |
Sat, 18 Sep 2010 21:30:36 +0200 | |
changeset 3879 | a566d33b2856 |
parent 3876 | 3dd031a8b395 |
child 3932 | 2fc211f60015 |
permissions | -rw-r--r-- |
583 | 1 |
/* |
1066 | 2 |
* Hedgewars, a free turn based strategy game |
3236
4ab3917d7d44
Update (c) lines to 2010 as unc0rr requested - they all had varying values so I just took the first year mentioned, then tacked on -2010
nemo
parents:
3074
diff
changeset
|
3 |
* Copyright (c) 2005-2010 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 |
||
3865 | 34 |
extern int cMaxTeams; |
35 |
||
583 | 36 |
extern QStringList * Themes; |
1210 | 37 |
extern QStringList * mapList; |
607 | 38 |
|
39 |
extern QString * cDefaultAmmoStore; |
|
2369
c3eb11f1ab3a
Implement probability editor for weapon schemes (engine doesn't support that yet)
unc0rr
parents:
1967
diff
changeset
|
40 |
extern int cAmmoNumber; |
1967 | 41 |
extern QList< QPair<QString, QString> > cDefaultAmmos; |
616 | 42 |
|
3876 | 43 |
extern QColor *colors[]; |
654 | 44 |
|
45 |
extern QString * netHost; |
|
46 |
extern quint16 netPort; |
|
1415
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1210
diff
changeset
|
47 |
|
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1210
diff
changeset
|
48 |
extern bool haveServer; |
3074 | 49 |
extern bool isDevBuild; |