Difference for socket/info.c from version 1.24 to 1.25


version 1.24 version 1.25
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_sock_info_c =   * static char *rcsid_sock_info_c =
  *   "$Id: info.c,v 1.24 2005/05/29 17:35:54 tchize Exp $";   *   "$Id: info.c,v 1.25 2006/02/10 23:59:28 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 90
 
Line 90
  * Else sends message to player via esrv_print_msg   * Else sends message to player via esrv_print_msg
  */   */
   
 static void print_message(int colr, object *pl,const char *tmp) {  static void print_message(int colr, const object *pl, const char *tmp) {
   
   if(tmp == (char *) NULL) {    if(tmp == (char *) NULL) {
     tmp="[NULL]";      tmp="[NULL]";
Line 112
 
Line 112
  * and clears the string.   * and clears the string.
  */   */
   
 void flush_output_element(object *pl, Output_Buf *outputs)  void flush_output_element(const object *pl, Output_Buf *outputs)
 {  {
     char tbuf[MAX_BUF];      char tbuf[MAX_BUF];
   
Line 139
 
Line 139
  * and adds message to queue.   * and adds message to queue.
  */   */
   
 void check_output_buffers(object *pl, const char *buf)  static void check_output_buffers(const object *pl, const char *buf)
 {  {
     int i, oldest=0;      int i, oldest=0;
   
Line 194
 
Line 194
  *   *
  */   */
   
 void new_draw_info(int flags,int pri, object *pl, const char *buf)  void new_draw_info(int flags, int pri, const object *pl, const char *buf)
 {  {
   
     if (flags & NDI_ALL) {      if (flags & NDI_ALL) {
Line 240
 
Line 240
  * client/server bandwidth (client could keep track of various strings   * client/server bandwidth (client could keep track of various strings
  */   */
   
 void new_draw_info_format(int flags, int pri,object *pl, const char *format, ...)  void new_draw_info_format(int flags, int pri, const object *pl, const char *format, ...)
 {  {
     char buf[HUGE_BUF];      char buf[HUGE_BUF];
   
Line 256
 
Line 256
   
   
 void draw_ext_info(  void draw_ext_info(
         int flags, int pri, object *pl, uint8 type,           int flags, int pri, const object *pl, uint8 type,
         uint8 subtype, const char* message, const char* oldmessage){          uint8 subtype, const char* message, const char* oldmessage){
                          
     if(!pl || (pl->type!=PLAYER) || (pl->contr==NULL))      if(!pl || (pl->type!=PLAYER) || (pl->contr==NULL))
Line 279
 
Line 279
 }  }
   
 void draw_ext_info_format(  void draw_ext_info_format(
         int flags, int pri, object *pl, uint8 type,           int flags, int pri, const object *pl, uint8 type,
         uint8 subtype, const char* old_format,           uint8 subtype, const char* old_format,
         char* new_format, ...){          char* new_format, ...){
                          


Legend:
line(s) removed in v.1.24 
line(s) changed
 line(s) added in v.1.25

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