QTfrontend/hwconsts.h.in
author unc0rr
Mon, 21 May 2007 15:42:21 +0000
changeset 516 f682e134ac2e
parent 486 7ea71cd3acd5
child 555 0376fdcc6322
permissions -rw-r--r--
Fix using parachute while staying on the ground
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
const char resolutions[2][4][5] =
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    23
{
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    24
	{"640", "800", "1024", "1280"},
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    25
	{"480", "600",  "768", "1024"}
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    26
};
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    27
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    28
extern QDir * cfgdir;
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    29
extern QDir * datadir;
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    30
extern QDir * bindir;
321
1148eeb0557e Oops, fix the build
unc0rr
parents: 277
diff changeset
    31
extern QStringList * Themes;
271
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    32
f2f9a3d5b441 Protocol version sets in CMake
unc0rr
parents:
diff changeset
    33
const QString cProtoVer("${HEDGEWARS_PROTO_VER}");