1 2 #include "cop.xbm" 3 #include "copwhite.xbm" 4 #include "bronco.xbm" 5 #include "broncoblack.xbm" 6 #include "coplight.xbm" 7 #include "newscop.xbm" 8 #include "newscopb.xbm" 9 #include "gawk.xbm" 10 #include "gawkshirt.xbm" 11 12 13 typedef struct Bronco { 14 int x, y; 15 int active; 16 int xStep, yStep; 17 } Bronco; 18 19 20 typedef struct BroncoMap { 21 char *broncoBits; 22 Pixmap pixmap; 23 int width; 24 int height; 25 } BroncoMap; 26 27 28 BroncoMap broncoPix = { bronco_bits, None, bronco_height, bronco_width }; 29 30 BroncoMap broncoblackPix = { broncoblack_bits, None, broncoblack_height, 31 broncoblack_width }; 32 33 34 typedef struct Cop { 35 int x, y; 36 int xStep, yStep; 37 int color; 38 int active; 39 } Cop; 40 41 42 typedef struct CopMap { 43 char *copBits; 44 Pixmap pixmap; 45 int width; 46 int height; 47 } CopMap; 48 49 50 CopMap copPix = { cop_bits, None, cop_height, cop_width }; 51 52 CopMap copwhitePix = { copwhite_bits, None, copwhite_height, copwhite_width }; 53 54 CopMap lightPix = { coplight_bits, None, coplight_height, coplight_width }; 55 56 CopMap newsPix = { newscop_bits, None, newscop_height, newscop_width }; 57 58 CopMap newsbPix = { newscopb_bits, None, newscopb_height, newscopb_width }; 59 60 typedef struct GawkMap { 61 char *gawkBits; 62 Pixmap pixmap; 63 int width; 64 int height; 65 } GawkMap; 66 67 typedef struct GawkShirtMap { 68 char *gawkShirtBits; 69 Pixmap pixmap; 70 int width; 71 int height; 72 } GawkShirtMap; 73 74 GawkMap gawkPix = { gawk_bits, None, gawk_height, gawk_width }; 75 76 GawkShirtMap gawkShirtPix = { gawkshirt_bits, None, gawkshirt_height, gawkshirt_width }; 77 78