QTfrontend/hwconsts.cpp.in
author unc0rr
Fri, 31 Oct 2008 13:02:04 +0000
changeset 1438 b1cb4381a1e0
parent 1430 8b192c18a584
child 1507 d18c67b7ad4c
permissions -rw-r--r--
- Make disbled controls look better - Update sprites

/*
 * Hedgewars, a free turn based strategy game
 * Copyright (c) 2007, 2008 Andrey Korotaev <unC0Rr@gmail.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 */

#include "hwconsts.h"

QString * cProtoVer = new QString("${HEDGEWARS_PROTO_VER}");
QString * cDataDir = new QString("${HEDGEWARS_DATADIR}");
QString * cVersionString = new QString("${HEDGEWARS_VERSION}");

QDir * bindir = new QDir("${HEDGEWARS_BINDIR}");
QDir * cfgdir = new QDir();
QDir * datadir = new QDir();

QStringList * Themes;
QStringList * mapList;

QString * cDefaultAmmoStore = new QString("eammstore 939192942219912103223511100");

QColor * color1 = new QColor(  0, 255, 255);
QColor * color2 = new QColor(255, 127, 127);
QColor * color3 = new QColor(103, 167, 231);
QColor * color4 = new QColor( 37, 181,  61);
QColor * color5 = new QColor(247, 237, 112);
QColor * color6 = new QColor(192,  85, 160);

QString * netHost = new QString();
quint16 netPort = 46631;

bool haveServer = ${HAVE_NETSERVER};