QTfrontend/predefteams.h
author nemo
Sun, 10 Oct 2010 16:51:40 -0400
changeset 3949 4c4c0a2507cc
parent 3236 4ab3917d7d44
permissions -rw-r--r--
Add the standard delay (1.25 seconds) between attacks on inf attack mode, as well as checks for damage and win. There is probably some better way to do this. Weapons still need fixing.
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
3236
4ab3917d7d44 Update (c) lines to 2010 as unc0rr requested - they all had varying values so I just took the first year mentioned, then tacked on -2010
nemo
parents: 2948
diff changeset
     3
 * Copyright (c) 2006-2010 Andrey Korotaev <unC0Rr@gmail.com>
184
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
2657
fce353f8b75a Add language to each ts file, rerun disabling of teams.
nemo
parents: 2656
diff changeset
    25
/*
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    26
struct PredefinedTeam
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    27
{
2948
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    28
    const char * TeamName;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    29
    const char * hh0name;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    30
    const char * hh1name;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    31
    const char * hh2name;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    32
    const char * hh3name;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    33
    const char * hh4name;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    34
    const char * hh5name;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    35
    const char * hh6name;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    36
    const char * hh7name;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    37
    const char * hh0hat;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    38
    const char * hh1hat;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    39
    const char * hh2hat;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    40
    const char * hh3hat;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    41
    const char * hh4hat;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    42
    const char * hh5hat;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    43
    const char * hh6hat;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    44
    const char * hh7hat;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    45
    QString Grave;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    46
    QString Fort;
184
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
{
2948
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    52
    {
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    53
        QT_TRANSLATE_NOOP("teams", "Hedgehogs"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    54
        QT_TRANSLATE_NOOP("teams", "hedgehog 1"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    55
        QT_TRANSLATE_NOOP("teams", "hedgehog 2"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    56
        QT_TRANSLATE_NOOP("teams", "hedgehog 3"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    57
        QT_TRANSLATE_NOOP("teams", "hedgehog 4"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    58
        QT_TRANSLATE_NOOP("teams", "hedgehog 5"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    59
        QT_TRANSLATE_NOOP("teams", "hedgehog 6"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    60
        QT_TRANSLATE_NOOP("teams", "hedgehog 7"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    61
        QT_TRANSLATE_NOOP("teams", "hedgehog 8"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    62
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    63
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    64
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    65
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    66
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    67
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    68
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    69
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    70
        "Simple", "Island"
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    71
    },
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    72
    {
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    73
        QT_TRANSLATE_NOOP("teams", "Goddess"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    74
        QT_TRANSLATE_NOOP("teams", "Isis"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    75
        QT_TRANSLATE_NOOP("teams", "Astarte"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    76
        QT_TRANSLATE_NOOP("teams", "Diana"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    77
        QT_TRANSLATE_NOOP("teams", "Aphrodite"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    78
        QT_TRANSLATE_NOOP("teams", "Hecate"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    79
        QT_TRANSLATE_NOOP("teams", "Demeter"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    80
        QT_TRANSLATE_NOOP("teams", "Kali"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    81
        QT_TRANSLATE_NOOP("teams", "Inanna"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    82
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    83
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    84
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    85
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    86
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    87
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    88
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    89
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    90
        "Bone", "Island"
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    91
    },
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    92
    {
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    93
        QT_TRANSLATE_NOOP("teams", "Fruits"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    94
        QT_TRANSLATE_NOOP("teams", "Banana"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    95
        QT_TRANSLATE_NOOP("teams", "Apple"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    96
        QT_TRANSLATE_NOOP("teams", "Orange"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    97
        QT_TRANSLATE_NOOP("teams", "Lemon"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    98
        QT_TRANSLATE_NOOP("teams", "Pineapple"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
    99
        QT_TRANSLATE_NOOP("teams", "Mango"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
   100
        QT_TRANSLATE_NOOP("teams", "Peach"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
   101
        QT_TRANSLATE_NOOP("teams", "Plum"),
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
   102
        "banana",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
   103
        "apple",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
   104
        "orange",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
   105
        "lemon",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
   106
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
   107
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
   108
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
   109
        "NoHat",
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
   110
        "coffin", "Barrelhouse"
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2657
diff changeset
   111
    }
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   112
};
2657
fce353f8b75a Add language to each ts file, rerun disabling of teams.
nemo
parents: 2656
diff changeset
   113
*/
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   114
#endif // PREDEFTEAMS_H