QTfrontend/hwconsts.h.in
author unc0rr
Thu, 12 Jul 2007 14:44:41 +0000
changeset 555 0376fdcc6322
parent 486 7ea71cd3acd5
permissions -rw-r--r--
Get possible screen resolutions from SDL library
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
271
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
     1
/*
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
     2
 * Hedgewars, a worms-like game
486
7ea71cd3acd5 - Change proto version to 4
unc0rr
parents: 321
diff changeset
     3
 * Copyright (c) 2005-2007 Andrey Korotaev <unC0Rr@gmail.com>
271
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
     4
 *
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
     8
 *
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    12
 * GNU General Public License for more details.
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    13
 *
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    17
 */
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    18
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    19
#include <QDir>
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    20
#include <QString>
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    21
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    22
extern QDir * cfgdir;
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    23
extern QDir * datadir;
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    24
extern QDir * bindir;
321
1148eeb0557e Oops, fix the build
unc0rr
parents: 277
diff changeset
    25
extern QStringList * Themes;
271
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    26
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    27
const QString cProtoVer("${HEDGEWARS_PROTO_VER}");