QTfrontend/hwconsts.h
author koda
Tue, 30 Jun 2009 17:02:41 +0000
changeset 2216 82e7da49c26a
parent 1967 213d368a002f
child 2369 c3eb11f1ab3a
permissions -rw-r--r--
-Smaxx' patch: checks for initialized openal + disables sound options if openal init fails -other minor changes to lib
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
583
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
     1
/*
1066
1f1b3686a2b0 Update copyright headers a bit
unc0rr
parents: 907
diff changeset
     2
 * Hedgewars, a free turn based strategy game
883
07a568ba44e0 Update copyright info in source files headers
unc0rr
parents: 654
diff changeset
     3
 * Copyright (c) 2005-2008 Andrey Korotaev <unC0Rr@gmail.com>
583
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
     4
 *
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
     8
 *
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    12
 * GNU General Public License for more details.
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    13
 *
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    17
 */
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    18
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    19
#include <QString>
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    20
#include <QDir>
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    21
#include <QStringList>
616
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 607
diff changeset
    22
#include <QColor>
1967
213d368a002f Predefine some ammo schemes
unc0rr
parents: 1415
diff changeset
    23
#include <QPair>
583
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    24
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    25
extern QString * cProtoVer;
907
a5b0b93a39c8 Use constant generated by cmake for version string
unc0rr
parents: 883
diff changeset
    26
extern QString * cVersionString;
583
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    27
extern QString * cDataDir;
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    28
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    29
extern QDir * bindir;
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    30
extern QDir * cfgdir;
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    31
extern QDir * datadir;
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    32
f7bc4bee2850 Oops, forgot file
unc0rr
parents:
diff changeset
    33
extern QStringList * Themes;
1210
bfed1b89bc85 Add themes list to map selection widget
unc0rr
parents: 1066
diff changeset
    34
extern QStringList * mapList;
607
26a91a9f5514 Now trainings can have custom ammostore
unc0rr
parents: 583
diff changeset
    35
26a91a9f5514 Now trainings can have custom ammostore
unc0rr
parents: 583
diff changeset
    36
extern QString * cDefaultAmmoStore;
1967
213d368a002f Predefine some ammo schemes
unc0rr
parents: 1415
diff changeset
    37
extern QList< QPair<QString, QString> > cDefaultAmmos;
616
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 607
diff changeset
    38
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 607
diff changeset
    39
extern QColor * color1;
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 607
diff changeset
    40
extern QColor * color2;
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 607
diff changeset
    41
extern QColor * color3;
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 607
diff changeset
    42
extern QColor * color4;
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 607
diff changeset
    43
extern QColor * color5;
00928b3cf505 Use same team colors everywhere
unc0rr
parents: 607
diff changeset
    44
extern QColor * color6;
654
1019b8fa8638 Finish asking host/port dialog implementation
unc0rr
parents: 616
diff changeset
    45
1019b8fa8638 Finish asking host/port dialog implementation
unc0rr
parents: 616
diff changeset
    46
extern QString * netHost;
1019b8fa8638 Finish asking host/port dialog implementation
unc0rr
parents: 616
diff changeset
    47
extern quint16 netPort;
1415
6fbfee0e113a Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents: 1210
diff changeset
    48
6fbfee0e113a Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents: 1210
diff changeset
    49
extern bool haveServer;