1 |
27 |
unneback |
#include "roach000.xbm"
|
2 |
|
|
#include "roach015.xbm"
|
3 |
|
|
#include "roach030.xbm"
|
4 |
|
|
#include "roach045.xbm"
|
5 |
|
|
#include "roach060.xbm"
|
6 |
|
|
#include "roach075.xbm"
|
7 |
|
|
#include "roach090.xbm"
|
8 |
|
|
#include "roach105.xbm"
|
9 |
|
|
#include "roach120.xbm"
|
10 |
|
|
#include "roach135.xbm"
|
11 |
|
|
#include "roach150.xbm"
|
12 |
|
|
#include "roach165.xbm"
|
13 |
|
|
#include "roach180.xbm"
|
14 |
|
|
#include "roach195.xbm"
|
15 |
|
|
#include "roach210.xbm"
|
16 |
|
|
#include "roach225.xbm"
|
17 |
|
|
#include "roach240.xbm"
|
18 |
|
|
#include "roach255.xbm"
|
19 |
|
|
#include "roach270.xbm"
|
20 |
|
|
#include "roach285.xbm"
|
21 |
|
|
#include "roach300.xbm"
|
22 |
|
|
#include "roach315.xbm"
|
23 |
|
|
#include "roach330.xbm"
|
24 |
|
|
#include "roach345.xbm"
|
25 |
|
|
|
26 |
|
|
#define ROACH_HEADINGS 24 /* number of orientations */
|
27 |
|
|
#define ROACH_ANGLE 15 /* angle between orientations */
|
28 |
|
|
|
29 |
|
|
typedef struct RoachMap {
|
30 |
|
|
char *roachBits;
|
31 |
|
|
Pixmap pixmap;
|
32 |
|
|
int width;
|
33 |
|
|
int height;
|
34 |
|
|
float sine;
|
35 |
|
|
float cosine;
|
36 |
|
|
} RoachMap;
|
37 |
|
|
|
38 |
|
|
RoachMap roachPix[] = {
|
39 |
|
|
{roach000_bits, None, roach000_height, roach000_width, 0.0, 0.0},
|
40 |
|
|
{roach015_bits, None, roach015_height, roach015_width, 0.0, 0.0},
|
41 |
|
|
{roach030_bits, None, roach030_height, roach030_width, 0.0, 0.0},
|
42 |
|
|
{roach045_bits, None, roach045_height, roach045_width, 0.0, 0.0},
|
43 |
|
|
{roach060_bits, None, roach060_height, roach060_width, 0.0, 0.0},
|
44 |
|
|
{roach075_bits, None, roach075_height, roach075_width, 0.0, 0.0},
|
45 |
|
|
{roach090_bits, None, roach090_height, roach090_width, 0.0, 0.0},
|
46 |
|
|
{roach105_bits, None, roach105_height, roach105_width, 0.0, 0.0},
|
47 |
|
|
{roach120_bits, None, roach120_height, roach120_width, 0.0, 0.0},
|
48 |
|
|
{roach135_bits, None, roach135_height, roach135_width, 0.0, 0.0},
|
49 |
|
|
{roach150_bits, None, roach150_height, roach150_width, 0.0, 0.0},
|
50 |
|
|
{roach165_bits, None, roach165_height, roach165_width, 0.0, 0.0},
|
51 |
|
|
{roach180_bits, None, roach180_height, roach180_width, 0.0, 0.0},
|
52 |
|
|
{roach195_bits, None, roach195_height, roach195_width, 0.0, 0.0},
|
53 |
|
|
{roach210_bits, None, roach210_height, roach210_width, 0.0, 0.0},
|
54 |
|
|
{roach225_bits, None, roach225_height, roach225_width, 0.0, 0.0},
|
55 |
|
|
{roach240_bits, None, roach240_height, roach240_width, 0.0, 0.0},
|
56 |
|
|
{roach255_bits, None, roach255_height, roach255_width, 0.0, 0.0},
|
57 |
|
|
{roach270_bits, None, roach270_height, roach270_width, 0.0, 0.0},
|
58 |
|
|
{roach285_bits, None, roach285_height, roach285_width, 0.0, 0.0},
|
59 |
|
|
{roach300_bits, None, roach300_height, roach300_width, 0.0, 0.0},
|
60 |
|
|
{roach315_bits, None, roach315_height, roach315_width, 0.0, 0.0},
|
61 |
|
|
{roach330_bits, None, roach330_height, roach330_width, 0.0, 0.0},
|
62 |
|
|
{roach345_bits, None, roach345_height, roach345_width, 0.0, 0.0},
|
63 |
|
|
};
|
64 |
|
|
|
65 |
|
|
|