Difference for server/player.c from version 1.28 to 1.29


version 1.28 version 1.29
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.28 2000/12/17 00:39:16 cvs Exp $";   *   "$Id: player.c,v 1.29 2000/12/18 07:38:25 cvs Exp $";
  */   */
   
 /*  /*
Line 188
 
Line 188
     op->contr=p; /* this aren't yet in archetype */      op->contr=p; /* this aren't yet in archetype */
     op->speed_left=0.5;      op->speed_left=0.5;
     op->speed=1.0;      op->speed=1.0;
     op->direction=0;      op->direction=5;     /* So player faces south */
     op->stats.wc=2;      op->stats.wc=2;
     op->run_away = 25; /* Then we panick... */      op->run_away = 25; /* Then we panick... */
   
Line 209
 
Line 209
     p->last_spell= -1;      p->last_spell= -1;
     p->last_value= -1;      p->last_value= -1;
     p->last_speed= -1;      p->last_speed= -1;
     p->shoottype=range_none,p->shootstrength=5;      p->shoottype=range_none;
     p->last_shoot= range_bottom;      p->last_shoot= range_bottom;
     p->listening=9;      p->listening=9;
     p->golem=NULL;      p->golem=NULL;
Line 621
 
Line 621
   
      enter_exit(op,NULL);       enter_exit(op,NULL);
   
        SET_ANIMATION(op, 2);     /* So player faces south */
      /* Enter exit adds a player otherwise */       /* Enter exit adds a player otherwise */
      if(op->contr->loading == NULL) {       if(op->contr->loading == NULL) {
  insert_ob_in_map(op,op->map,op);   insert_ob_in_map(op,op->map,op);
Line 734
 
Line 735
       op->name = name;        op->name = name;
       op->x = x;        op->x = x;
       op->y = y;        op->y = y;
         SET_ANIMATION(op, 2);    /* So player faces south */
       insert_ob_in_map (op, op->map, op);        insert_ob_in_map (op, op->map, op);
       strncpy(op->contr->title,op->arch->clone.name,MAX_NAME);        strncpy(op->contr->title,op->arch->clone.name,MAX_NAME);
       add_statbonus(op);        add_statbonus(op);


Legend:
line(s) removed in v.1.28 
line(s) changed
 line(s) added in v.1.29

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