Difference for main/fireball.c from version 1.1 to 1.2


version 1.1 version 1.2
Line 19
 
Line 19
  * Code for rendering & otherwise dealing with explosions   * Code for rendering & otherwise dealing with explosions
  *    *
  * $Log$   * $Log$
  * Revision 1.1  1999/06/14 22:06:20  donut   * Revision 1.2  2003/03/09 06:34:09  donut
  * Initial revision   * change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned
    *
    * Revision 1.1.1.1  1999/06/14 22:06:20  donut
    * Import of d1x 1.37 source.
  *   *
  * Revision 2.2  1995/03/21  14:39:57  john   * Revision 2.2  1995/03/21  14:39:57  john
  * Ifdef'd out the NETWORK code.   * Ifdef'd out the NETWORK code.
Line 422
 
Line 425
  int start_seg;   int start_seg;
  int head, tail;   int head, tail;
  int seg_queue[QUEUE_SIZE*2];   int seg_queue[QUEUE_SIZE*2];
  byte visited[MAX_SEGMENTS];   sbyte visited[MAX_SEGMENTS];
  byte depth[MAX_SEGMENTS];   sbyte depth[MAX_SEGMENTS];
  byte side_rand[MAX_SIDES_PER_SEGMENT];   sbyte side_rand[MAX_SIDES_PER_SEGMENT];
   
 // mprintf((0, "Finding a segment %i segments away from segment %i: ", max_depth, objp->segnum));  // mprintf((0, "Finding a segment %i segments away from segment %i: ", max_depth, objp->segnum));
   
Line 443
 
Line 446
  while (tail != head) {   while (tail != head) {
  int sidenum;   int sidenum;
  segment *segp;   segment *segp;
  byte ind1, ind2, temp;   sbyte ind1, ind2, temp;
   
  if (cur_depth >= max_depth) {   if (cur_depth >= max_depth) {
 // mprintf((0, "selected segment %i\n", seg_queue[tail]));  // mprintf((0, "selected segment %i\n", seg_queue[tail]));

Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2