QTfrontend/predefteams.h
author unc0rr
Wed, 26 Jul 2006 12:25:48 +0000
changeset 87 ff213e443336
parent 86 664b536a1c27
child 88 6740a1c4edc9
permissions -rw-r--r--
Convert all pages to classes
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
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    39
#define PREDEFTEAMS_COUNT 2
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;
ff213e443336 Convert all pages to classes
unc0rr
parents: 86
diff changeset
    46
	const char *  hh2name;
ff213e443336 Convert all pages to classes
unc0rr
parents: 86
diff changeset
    47
	const char *  hh3name;
ff213e443336 Convert all pages to classes
unc0rr
parents: 86
diff changeset
    48
	const char *  hh4name;
ff213e443336 Convert all pages to classes
unc0rr
parents: 86
diff changeset
    49
	const char *  hh5name;
ff213e443336 Convert all pages to classes
unc0rr
parents: 86
diff changeset
    50
	const char *  hh6name;
ff213e443336 Convert all pages to classes
unc0rr
parents: 86
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
	{
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    60
		QT_TR_NOOP("Hedgehogs"),
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    61
		QT_TR_NOOP("hedgehog 1"), QT_TR_NOOP("hedgehog 2"),
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    62
		QT_TR_NOOP("hedgehog 3"), QT_TR_NOOP("hedgehog 4"),
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    63
		QT_TR_NOOP("hedgehog 5"), QT_TR_NOOP("hedgehog 6"),
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    64
		QT_TR_NOOP("hedgehog 7"), QT_TR_NOOP("hedgehog 8"),
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    65
		"Simple", "Island"
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    66
	},
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    67
	{
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    68
		QT_TR_NOOP("Goddess"),
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    69
		QT_TR_NOOP("Isis"), QT_TR_NOOP("Astarte"),
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    70
		QT_TR_NOOP("Diana"), QT_TR_NOOP("Aphrodite"),
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    71
		QT_TR_NOOP("Hecate"), QT_TR_NOOP("Demeter"),
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    72
		QT_TR_NOOP("Kali"), QT_TR_NOOP("Inanna"),
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    73
		"Bone", "Island"
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    74
	}
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    75
};
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    76
664b536a1c27 Predefined teams, 'simple game' doesn't need to create team
unc0rr
parents:
diff changeset
    77
#endif // PREDEFTEAMS_H