Difference for socket/item.c from version 1.19 to 1.20


version 1.19 version 1.20
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *    "$Id: item.c,v 1.19 2001/10/30 00:49:03 michtoen Exp $";   *    "$Id: item.c,v 1.20 2001/11/27 04:33:46 michtoen Exp $";
  */   */
   
 /*  /*
Line 169
 
Line 169
  SockList_AddInt(&sl, 0);   SockList_AddInt(&sl, 0);
  SockList_AddInt(&sl, -1);   SockList_AddInt(&sl, -1);
  SockList_AddInt(&sl, empty_face->number);   SockList_AddInt(&sl, empty_face->number);
       if(pl->contr->socket.ext2)
       {
           SockList_AddChar(&sl, 0);
           SockList_AddChar(&sl, 0);
       }
  sprintf(buf,"Click here to see %d previous items", NUM_LOOK_OBJECTS);   sprintf(buf,"Click here to see %d previous items", NUM_LOOK_OBJECTS);
  add_stringlen_to_sockbuf(buf, &sl);   add_stringlen_to_sockbuf(buf, &sl);
  SockList_AddShort(&sl,0);   SockList_AddShort(&sl,0);
Line 190
 
Line 195
  SockList_AddInt(&sl, 0);   SockList_AddInt(&sl, 0);
  SockList_AddInt(&sl, -1);   SockList_AddInt(&sl, -1);
  SockList_AddInt(&sl, empty_face->number);   SockList_AddInt(&sl, empty_face->number);
           if(pl->contr->socket.ext2)
           {
               SockList_AddChar(&sl, 0);
               SockList_AddChar(&sl, 0);
           }
  sprintf(buf,"Click here to see next group of items");   sprintf(buf,"Click here to see next group of items");
  add_stringlen_to_sockbuf(buf, &sl);   add_stringlen_to_sockbuf(buf, &sl);
  SockList_AddShort(&sl,0);   SockList_AddShort(&sl,0);
Line 212
 
Line 222
      SockList_AddInt(&sl, flags);       SockList_AddInt(&sl, flags);
      SockList_AddInt(&sl, QUERY_FLAG(tmp, FLAG_NO_PICK) ? -1 : WEIGHT(tmp));       SockList_AddInt(&sl, QUERY_FLAG(tmp, FLAG_NO_PICK) ? -1 : WEIGHT(tmp));
      SockList_AddInt(&sl, tmp->face->number);       SockList_AddInt(&sl, tmp->face->number);
           if(pl->contr->socket.ext2)
           {
               SockList_AddChar(&sl, tmp->type);
               SockList_AddChar(&sl, tmp->sub_type1);
           }
      if (pl->contr->socket.sc_version>=1024) {       if (pl->contr->socket.sc_version>=1024) {
  int len;   int len;
  char *item_p,item_n[MAX_BUF];   char *item_p,item_n[MAX_BUF];
Line 292
 
Line 307
      SockList_AddInt(&sl, flags);       SockList_AddInt(&sl, flags);
      SockList_AddInt(&sl, QUERY_FLAG(tmp, FLAG_NO_PICK) ? -1 : WEIGHT(tmp));       SockList_AddInt(&sl, QUERY_FLAG(tmp, FLAG_NO_PICK) ? -1 : WEIGHT(tmp));
      SockList_AddInt(&sl, tmp->face->number);       SockList_AddInt(&sl, tmp->face->number);
           if(pl->contr->socket.ext2)
           {
               SockList_AddChar(&sl, tmp->type);
               SockList_AddChar(&sl, tmp->sub_type1);
           }
   
      if (pl->contr->socket.sc_version>=1024) {       if (pl->contr->socket.sc_version>=1024) {
  int len;   int len;
Line 469
 
Line 489
     SockList_AddInt(&sl, query_flags(op));      SockList_AddInt(&sl, query_flags(op));
     SockList_AddInt(&sl, WEIGHT(op));      SockList_AddInt(&sl, WEIGHT(op));
     SockList_AddInt(&sl, op->face->number);      SockList_AddInt(&sl, op->face->number);
       if(pl->contr->socket.ext2)
       {
           SockList_AddChar(&sl, op->type);
           SockList_AddChar(&sl, op->sub_type1);
       }
   
     if (pl->contr->socket.sc_version>=1024) {      if (pl->contr->socket.sc_version>=1024) {
  int len;   int len;


Legend:
line(s) removed in v.1.19 
line(s) changed
 line(s) added in v.1.20

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