author | nemo |
Wed, 03 Jun 2009 00:35:23 +0000 | |
changeset 2147 | ffa64983dc07 |
parent 2093 | 485e084cedc4 |
child 2177 | c045698e044f |
permissions | -rw-r--r-- |
579 | 1 |
/* |
1066 | 2 |
* Hedgewars, a free turn based strategy game |
1967 | 3 |
* Copyright (c) 2007-2009 Andrey Korotaev <unC0Rr@gmail.com> |
579 | 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 "hwconsts.h" |
|
20 |
||
21 |
QString * cProtoVer = new QString("${HEDGEWARS_PROTO_VER}"); |
|
22 |
QString * cDataDir = new QString("${HEDGEWARS_DATADIR}"); |
|
907 | 23 |
QString * cVersionString = new QString("${HEDGEWARS_VERSION}"); |
579 | 24 |
|
25 |
QDir * bindir = new QDir("${HEDGEWARS_BINDIR}"); |
|
26 |
QDir * cfgdir = new QDir(); |
|
27 |
QDir * datadir = new QDir(); |
|
28 |
||
29 |
QStringList * Themes; |
|
1210 | 30 |
QStringList * mapList; |
607 | 31 |
|
2093
485e084cedc4
Portugese (european) translation, Tiy's "minefield" scheme/wepset, disable vampirism, update translations
nemo
parents:
2023
diff
changeset
|
32 |
QString * cDefaultAmmoStore = new QString("93919294221991210322351110012010000002"); |
1967 | 33 |
QList< QPair<QString, QString> > cDefaultAmmos = |
34 |
QList< QPair<QString, QString> >() |
|
35 |
<< qMakePair(QString("Default"), *cDefaultAmmoStore) |
|
2023
41d3afaa20c7
Artillery mode, sniper rifle, speech bubble tweaks, fix of rope bug introduced by enabling hats in jump
nemo
parents:
2017
diff
changeset
|
36 |
<< qMakePair(QString("Crazy"), QString("99999999999999999929999999999999992999")) |
41d3afaa20c7
Artillery mode, sniper rifle, speech bubble tweaks, fix of rope bug introduced by enabling hats in jump
nemo
parents:
2017
diff
changeset
|
37 |
<< qMakePair(QString("Pro mode"), QString("90900090000000000000090000000000000000")) |
41d3afaa20c7
Artillery mode, sniper rifle, speech bubble tweaks, fix of rope bug introduced by enabling hats in jump
nemo
parents:
2017
diff
changeset
|
38 |
<< qMakePair(QString("Shoppa"), QString("00000099000000000000000000000000000000")) |
41d3afaa20c7
Artillery mode, sniper rifle, speech bubble tweaks, fix of rope bug introduced by enabling hats in jump
nemo
parents:
2017
diff
changeset
|
39 |
<< qMakePair(QString("Basketball"),QString("00000090000009000000000000000000000000")) |
2093
485e084cedc4
Portugese (european) translation, Tiy's "minefield" scheme/wepset, disable vampirism, update translations
nemo
parents:
2023
diff
changeset
|
40 |
<< qMakePair(QString("Minefield"),QString("00000099000900000003000000000000000000")) |
1967 | 41 |
; |
616 | 42 |
|
1514 | 43 |
QColor * color1 = new QColor(221, 0, 0); |
44 |
QColor * color2 = new QColor( 67, 118, 233); |
|
45 |
QColor * color3 = new QColor( 62, 147, 33); |
|
46 |
QColor * color4 = new QColor(162, 61, 187); |
|
47 |
QColor * color5 = new QColor(255, 147, 41); |
|
48 |
QColor * color6 = new QColor(115, 115, 115); |
|
654 | 49 |
|
50 |
QString * netHost = new QString(); |
|
51 |
quint16 netPort = 46631; |
|
1415
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1263
diff
changeset
|
52 |
|
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1263
diff
changeset
|
53 |
bool haveServer = ${HAVE_NETSERVER}; |