QTfrontend/predefteams.h
author unc0rr
Tue, 04 Nov 2008 22:49:13 +0000
changeset 1475 bab5650fc894
parent 1293 5943efa67299
child 2655 3a4a73893da5
permissions -rw-r--r--
- Fix ConfigAsked not sending full config (leads to team divide checkbox inconsistency) - Allow getting back from non-interactive mode
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     1
/*
1066
1f1b3686a2b0 Update copyright headers a bit
unc0rr
parents: 184
diff changeset
     2
 * Hedgewars, a free turn based strategy game
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     3
 * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     4
 *
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     8
 *
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    12
 * GNU General Public License for more details.
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    13
 *
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    14
 * You should have received a copy of the GNU General Public License
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    15
 * along with this program; if not, write to the Free Software
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    17
 */
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    18
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    19
#ifndef PREDEFTEAMS_H
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    20
#define PREDEFTEAMS_H
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    21
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    22
#include <QtGlobal>
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    23
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    24
#define PREDEFTEAMS_COUNT 3
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    25
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    26
struct PredefinedTeam
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    27
{
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    28
	const char * TeamName;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    29
	const char * hh0name;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    30
	const char * hh1name;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    31
	const char * hh2name;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    32
	const char * hh3name;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    33
	const char * hh4name;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    34
	const char * hh5name;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    35
	const char * hh6name;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    36
	const char * hh7name;
1293
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    37
	const char * hh0hat;
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    38
	const char * hh1hat;
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    39
	const char * hh2hat;
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    40
	const char * hh3hat;
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    41
	const char * hh4hat;
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    42
	const char * hh5hat;
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    43
	const char * hh6hat;
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    44
	const char * hh7hat;
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    45
	QString Grave;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    46
	QString Fort;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    47
};
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    48
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    49
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    50
const PredefinedTeam pteams[PREDEFTEAMS_COUNT] =
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    51
{
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    52
	{
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    53
		QT_TRANSLATE_NOOP("teams", "Hedgehogs"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    54
		QT_TRANSLATE_NOOP("teams", "hedgehog 1"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    55
		QT_TRANSLATE_NOOP("teams", "hedgehog 2"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    56
		QT_TRANSLATE_NOOP("teams", "hedgehog 3"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    57
		QT_TRANSLATE_NOOP("teams", "hedgehog 4"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    58
		QT_TRANSLATE_NOOP("teams", "hedgehog 5"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    59
		QT_TRANSLATE_NOOP("teams", "hedgehog 6"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    60
		QT_TRANSLATE_NOOP("teams", "hedgehog 7"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    61
		QT_TRANSLATE_NOOP("teams", "hedgehog 8"),
1293
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    62
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    63
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    64
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    65
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    66
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    67
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    68
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    69
		"NoHat",
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    70
		"Simple", "Island"
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    71
	},
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    72
	{
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    73
		QT_TRANSLATE_NOOP("teams", "Goddess"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    74
		QT_TRANSLATE_NOOP("teams", "Isis"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    75
		QT_TRANSLATE_NOOP("teams", "Astarte"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    76
		QT_TRANSLATE_NOOP("teams", "Diana"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    77
		QT_TRANSLATE_NOOP("teams", "Aphrodite"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    78
		QT_TRANSLATE_NOOP("teams", "Hecate"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    79
		QT_TRANSLATE_NOOP("teams", "Demeter"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    80
		QT_TRANSLATE_NOOP("teams", "Kali"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    81
		QT_TRANSLATE_NOOP("teams", "Inanna"),
1293
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    82
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    83
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    84
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    85
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    86
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    87
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    88
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
    89
		"NoHat",
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    90
		"Bone", "Island"
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    91
	},
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    92
	{
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    93
		QT_TRANSLATE_NOOP("teams", "Fruits"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    94
		QT_TRANSLATE_NOOP("teams", "Banana"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    95
		QT_TRANSLATE_NOOP("teams", "Apple"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    96
		QT_TRANSLATE_NOOP("teams", "Orange"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    97
		QT_TRANSLATE_NOOP("teams", "Lemon"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    98
		QT_TRANSLATE_NOOP("teams", "Pineapple"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    99
		QT_TRANSLATE_NOOP("teams", "Mango"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   100
		QT_TRANSLATE_NOOP("teams", "Peach"),
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   101
		QT_TRANSLATE_NOOP("teams", "Plum"),
1293
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
   102
		"banana",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
   103
		"apple",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
   104
		"orange",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
   105
		"lemon",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
   106
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
   107
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
   108
		"NoHat",
5943efa67299 Predefined team can have customized hat
unc0rr
parents: 1066
diff changeset
   109
		"NoHat",
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   110
		"coffin", "Barrelhouse"
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   111
	}
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   112
};
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   113
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   114
#endif // PREDEFTEAMS_H