author | sheepluva |
Tue, 29 Mar 2011 21:10:35 +0200 | |
changeset 5067 | 57101536cf86 |
parent 4976 | 088d40d8aba2 |
child 5200 | 7440fe992e73 |
permissions | -rw-r--r-- |
583 | 1 |
/* |
1066 | 2 |
* Hedgewars, a free turn based strategy game |
4976 | 3 |
* Copyright (c) 2005-2011 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 |
||
3932 | 34 |
extern bool custom_config; |
35 |
extern bool custom_data; |
|
36 |
||
3865 | 37 |
extern int cMaxTeams; |
4973
53411a26df7e
Add server version (which is separate from protocol version) and a check in frontend for a new enough server (currently only qWarning)
unc0rr
parents:
4513
diff
changeset
|
38 |
extern int cMinServerVersion; |
3865 | 39 |
|
583 | 40 |
extern QStringList * Themes; |
1210 | 41 |
extern QStringList * mapList; |
4513
1dd97c710f5a
added general scripts to multiplayer and added option for scripts to allow user set schemes or weapon sets.
Henek
parents:
3932
diff
changeset
|
42 |
extern QStringList * scriptList; |
607 | 43 |
|
44 |
extern QString * cDefaultAmmoStore; |
|
2369
c3eb11f1ab3a
Implement probability editor for weapon schemes (engine doesn't support that yet)
unc0rr
parents:
1967
diff
changeset
|
45 |
extern int cAmmoNumber; |
1967 | 46 |
extern QList< QPair<QString, QString> > cDefaultAmmos; |
616 | 47 |
|
3876 | 48 |
extern QColor *colors[]; |
654 | 49 |
|
50 |
extern QString * netHost; |
|
51 |
extern quint16 netPort; |
|
1415
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1210
diff
changeset
|
52 |
|
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1210
diff
changeset
|
53 |
extern bool haveServer; |
3074 | 54 |
extern bool isDevBuild; |