QTfrontend/hwconsts.cpp.in
author unc0rr
Sat, 26 Apr 2008 18:21:03 +0000
changeset 877 ebb801acd8b9
parent 654 1019b8fa8638
child 907 a5b0b93a39c8
permissions -rw-r--r--
Try new approach for netserver
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
579
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
     1
/*
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
     2
 * Hedgewars, a worms-like game
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
     3
 * Copyright (c) 2007 Andrey Korotaev <unC0Rr@gmail.com>
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
     4
 *
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
     8
 *
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    12
 * GNU General Public License for more details.
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    13
 *
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    17
 */
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    18
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    19
#include "hwconsts.h"
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    20
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    21
QString * cProtoVer = new QString("${HEDGEWARS_PROTO_VER}");
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    22
QString * cDataDir = new QString("${HEDGEWARS_DATADIR}");
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    23
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    24
QDir * bindir = new QDir("${HEDGEWARS_BINDIR}");
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    25
QDir * cfgdir = new QDir();
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    26
QDir * datadir = new QDir();
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    27
94db15de0392 - Some changes to make build process clear
unc0rr
parents:
diff changeset
    28
QStringList * Themes;
607
26a91a9f5514 Now trainings can have custom ammostore
unc0rr
parents: 579
diff changeset
    29
608
05c140c8ec27 Oops, fix compile
unc0rr
parents: 607
diff changeset
    30
QString * cDefaultAmmoStore = new QString("eammstore 93919294221912103323");
616
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 608
diff changeset
    31
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 608
diff changeset
    32
QColor * color1 = new QColor(  0, 255, 255);
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 608
diff changeset
    33
QColor * color2 = new QColor(255, 127, 127);
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 608
diff changeset
    34
QColor * color3 = new QColor(103, 167, 231);
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 608
diff changeset
    35
QColor * color4 = new QColor( 37, 181,  61);
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 608
diff changeset
    36
QColor * color5 = new QColor(247, 237, 112);
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 608
diff changeset
    37
QColor * color6 = new QColor(192,  85, 160);
654
1019b8fa8638 Finish asking host/port dialog implementation
unc0rr
parents: 616
diff changeset
    38
1019b8fa8638 Finish asking host/port dialog implementation
unc0rr
parents: 616
diff changeset
    39
QString * netHost = new QString();
1019b8fa8638 Finish asking host/port dialog implementation
unc0rr
parents: 616
diff changeset
    40
quint16 netPort = 46631;