1 1.1 kamil /* $Header: /tank/opengrok/rsync2/NetBSD/src/games/warp/bang.h,v 1.1 2020/11/09 23:37:05 kamil Exp $ */ 2 1.1 kamil 3 1.1 kamil /* $Log: bang.h,v $ 4 1.1 kamil /* Revision 1.1 2020/11/09 23:37:05 kamil 5 1.1 kamil /* Add Warp Kit, Version 7.0 by Larry Wall 6 1.1 kamil /* 7 1.1 kamil /* Warp is a real-time space war game that doesn't get boring very quickly. 8 1.1 kamil /* Read warp.doc and the manual page for more information. 9 1.1 kamil /* 10 1.1 kamil /* games/warp originally distributed with 4.3BSD-Reno, is back to the BSD 11 1.1 kamil /* world via NetBSD. Its remnants were still mentioned in games/Makefile. 12 1.1 kamil /* 13 1.1 kamil /* Larry Wall, the original author and the copyright holder, generously 14 1.1 kamil /* donated the game and copyright to The NetBSD Foundation, Inc. 15 1.1 kamil /* 16 1.1 kamil /* Import the game sources as-is from 4.3BSD-Reno, with the cession 17 1.1 kamil /* of the copyright and license to BSD-2-clause NetBSD-style. 18 1.1 kamil /* 19 1.1 kamil /* Signed-off-by: Larry Wall <larry (at) wall.org> 20 1.1 kamil /* Signed-off-by: Kamil Rytarowski <kamil (at) netbsd.org> 21 1.1 kamil /* 22 1.1 kamil * Revision 7.0 86/10/08 15:12:03 lwall 23 1.1 kamil * Split into separate files. Added amoebas and pirates. 24 1.1 kamil * 25 1.1 kamil */ 26 1.1 kamil 27 1.1 kamil EXT long blast[YSIZE][XSIZE]; 28 1.1 kamil EXT bool blasted; 29 1.1 kamil EXT bool xblasted[XSIZE]; 30 1.1 kamil 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