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


version 1.29 version 1.30
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *    "$Id: request.c,v 1.29 2001/12/03 07:51:46 mwedel Exp $";   *    "$Id: request.c,v 1.30 2001/12/04 03:49:18 michtoen 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.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:37