/* $Header: /cvsroot/src/games/warp/bang.h,v 1.1 2020/11/09 23:37:05 kamil Exp $ */ /* $Log: bang.h,v $ /* Revision 1.1 2020/11/09 23:37:05 kamil /* Add Warp Kit, Version 7.0 by Larry Wall /* /* Warp is a real-time space war game that doesn't get boring very quickly. /* Read warp.doc and the manual page for more information. /* /* games/warp originally distributed with 4.3BSD-Reno, is back to the BSD /* world via NetBSD. Its remnants were still mentioned in games/Makefile. /* /* Larry Wall, the original author and the copyright holder, generously /* donated the game and copyright to The NetBSD Foundation, Inc. /* /* Import the game sources as-is from 4.3BSD-Reno, with the cession /* of the copyright and license to BSD-2-clause NetBSD-style. /* /* Signed-off-by: Larry Wall /* Signed-off-by: Kamil Rytarowski /* * Revision 7.0 86/10/08 15:12:03 lwall * Split into separate files. Added amoebas and pirates. * */ EXT long blast[YSIZE][XSIZE]; EXT bool blasted; EXT bool xblasted[XSIZE]; EXT bool yblasted[YSIZE]; EXT char bangy[YSIZE*XSIZE]; EXT char bangx[YSIZE*XSIZE]; EXT char bangs[YSIZE*XSIZE]; EXT long bangm[YSIZE*XSIZE]; #define MAXBDIST 40 EXT int xx[MAXBDIST]; EXT int yy[MAXBDIST]; EXT int nxtbang; EXT bool banging; void make_plink(); void make_blast(); void do_bangs(); void bang_init();