freebsd-nq/games/x11/xroach/roachmap.h
Jordan K. Hubbard 554eb505f8 Bring in the 4.4 Lite games directory, modulo man page changes and segregation
of the x11 based games.  I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way.  Bleah.
Submitted by:	jkh
1994-09-04 04:03:31 +00:00

66 lines
2.4 KiB
C

#include "roach000.xbm"
#include "roach015.xbm"
#include "roach030.xbm"
#include "roach045.xbm"
#include "roach060.xbm"
#include "roach075.xbm"
#include "roach090.xbm"
#include "roach105.xbm"
#include "roach120.xbm"
#include "roach135.xbm"
#include "roach150.xbm"
#include "roach165.xbm"
#include "roach180.xbm"
#include "roach195.xbm"
#include "roach210.xbm"
#include "roach225.xbm"
#include "roach240.xbm"
#include "roach255.xbm"
#include "roach270.xbm"
#include "roach285.xbm"
#include "roach300.xbm"
#include "roach315.xbm"
#include "roach330.xbm"
#include "roach345.xbm"
#define ROACH_HEADINGS 24 /* number of orientations */
#define ROACH_ANGLE 15 /* angle between orientations */
typedef struct RoachMap {
char *roachBits;
Pixmap pixmap;
int width;
int height;
float sine;
float cosine;
} RoachMap;
RoachMap roachPix[] = {
{roach000_bits, None, roach000_height, roach000_width, 0.0, 0.0},
{roach015_bits, None, roach015_height, roach015_width, 0.0, 0.0},
{roach030_bits, None, roach030_height, roach030_width, 0.0, 0.0},
{roach045_bits, None, roach045_height, roach045_width, 0.0, 0.0},
{roach060_bits, None, roach060_height, roach060_width, 0.0, 0.0},
{roach075_bits, None, roach075_height, roach075_width, 0.0, 0.0},
{roach090_bits, None, roach090_height, roach090_width, 0.0, 0.0},
{roach105_bits, None, roach105_height, roach105_width, 0.0, 0.0},
{roach120_bits, None, roach120_height, roach120_width, 0.0, 0.0},
{roach135_bits, None, roach135_height, roach135_width, 0.0, 0.0},
{roach150_bits, None, roach150_height, roach150_width, 0.0, 0.0},
{roach165_bits, None, roach165_height, roach165_width, 0.0, 0.0},
{roach180_bits, None, roach180_height, roach180_width, 0.0, 0.0},
{roach195_bits, None, roach195_height, roach195_width, 0.0, 0.0},
{roach210_bits, None, roach210_height, roach210_width, 0.0, 0.0},
{roach225_bits, None, roach225_height, roach225_width, 0.0, 0.0},
{roach240_bits, None, roach240_height, roach240_width, 0.0, 0.0},
{roach255_bits, None, roach255_height, roach255_width, 0.0, 0.0},
{roach270_bits, None, roach270_height, roach270_width, 0.0, 0.0},
{roach285_bits, None, roach285_height, roach285_width, 0.0, 0.0},
{roach300_bits, None, roach300_height, roach300_width, 0.0, 0.0},
{roach315_bits, None, roach315_height, roach315_width, 0.0, 0.0},
{roach330_bits, None, roach330_height, roach330_width, 0.0, 0.0},
{roach345_bits, None, roach345_height, roach345_width, 0.0, 0.0},
};