QTfrontend/achievements.cpp
author nemo
Mon, 10 May 2010 00:56:16 +0000
changeset 3453 d65657c94bb9
parent 3344 b18a166e6ca4
child 3494 208c5671b202
permissions -rw-r--r--
tweak
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3344
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
     1
/*
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
     2
 * Hedgewars, a free turn based strategy game
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
     3
 * Copyright (c) 2005-2010 Andrey Korotaev <unC0Rr@gmail.com>
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
     4
 *
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
     8
 *
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    12
 * GNU General Public License for more details.
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    13
 *
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    17
 */
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    18
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    19
#include <QObject>
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    20
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    21
#include "achievements.h"
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    22
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    23
const char achievements[][5][256] = {
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    24
    // 5 array members each: id, caption, description, image, required number
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    25
    //{"rounds1", QT_TRANSLATE_NOOP("achievements", "No complete Newbie!"),  QT_TRANSLATE_NOOP("achievements", "Manage to survive %1 games playing on the official server, no matter if it's a draw or win."), "nonewb",     1},
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    26
    //{"rounds2", QT_TRANSLATE_NOOP("achievements", "Getting used to it!"),  QT_TRANSLATE_NOOP("achievements", "Manage to survive %1 games playing on the official server, no matter if it's a draw or win."), "getused",   25},
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    27
    //{"rounds3", QT_TRANSLATE_NOOP("achievements", "Backyard Veteran"),     QT_TRANSLATE_NOOP("achievements", "Manage to survive %1 games playing on the official server, no matter if it's a draw or win."), "veteran",  100},
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    28
    //{"rounds4", QT_TRANSLATE_NOOP("achievements", "1001 Stories to tell"), QT_TRANSLATE_NOOP("achievements", "Manage to survive %1 games playing on the official server, no matter if it's a draw or win."), "stories", 1001},
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    29
    {0, 0, 0, 0, 0} // "terminator" line
b18a166e6ca4 Frontend:
smxx
parents:
diff changeset
    30
};