Debian Codegraph @

common/main/scores.h

raw
1 /*
2 * Portions of this file are copyright Rebirth contributors and licensed as
3 * described in COPYING.txt.
4 * Portions of this file are copyright Parallax Software and licensed
5 * according to the Parallax license below.
6 * See COPYING.txt for license details.
7
8 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
9 SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
10 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
11 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
12 IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
13 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
14 FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
15 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
16 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
17 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
18 */
19
20 /*
21 *
22 * Scores header.
23 *
24 */
25
26
27 #ifndef _SCORES_H
28 #define _SCORES_H
29
30 #include "dsx-ns.h"
31 #include "fwd-gr.h"
32
33 #define HOSTAGE_SCORE 1000
34 #define CONTROL_CEN_SCORE 5000
35 #define ENERGY_SCORE 0
36 #define SHIELD_SCORE 0
37 #define LASER_SCORE 0
38 #define KEY_SCORE 0
39 #define QUAD_FIRE_SCORE 0
40
41 #define VULCAN_AMMO_SCORE 0
42 #define CLOAK_SCORE 0
43 #define INVULNERABILITY_SCORE 0
44
45 #ifdef DXX_BUILD_DESCENT
46 namespace dsx {
47
48 void scores_view_menu(grs_canvas &);
49
50 // If player has a high score, adds you to file and returns.
51 // If abort_flag set, only show if player has gotten a high score.
52 void scores_maybe_add_player();
53
54 }
55 #endif
56
57 #endif /* _SCORES_H */