Difference for socket/request.c from version 1.31 to 1.32


version 1.31 version 1.32
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *    "$Id: request.c,v 1.31 2001/12/16 03:31:03 mwedel Exp $";   *    "$Id: request.c,v 1.32 2001/12/23 08:17:36 mwedel Exp $";
  */   */
   
 /*  /*
Line 1564
 
Line 1564
     cs_write_string(&pl->contr->socket,buf,strlen(buf));      cs_write_string(&pl->contr->socket,buf,strlen(buf));
 }  }
   
 /* sends a mapstats cmd to the players client, after the player had entered the map.  
  * Cmd sends map width / map height + mapinfo string.  
  * TEST: x and y of the map entry. Perhaps we must stay with it.  
  * Inside the mapinfo string can be all special tags used by magic mouth string.  
  * This means in first place the media tags. Its used to set the background sound,  
  * but it can also trigger a mpepg when ever included in CF.  
  * The "real text part" of the string is the map name/location name.  
  * Remember that we in the Editor, this all can be seperated in special parts  
  * (like background sound settings, etc.). MT  
  */  
 void send_mapstats_cmd(object *op, mapstruct *map)  
 {  
     char tmp[2024];  
     sprintf(tmp,"mapstats %d %d %d %d %s", map->width, map->height, op->x, op->y, map->name);  
     Write_String_To_Socket(&op->contr->socket, tmp, strlen(tmp));  
 }  


Legend:
line(s) removed in v.1.31 
line(s) changed
 line(s) added in v.1.32

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