1 /* $Header: /tank/opengrok/rsync2/NetBSD/src/games/warp/bang.h,v 1.1 2020/11/09 23:37:05 kamil Exp $ */ 2 3 /* $Log: bang.h,v $ 4 /* Revision 1.1 2020/11/09 23:37:05 kamil 5 /* Add Warp Kit, Version 7.0 by Larry Wall 6 /* 7 /* Warp is a real-time space war game that doesn't get boring very quickly. 8 /* Read warp.doc and the manual page for more information. 9 /* 10 /* games/warp originally distributed with 4.3BSD-Reno, is back to the BSD 11 /* world via NetBSD. Its remnants were still mentioned in games/Makefile. 12 /* 13 /* Larry Wall, the original author and the copyright holder, generously 14 /* donated the game and copyright to The NetBSD Foundation, Inc. 15 /* 16 /* Import the game sources as-is from 4.3BSD-Reno, with the cession 17 /* of the copyright and license to BSD-2-clause NetBSD-style. 18 /* 19 /* Signed-off-by: Larry Wall <larry (at) wall.org> 20 /* Signed-off-by: Kamil Rytarowski <kamil (at) netbsd.org> 21 /* 22 * Revision 7.0 86/10/08 15:12:03 lwall 23 * Split into separate files. Added amoebas and pirates. 24 * 25 */ 26 27 EXT long blast[YSIZE][XSIZE]; 28 EXT bool blasted; 29 EXT bool xblasted[XSIZE]; 30 EXT bool yblasted[YSIZE]; 31 32 EXT char bangy[YSIZE*XSIZE]; 33 EXT char bangx[YSIZE*XSIZE]; 34 EXT char bangs[YSIZE*XSIZE]; 35 36 EXT long bangm[YSIZE*XSIZE]; 37 38 #define MAXBDIST 40 39 EXT int xx[MAXBDIST]; 40 EXT int yy[MAXBDIST]; 41 42 EXT int nxtbang; 43 EXT bool banging; 44 45 void make_plink(); 46 void make_blast(); 47 void do_bangs(); 48 void bang_init(); 49