Installing bitmaps.Iggy.h ------------------------- To use the file bitmaps.Iggy.h (Hugh Moore's independent bitmaps), do two things: 1. Place bitmaps.Iggy.h in the client source directory. 2. Apply these diffs, preferably by hand, to your client source. The relevant files are data.c, data.h, newwin.c, and redraw.c. [ These diffs were made with the Feb. 7, 1991 scam client source and my own client source, which isn't available anywhere. ] *** data.c Tue Oct 30 01:20:17 1990 --- /usr/users/terence/xk/data.c Thu Mar 19 21:46:06 1992 *************** *** 78,83 **** --- 109,115 ---- W_Icon etorp, mtorp; W_Icon eplasmatorp, mplasmatorp; W_Icon shield, cloakicon; + W_Icon ind_bitmaps[NUM_TYPES][VIEWS]; /* 9/19/91 TC */ W_Icon fed_bitmaps[NUM_TYPES][VIEWS], kli_bitmaps[NUM_TYPES][VIEWS], rom_bitmaps[NUM_TYPES][VIEWS], *** data.h Wed Jul 5 00:46:12 1989 --- /usr/users/terence/xk/data.h Thu Mar 19 21:32:40 1992 *************** *** 107,112 **** --- 141,147 ---- extern W_Icon etorp, mtorp; extern W_Icon eplasmatorp, mplasmatorp; extern W_Icon shield, cloakicon; + extern W_Icon ind_bitmaps[NUM_TYPES][VIEWS]; /* ind bitmaps 10/18/91 TC */ extern W_Icon fed_bitmaps[NUM_TYPES][VIEWS], kli_bitmaps[NUM_TYPES][VIEWS], rom_bitmaps[NUM_TYPES][VIEWS], *** newwin.c Thu Nov 15 18:07:22 1990 --- /usr/users/terence/xk/newwin.c Wed Apr 1 16:57:32 1992 *************** *** 17,22 **** --- 33,39 ---- #include "struct.h" #include "data.h" #include "bitmaps.h" + #include "bitmaps.Iggy.h" /* independent bitmaps 10/18/91 TC */ #include "oldbitmaps.h" #include "packets.h" char *malloc(); *************** *** 196,201 **** --- 217,243 ---- ori_bitmaps[STARBASE][i] = W_StoreBitmap(ori_starbase_width, ori_starbase_height, ori_starbase_bits[i], w); + + /* independent bitmaps 10/18/91 TC */ + + ind_bitmaps[SCOUT][i] = + W_StoreBitmap(IggSC_width, IggSC_height, + IggSC_bits[i], w); + ind_bitmaps[DESTROYER][i] = + W_StoreBitmap(IggDD_width, IggDD_height, + IggDD_bits[i], w); + ind_bitmaps[CRUISER][i] = + W_StoreBitmap(IggCA_width, IggCA_height, + IggCA_bits[i], w); + ind_bitmaps[BATTLESHIP][i] = + W_StoreBitmap(IggBB_width, IggBB_height, + IggBB_bits[i], w); + ind_bitmaps[ASSAULT][i] = + W_StoreBitmap(IggAS_width, IggAS_height, + IggAS_bits[i], w); + ind_bitmaps[STARBASE][i] = + W_StoreBitmap(IggSB_width, IggSB_height, + IggSB_bits[i], w); } clockpic=W_StoreBitmap(clock_width, clock_height, clock_bits, qwin); *************** *** 212,217 **** --- 206,215 ---- } if (j->p_status == PALIVE) { switch (j->p_team) { + /* Iggy bitmaps 9/19/91 TC */ + case NOBODY: + ship_bits = ind_bitmaps; + break; case FED: ship_bits = fed_bitmaps; break; -------------------------------------------- To: jch+@a.gp.cs.cmu.edu Subject: Iggy Bitmap Patchfile Date: Sat, 15 Aug 92 14:13:58 EDT From: carroll@cs.uiuc.edu It doesn't indicate that the last set of patches are to redraw.c, not data.c