Debian Codegraph @

code/game/challenges.h

raw
1 /*
2 ===========================================================================
3 Copyright (C) 2008-2009 Poul Sander
4
5 This file is part of Open Arena source code.
6
7 Open Arena source code is free software; you can redistribute it
8 and/or modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2 of the License,
10 or (at your option) any later version.
11
12 Open Arena source code is distributed in the hope that it will be
13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with Open Arena source code; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 ===========================================================================
21 */
22
23 /**
24 * This is a list of challenges that a player can only complete while playing
25 * against human opponents, either LAN or Internet.
26 *
27 * Hopefully this will make it a little more fun to play online even if you
28 * are not good enough to win you can still track your progress.
29 */
30
31 #define CHALLENGES_MAX_COUNT MAX_INT-1
32 #define CHALLENGES_MAX 2048
33
34 #define GENERAL_TEST 0
35 #define GENERAL_TOTALKILLS 1
36 #define GENERAL_TOTALDEATHS 2
37 #define GENERAL_TOTALGAMES 3
38
39 //Gametypes
40 #define GAMETYPES_FFA_WINS 101
41 #define GAMETYPES_TOURNEY_WINS 102
42 #define GAMETYPES_TDM_WINS 103
43 #define GAMETYPES_CTF_WINS 104
44 #define GAMETYPES_1FCTF_WINS 105
45 #define GAMETYPES_OVERLOAD_WINS 106
46 #define GAMETYPES_HARVESTER_WINS 107
47 #define GAMETYPES_ELIMINATION_WINS 108
48 #define GAMETYPES_CTF_ELIMINATION_WINS 109
49 #define GAMETYPES_LMS_WINS 110
50 #define GAMETYPES_DD_WINS 111
51 #define GAMETYPES_DOM_WINS 112
52
53 //Weapons
54 #define WEAPON_GAUNTLET_KILLS 201
55 #define WEAPON_MACHINEGUN_KILLS 202
56 #define WEAPON_SHOTGUN_KILLS 203
57 #define WEAPON_GRANADE_KILLS 204
58 #define WEAPON_ROCKET_KILLS 205
59 #define WEAPON_LIGHTNING_KILLS 206
60 #define WEAPON_PLASMA_KILLS 207
61 #define WEAPON_RAIL_KILLS 208
62 #define WEAPON_BFG_KILLS 209
63 #define WEAPON_GRAPPLE_KILLS 210
64 #define WEAPON_CHAINGUN_KILLS 211
65 #define WEAPON_NAILGUN_KILLS 212
66 #define WEAPON_MINE_KILLS 213
67 #define WEAPON_PUSH_KILLS 214
68 #define WEAPON_INSTANT_RAIL_KILLS 215
69 #define WEAPON_TELEFRAG_KILLS 216
70 #define WEAPON_CRUSH_KILLS 217
71
72 //Awards
73 //Gauntlet is not here as it is the same as WEAPON_GAUNTLET_KILLS
74 #define AWARD_IMPRESSIVE 301
75 #define AWARD_EXCELLENT 302
76 #define AWARD_CAPTURE 303
77 #define AWARD_ASSIST 304
78 #define AWARD_DEFENCE 305
79
80 //Powerups
81 #define POWERUP_QUAD_KILL 401
82 #define POWERUP_SPEED_KILL 402
83 #define POWERUP_FLIGHT_KILL 403
84 #define POWERUP_INVIS_KILL 404
85 #define POWERUP_MULTI_KILL 405
86 #define POWERUP_COUNTER_QUAD 406
87 #define POWERUP_COUNTER_SPEED 407
88 #define POWERUP_COUNTER_FLIGHT 408
89 #define POWERUP_COUNTER_INVIS 409
90 #define POWERUP_COUNTER_ENVIR 410
91 #define POWERUP_COUNTER_REGEN 411
92 #define POWERUP_COUNTER_MULTI 412
93
94 //FFA awards
95 #define FFA_TOP3 501
96 //From behind, enemy gets fraglimit-1, player has at most fraglimit-2 but wins anyway
97 #define FFA_FROMBEHIND 502
98 //BetterThan: loose a match but have a positive kill ratio against the winner
99 #define FFA_BETTERTHAN 503
100 //Get at least half of your kills for players in the best half of the scoreboard
101 #define FFA_JUDGE 504
102 //The oppesite
103 #define FFA_CHEAPKILLER 505