Difference for socket/request.c from version 1.20 to 1.21


version 1.20 version 1.21
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *    "$Id: request.c,v 1.20 2001/07/20 06:04:23 mwedel Exp $";   *    "$Id: request.c,v 1.21 2001/07/22 18:48:47 smacfiggen Exp $";
  */   */
   
 /*  /*
Line 156
 
Line 156
      /* if beyond this size, need to use map1cmd no matter what */       /* if beyond this size, need to use map1cmd no matter what */
      if (ns->mapx>11 || ns->mapy>11) ns->map1cmd=1;       if (ns->mapx>11 || ns->mapy>11) ns->map1cmd=1;
      strcat(cmdback, ns->map1cmd?"1":"0");       strcat(cmdback, ns->map1cmd?"1":"0");
           } else if (!strcmp(cmd,"newmapcmd")) {
               ns->newmapcmd= atoi(param);
               strcat(cmdback, param);
  } else if (!strcmp(cmd,"mapsize")) {   } else if (!strcmp(cmd,"mapsize")) {
      int x, y=0;       int x, y=0;
      char tmpbuf[MAX_BUF], *cp;       char tmpbuf[MAX_BUF], *cp;
Line 489
 
Line 492
     draw_client_map(pl->ob);      draw_client_map(pl->ob);
 }  }
   
   void MapNewmapCmd( player *pl)
   {
       if( pl->socket.newmapcmd == 1)
           Write_String_To_Socket( &pl->socket, "newmap", 6);
   }
   
   
 /* client has requested pixmap that it somehow missed getting  /* client has requested pixmap that it somehow missed getting
  * This will be called often if the client is   * This will be called often if the client is


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

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