]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - warp/bang.h
cgram: allow providing an input file instead of the random fortune
[bsdgames-darwin.git] / warp / bang.h
1 /* Header: bang.h,v 7.0 86/10/08 15:12:03 lwall Exp */
2
3 /* Log: bang.h,v
4 * Revision 7.0 86/10/08 15:12:03 lwall
5 * Split into separate files. Added amoebas and pirates.
6 *
7 */
8
9 EXT long blast[YSIZE][XSIZE];
10 EXT bool blasted;
11 EXT bool xblasted[XSIZE];
12 EXT bool yblasted[YSIZE];
13
14 EXT char bangy[YSIZE*XSIZE];
15 EXT char bangx[YSIZE*XSIZE];
16 EXT char bangs[YSIZE*XSIZE];
17
18 EXT long bangm[YSIZE*XSIZE];
19
20 #define MAXBDIST 40
21 EXT int xx[MAXBDIST];
22 EXT int yy[MAXBDIST];
23
24 EXT int nxtbang;
25 EXT bool banging;
26
27 void bang_init(void);
28 void make_plink(int, int);
29 void make_blast(int, int, int, long);
30 void do_bangs(void);