Difference for common/button.c from version 1.25 to 1.26


version 1.25 version 1.26
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_button_c =   * static char *rcsid_button_c =
  *   "$Id: button.c,v 1.25 2005/07/14 09:18:53 akirschbaum Exp $";   *   "$Id: button.c,v 1.26 2005/07/15 13:51:48 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 81
 
Line 81
   
      case SIGN:       case SIGN:
  if (!tmp->stats.food || tmp->last_eat < tmp->stats.food) {   if (!tmp->stats.food || tmp->last_eat < tmp->stats.food) {
      (*info_map_func)(NDI_UNIQUE | NDI_NAVY,tmp->map,tmp->msg);       new_info_map(NDI_UNIQUE | NDI_NAVY,tmp->map,tmp->msg);
      if (tmp->stats.food) tmp->last_eat++;       if (tmp->stats.food) tmp->last_eat++;
  }   }
      break;       break;
Line 123
 
Line 123
   
      case DIRECTOR:       case DIRECTOR:
      case FIREWALL:       case FIREWALL:
  if(!QUERY_FLAG(tmp,FLAG_ANIMATE)&&tmp->type==FIREWALL) (*move_firewall_func)(tmp);   if(!QUERY_FLAG(tmp,FLAG_ANIMATE)&&tmp->type==FIREWALL) move_firewall(tmp);
  else {   else {
      if ((tmp->stats.sp += tmp->stats.maxsp) > 8) /* next direction */       if ((tmp->stats.sp += tmp->stats.maxsp) > 8) /* next direction */
  tmp->stats.sp = ((tmp->stats.sp-1)%8)+1;   tmp->stats.sp = ((tmp->stats.sp-1)%8)+1;
Line 132
 
Line 132
  break;   break;
   
      case TELEPORTER:       case TELEPORTER:
  (*move_teleporter_func)(tmp);   move_teleporter(tmp);
  break;   break;
   
      case CREATOR:       case CREATOR:
  (*move_creator_func)(tmp);   move_creator(tmp);
  break;   break;
    
  case TRIGGER_MARKER:   case TRIGGER_MARKER:
  (*move_trigger_marker_func)(tmp);   move_marker(tmp);
  break;   break;
   
      case DUPLICATOR:       case DUPLICATOR:
  (*move_duplicator_func)(tmp);   move_duplicator(tmp);
  break;   break;
  }   }
     }      }
Line 323
 
Line 323
     *sacrifice = decrease_ob_nr (*sacrifice, NROF_SACRIFICE(altar));      *sacrifice = decrease_ob_nr (*sacrifice, NROF_SACRIFICE(altar));
    
   if (altar->msg)    if (altar->msg)
     (*info_map_func) (NDI_BLACK, altar->map, altar->msg);      new_info_map(NDI_BLACK, altar->map, altar->msg);
   return 1;    return 1;
 }  }
   


Legend:
line(s) removed in v.1.25 
line(s) changed
 line(s) added in v.1.26

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