1 /*
2 * IceBreaker
3 * Copyright (c) 2000-2002 Matthew Miller <mattdm@mattdm.org>
4 *
5 * <http://www.mattdm.org/icebreaker/>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free
9 * Software Foundation; either version 2 of the License, or (at your option)
10 * any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 * for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc., 59
19 * Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 *
21 */
22 
23 #ifndef STATUS_H
24 #define STATUS_H
25 
26 extern void updatestatuslives(int lives);
27 extern void updatestatuscleared(int clear);
28 extern void updatestatusscore(long score);
29 
30 extern void updatehiscorebox();
31 
32 #define STATUSY (BORDERTOP-(4*CHARHEIGHT))
33 
34 #define LIVESX   (BORDERLEFT)
35 #define CLEAREDX (LIVESX+165)
36 #define SCOREX   (BORDERRIGHT-120)
37 
38 #define LIVESW (CLEAREDX - LIVESX)
39 #define CLEAREDW (SCOREX - CLEAREDX)
40 #define SCOREW  (WIDTH - SCOREX)
41 
42 #define BOTTOMSTATUSY (MARGINTOP+PLAYHEIGHT+CHARHEIGHT*2)
43 
44 #endif /* STATUS_H */
45