Difference for socket/item.c from version 1.29 to 1.30


version 1.29 version 1.30
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *    "$Id: item.c,v 1.29 2004/06/13 17:30:38 akirschbaum Exp $";   *    "$Id: item.c,v 1.30 2005/03/19 09:14:57 mwedel Exp $";
  */   */
   
 /*  /*
Line 168
 
Line 168
   
     SockList_AddInt(&sl, 0);      SockList_AddInt(&sl, 0);
   
     if (!pl->contr->socket.faces_sent[empty_face->number])      if (!(pl->contr->socket.faces_sent[empty_face->number]&NS_FACESENT_FACE))
  esrv_send_face(&pl->contr->socket, empty_face->number,0);   esrv_send_face(&pl->contr->socket, empty_face->number,0);
   
     if (pl->contr->socket.look_position) {      if (pl->contr->socket.look_position) {
Line 215
 
Line 215
      flags = query_flags (tmp);       flags = query_flags (tmp);
      if (QUERY_FLAG(tmp, FLAG_NO_PICK))       if (QUERY_FLAG(tmp, FLAG_NO_PICK))
  flags |=  F_NOPICK;   flags |=  F_NOPICK;
      if (!pl->contr->socket.faces_sent[tmp->face->number])       if (!(pl->contr->socket.faces_sent[tmp->face->number] & NS_FACESENT_FACE))
  esrv_send_face(&pl->contr->socket, tmp->face->number,0);   esrv_send_face(&pl->contr->socket, tmp->face->number,0);
   
      if (QUERY_FLAG(tmp,FLAG_ANIMATE) &&        if (QUERY_FLAG(tmp,FLAG_ANIMATE) &&
Line 307
 
Line 307
      flags = query_flags (tmp);       flags = query_flags (tmp);
      if (QUERY_FLAG(tmp, FLAG_NO_PICK))       if (QUERY_FLAG(tmp, FLAG_NO_PICK))
  flags |=  F_NOPICK;   flags |=  F_NOPICK;
      if (!pl->contr->socket.faces_sent[tmp->face->number])       if (!(pl->contr->socket.faces_sent[tmp->face->number] & NS_FACESENT_FACE))
  esrv_send_face(&pl->contr->socket, tmp->face->number,0);   esrv_send_face(&pl->contr->socket, tmp->face->number,0);
      if (QUERY_FLAG(tmp,FLAG_ANIMATE) &&        if (QUERY_FLAG(tmp,FLAG_ANIMATE) &&
     !pl->contr->socket.anims_sent[tmp->animation_id])      !pl->contr->socket.anims_sent[tmp->animation_id])
Line 423
 
Line 423
     }      }
   
     if (flags & UPD_FACE) {      if (flags & UPD_FACE) {
  if (!pl->contr->socket.faces_sent[op->face->number])   if (!(pl->contr->socket.faces_sent[op->face->number] & NS_FACESENT_FACE))
      esrv_send_face(&pl->contr->socket, op->face->number,0);       esrv_send_face(&pl->contr->socket, op->face->number,0);
  SockList_AddInt(&sl, op->face->number);   SockList_AddInt(&sl, op->face->number);
     }      }
Line 504
 
Line 504
   
     SockList_AddInt(&sl, op->env? op->env->count:0);      SockList_AddInt(&sl, op->env? op->env->count:0);
   
     if (!pl->contr->socket.faces_sent[op->face->number])      if (!(pl->contr->socket.faces_sent[op->face->number] & NS_FACESENT_FACE))
  esrv_send_face(&pl->contr->socket, op->face->number,0);   esrv_send_face(&pl->contr->socket, op->face->number,0);
     if (op->env && QUERY_FLAG(op,FLAG_ANIMATE) &&      if (op->env && QUERY_FLAG(op,FLAG_ANIMATE) &&
     !pl->contr->socket.anims_sent[op->animation_id])      !pl->contr->socket.anims_sent[op->animation_id])


Legend:
line(s) removed in v.1.29 
line(s) changed
 line(s) added in v.1.30

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:35