Difference for common/map.c from version 1.5 to 1.6


version 1.5 version 1.6
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: map.c,v 1.5 2000/03/27 06:23:38 cvs Exp $";   *   "$Id: map.c,v 1.6 2000/03/29 07:46:48 cvs Exp $";
  */   */
   
 /*  /*
Line 588
 
Line 588
 #endif  #endif
  switch(i) {   switch(i) {
    case LL_NORMAL:     case LL_NORMAL:
      insert_ob_in_map(op,m);       insert_ob_in_map_simple(op,m);
 #if 1  #if 1
      if (op->inv) sum_weight(op);       if (op->inv) sum_weight(op);
 #else  #else
Line 602
 
Line 602
      break;       break;
 #endif  #endif
    case LL_MORE:     case LL_MORE:
      insert_ob_in_map(op,m);       insert_ob_in_map_simple(op,m);
      op->head=prev,last_more->more=op,last_more=op;       op->head=prev,last_more->more=op,last_more=op;
      break;       break;
  }   }
Line 1179
 
Line 1179
       while((op=get_map_ob(m1,i,j))!=NULL&&op->head==NULL) {        while((op=get_map_ob(m1,i,j))!=NULL&&op->head==NULL) {
         remove_ob(op);          remove_ob(op);
         op->x=i,op->y=j; /* Not really needed */          op->x=i,op->y=j; /* Not really needed */
         insert_ob_in_map(op,m2);          insert_ob_in_map_simple(op,m2);
       }        }
     }      }
   free_all_objects(m1);    free_all_objects(m1);
Line 1395
 
Line 1395
      */       */
   
     /* In case other objects press some buttons down */      /* In case other objects press some buttons down */
     (*update_buttons_func)(m);      update_buttons(m);
   
     return m;      return m;
 }  }
Line 1526
 
Line 1526
      prt->y += dy;           /* designers problem to fix */       prt->y += dy;           /* designers problem to fix */
      prt->y %= target->mapy;       prt->y %= target->mapy;
  }   }
  insert_ob_in_map(obj,target);   insert_ob_in_map_simple(obj,target);
  if (linked)   if (linked)
      add_button_link(obj, target, link);       add_button_link(obj, target, link);
      }       }
Line 1561
 
Line 1561
      prt->y += dy;           /* designers problem to fix */       prt->y += dy;           /* designers problem to fix */
      prt->y %= target->mapy;       prt->y %= target->mapy;
  }   }
  insert_ob_in_map(obj,target);   insert_ob_in_map_simple(obj,target);
      }       }
     free_all_objects(source);      free_all_objects(source);
 }  }


Legend:
line(s) removed in v.1.5 
line(s) changed
 line(s) added in v.1.6

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:14