Difference for common/player.c from version 1.5 to 1.6


version 1.5 version 1.6
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.5 2001/02/01 06:18:48 cvs Exp $";   *   "$Id: player.c,v 1.6 2001/02/27 03:41:25 mwedel Exp $";
  */   */
   
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
   
     Copyright (C) 1994 Mark Wedel      Copyright (C) 2001 Mark Wedel
     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 23
 
Line 23
     along with this program; if not, write to the Free Software      along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   
     The author can be reached via e-mail to master@rahul.net      The author can be reached via e-mail to mwedel@scruz.net
 */  */
   
 #include <global.h>  #include <global.h>
Line 32
 
Line 32
 /*  /*
  * Returns a newly allocated and initialised and correctly   * Returns a newly allocated and initialised and correctly
  * linked player structure.   * linked player structure.
    * This no longer creates the ob structure within the player -
    * parent wasn't using it anyways.
  */   */
   
 player *get_player_ob() {  player *get_player_ob() {
Line 59
 
Line 61
   
   new->use_pixmaps=0;    new->use_pixmaps=0;
   new->color_pixmaps=0;    new->color_pixmaps=0;
   new->ob = get_object();    new->ob = NULL;
   new->ob->type = PLAYER;  
   new->ob->contr = new;  
   new->ob->name = add_string("logon");  
   new->shoottype = range_none;    new->shoottype = range_none;
   new->last_shoot = range_size;    new->last_shoot = range_size;
   new->braced =0;    new->braced =0;


Legend:
line(s) removed in v.1.5 
line(s) changed
 line(s) added in v.1.6

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