Difference for server/commands.c from version 1.61 to 1.62


version 1.61 version 1.62
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_commands_c =   * static char *rcsid_commands_c =
  *   "$Id: commands.c,v 1.61 2006/05/05 09:26:34 ryo_saeba Exp $";   *   "$Id: commands.c,v 1.62 2006/06/05 06:28:56 mwedel Exp $";
  */   */
   
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
   
     Copyright (C) 2002 Mark Wedel & Crossfire Development Team      Copyright (C) 2006 Mark Wedel & Crossfire Development Team
     Copyright (C) 1992 Frank Tore Johansen      Copyright (C) 1992 Frank Tore Johansen
   
     This program is free software; you can redistribute it and/or modify      This program is free software; you can redistribute it and/or modify
Line 238
 
Line 238
   {"hide", command_hide,0.0},    {"hide", command_hide,0.0},
   {"insert_into", command_insert_into,0.0},    {"insert_into", command_insert_into,0.0},
   {"invisible", command_invisible,0.0},    {"invisible", command_invisible,0.0},
   {"kick", command_kick, 0.0},    {"kick", (command_function)command_kick, 0.0},
   {"learn_special_prayer", command_learn_special_prayer, 0.0},    {"learn_special_prayer", command_learn_special_prayer, 0.0},
   {"learn_spell", command_learn_spell, 0.0},    {"learn_spell", command_learn_spell, 0.0},
   {"plugin",command_loadplugin,0.0},    {"plugin",command_loadplugin,0.0},
Line 355
 
Line 355
   return NULL;    return NULL;
 }  }
   
   #if 0
   /* find_command is only used by parse_string, so if parse_string
    * isn't needed, neither is find_command.  But parse_string
    * is only used by parse_command.
    * MSW 2006-06-02
    */
   
 static command_function find_command(char *cmd)  static command_function find_command(char *cmd)
 {  {
   command_array_struct *asp, dummy;    command_array_struct *asp, dummy;
Line 400
 
Line 407
   return NULL;    return NULL;
 }  }
   
   /* parse_string is only used by parse_command, so if parse_command
    * isn't needed, neither is parse_string
    * MSW 2006-06-02
    */
   
 /**  /**
  * parse_string may be called from a player in the game or from a socket   * parse_string may be called from a player in the game or from a socket
Line 468
 
Line 479
 }  }
   
   
   /* Parse command is no longer used - should probably be removed.
    * MSW 2006-06-02
    */
   
 /**  this function handles splitting up a ; separated  /**  this function handles splitting up a ; separated
  *  compound command into sub-commands:  it is recursive.   *  compound command into sub-commands:  it is recursive.
  */   */
Line 504
 
Line 519
   }    }
   return 0;    return 0;
 }  }
   #endif


Legend:
line(s) removed in v.1.61 
line(s) changed
 line(s) added in v.1.62

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:31