]> icculus.org git repositories - btb/d2x.git/blob - main/scores.h
fix a bug introduced with change of 2004-06-26
[btb/d2x.git] / main / scores.h
1 /* $Id: scores.h,v 1.3 2003-10-10 09:36:35 btb Exp $ */
2 /*
3 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
4 SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
5 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
6 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
7 IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
8 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
9 FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
10 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
11 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
12 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
13 */
14
15 /*
16  *
17  * Scores header.
18  *
19  * Old Log:
20  * Revision 1.1  1995/05/16  16:02:07  allender
21  * Initial revision
22  *
23  * Revision 2.0  1995/02/27  11:31:53  john
24  * New version 2.0, which has no anonymous unions, builds with
25  * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
26  *
27  * Revision 1.13  1994/12/07  00:36:36  mike
28  * scores sequencing stuff.
29  *
30  * Revision 1.12  1994/11/28  11:26:09  matt
31  * Took out scores for weapons, which are no longer used
32  *
33  * Revision 1.11  1994/10/24  18:20:03  john
34  * Made the current high score flash.
35  *
36  * Revision 1.10  1994/10/18  18:21:36  john
37  * NEw score system.
38  *
39  * Revision 1.9  1994/10/03  23:01:58  matt
40  * New parms for scores_view()
41  *
42  *
43  * Revision 1.8  1994/09/27  16:10:37  adam
44  * changed scores of course
45  *
46  * Revision 1.7  1994/08/31  19:25:46  mike
47  * Add score values for new powerups.
48  *
49  * Revision 1.6  1994/08/26  16:00:18  mike
50  * enhanced (?) scoring.
51  *
52  * Revision 1.5  1994/08/26  13:01:45  john
53  * Put high score system in.
54  *
55  * Revision 1.4  1994/05/30  16:33:21  yuan
56  * Revamping high scores.
57  *
58  * Revision 1.3  1994/05/14  17:15:07  matt
59  * Got rid of externs in source (non-header) files
60  *
61  * Revision 1.2  1994/05/13  13:13:57  yuan
62  * Added player death...
63  *
64  * When you die, if just pops up a a message.
65  * When game is over, a message is popped up, and if you have a high score,
66  * you get to enter it.
67  *
68  * Revision 1.1  1994/05/13  10:22:16  yuan
69  * Initial revision
70  *
71  *
72  */
73
74
75 #ifndef _SCORES_H
76 #define _SCORES_H
77
78 #define ROBOT_SCORE             1000
79 #define HOSTAGE_SCORE           1000
80 #define CONTROL_CEN_SCORE       5000
81 #define ENERGY_SCORE            0
82 #define SHIELD_SCORE            0
83 #define LASER_SCORE             0
84 #define DEBRIS_SCORE            0
85 #define CLUTTER_SCORE           0
86 #define MISSILE1_SCORE          0
87 #define MISSILE4_SCORE          0
88 #define KEY_SCORE               0
89 #define QUAD_FIRE_SCORE         0
90
91 #define VULCAN_AMMO_SCORE       0
92 #define CLOAK_SCORE             0
93 #define TURBO_SCORE             0
94 #define INVULNERABILITY_SCORE   0
95 #define HEADLIGHT_SCORE         0
96
97 extern void scores_view(int citem);
98
99 // If player has a high score, adds you to file and returns.
100 // If abort_flag set, only show if player has gotten a high score.
101 extern void scores_maybe_add_player(int abort_flag);
102
103 #endif /* _SCORES_H */