author | Wuzzy <Wuzzy2@mail.ru> |
Fri, 05 Oct 2018 19:37:06 +0200 | |
changeset 13853 | 46e1c1069ac2 |
parent 11046 | 47a8c19ecb60 |
permissions | -rw-r--r-- |
3344 | 1 |
/* |
2 |
* Hedgewars, a free turn based strategy game |
|
11046 | 3 |
* Copyright (c) 2004-2015 Andrey Korotaev <unC0Rr@gmail.com> |
3344 | 4 |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
10108
c68cf030eded
update FSF address. note: two sdl include files (by Sam Lantinga) still have the old FSF address in their copyright - but I ain't gonna touch their copyright headers
sheepluva
parents:
9998
diff
changeset
|
16 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
3344 | 17 |
*/ |
18 |
||
19 |
#ifndef ACHIEVEMENTS_H |
|
20 |
#define ACHIEVEMENTS_H |
|
21 |
||
22 |
#define MAX_ACHIEVEMENTS 128 |
|
3494 | 23 |
|
24 |
// This is just for testing and far from being complete - everything might change so don't use it anywhere! |
|
25 |
||
26 |
enum achflags |
|
27 |
{ |
|
28 |
ACH_FLAGS_NONE = 0x00, |
|
29 |
ACH_FLAGS_HIDDEN = 0x01, |
|
30 |
ACH_FLAGS_INACTIVE = 0x02, |
|
31 |
// UNKNOWN = 0x04, |
|
32 |
// UNKNOWN = 0x08, |
|
33 |
// UNKNOWN = 0x10, |
|
34 |
// UNKNOWN = 0x20, |
|
35 |
// UNKNOWN = 0x40, |
|
36 |
// UNKNOWN = 0x80, |
|
37 |
}; |
|
38 |
||
39 |
struct achievement |
|
40 |
{ |
|
41 |
const char *id; |
|
42 |
const char *caption; |
|
43 |
const char *description; |
|
44 |
const char *image; |
|
45 |
const int goal; |
|
46 |
const int flags; |
|
47 |
}; |
|
48 |
||
49 |
extern const char achievements[][6][256]; |
|
3344 | 50 |
|
51 |
#endif // ACHIEVEMENTS_H |