QTfrontend/predefteams.h
author unc0rr
Tue, 26 Sep 2006 20:25:42 +0000
changeset 173 004493dd60e4
parent 97 e7c1df9cce2c
child 183 57c2ef19f719
permissions -rw-r--r--
- Better landgen - Small fixes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
86
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
     1
/*
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
     2
 * Hedgewars, a worms-like game
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
     3
 * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
     4
 *
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
     5
 * Distributed under the terms of the BSD-modified licence:
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
     6
 *
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
     7
 * Permission is hereby granted, free of charge, to any person obtaining a copy
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
     8
 * of this software and associated documentation files (the "Software"), to deal
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
     9
 * with the Software without restriction, including without limitation the
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    10
 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    11
 * sell copies of the Software, and to permit persons to whom the Software is
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    12
 * furnished to do so, subject to the following conditions:
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    13
 *
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    14
 * 1. Redistributions of source code must retain the above copyright notice,
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    15
 *    this list of conditions and the following disclaimer.
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    16
 * 2. Redistributions in binary form must reproduce the above copyright notice,
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    17
 *    this list of conditions and the following disclaimer in the documentation
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    18
 *    and/or other materials provided with the distribution.
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    19
 * 3. The name of the author may not be used to endorse or promote products
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    20
 *    derived from this software without specific prior written permission.
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    21
 *
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    22
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    23
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    24
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    25
 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    26
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    27
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    28
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    29
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    30
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    31
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    32
 */
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    33
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    34
#ifndef PREDEFTEAMS_H
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    35
#define PREDEFTEAMS_H
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    36
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    37
#include <QtGlobal>
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    38
97
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    39
#define PREDEFTEAMS_COUNT 3
86
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    40
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    41
struct PredefinedTeam
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    42
{
87
ff213e443336 Convert all pages to classes
unc0rr
parents: 86
diff changeset
    43
	const char * TeamName;
ff213e443336 Convert all pages to classes
unc0rr
parents: 86
diff changeset
    44
	const char * hh0name;
ff213e443336 Convert all pages to classes
unc0rr
parents: 86
diff changeset
    45
	const char * hh1name;
97
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    46
	const char * hh2name;
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    47
	const char * hh3name;
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    48
	const char * hh4name;
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    49
	const char * hh5name;
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    50
	const char * hh6name;
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    51
	const char * hh7name;
86
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    52
	QString Grave;
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    53
	QString Fort;
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    54
};
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    55
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    56
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    57
const PredefinedTeam pteams[PREDEFTEAMS_COUNT] =
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    58
{
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    59
	{
88
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    60
		QT_TRANSLATE_NOOP("teams", "Hedgehogs"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    61
		QT_TRANSLATE_NOOP("teams", "hedgehog 1"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    62
		QT_TRANSLATE_NOOP("teams", "hedgehog 2"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    63
		QT_TRANSLATE_NOOP("teams", "hedgehog 3"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    64
		QT_TRANSLATE_NOOP("teams", "hedgehog 4"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    65
		QT_TRANSLATE_NOOP("teams", "hedgehog 5"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    66
		QT_TRANSLATE_NOOP("teams", "hedgehog 6"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    67
		QT_TRANSLATE_NOOP("teams", "hedgehog 7"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    68
		QT_TRANSLATE_NOOP("teams", "hedgehog 8"),
86
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    69
		"Simple", "Island"
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    70
	},
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    71
	{
88
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    72
		QT_TRANSLATE_NOOP("teams", "Goddess"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    73
		QT_TRANSLATE_NOOP("teams", "Isis"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    74
		QT_TRANSLATE_NOOP("teams", "Astarte"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    75
		QT_TRANSLATE_NOOP("teams", "Diana"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    76
		QT_TRANSLATE_NOOP("teams", "Aphrodite"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    77
		QT_TRANSLATE_NOOP("teams", "Hecate"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    78
		QT_TRANSLATE_NOOP("teams", "Demeter"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    79
		QT_TRANSLATE_NOOP("teams", "Kali"),
6740a1c4edc9 - Fix internationalization issues
unc0rr
parents: 87
diff changeset
    80
		QT_TRANSLATE_NOOP("teams", "Inanna"),
86
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    81
		"Bone", "Island"
97
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    82
	},
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    83
	{
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    84
		QT_TRANSLATE_NOOP("teams", "Fruits"),
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    85
		QT_TRANSLATE_NOOP("teams", "Banana"),
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    86
		QT_TRANSLATE_NOOP("teams", "Apple"),
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    87
		QT_TRANSLATE_NOOP("teams", "Orange"),
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    88
		QT_TRANSLATE_NOOP("teams", "Lemon"),
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    89
		QT_TRANSLATE_NOOP("teams", "Pineapple"),
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    90
		QT_TRANSLATE_NOOP("teams", "Mango"),
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    91
		QT_TRANSLATE_NOOP("teams", "Peach"),
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    92
		QT_TRANSLATE_NOOP("teams", "Plum"),
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 88
diff changeset
    93
		"coffin", "Barrelhouse"
86
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    94
	}
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    95
};
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    96
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    97
#endif // PREDEFTEAMS_H