Difference for server/spell_attack.c from version 1.35 to 1.36


version 1.35 version 1.36
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_attack_c =   * static char *rcsid_spell_attack_c =
  *   "$Id: spell_attack.c,v 1.35 2006/04/06 21:18:36 tchize Exp $";   *   "$Id: spell_attack.c,v 1.36 2006/05/05 09:26:35 ryo_saeba Exp $";
  */   */
   
   
Line 47
 
Line 47
  * op is the spell object.   * op is the spell object.
  */   */
   
 void check_spell_knockback(object *op) {  static void check_spell_knockback(object *op) {
     object *tmp, *tmp2; /* object on the map */      object *tmp, *tmp2; /* object on the map */
     int weight_move;      int weight_move;
  int frictionmod=2; /*poor man's physics - multipy targets weight by this amount */   int frictionmod=2; /*poor man's physics - multipy targets weight by this amount */
Line 111
 
Line 111
  * is the first piece of the fork.   * is the first piece of the fork.
  */   */
   
 void forklightning(object *op, object *tmp) {  static void forklightning(object *op, object *tmp) {
     int new_dir=1;  /* direction or -1 for left, +1 for right 0 if no new bolt */      int new_dir=1;  /* direction or -1 for left, +1 for right 0 if no new bolt */
     int t_dir; /* stores temporary dir calculation */      int t_dir; /* stores temporary dir calculation */
     mapstruct *m;      mapstruct *m;
Line 375
 
Line 375
  * poison cloud ball, etc.  op is the object to   * poison cloud ball, etc.  op is the object to
  * explode.   * explode.
  */   */
 void explode_bullet(object *op)  static void explode_bullet(object *op)
 {  {
     tag_t op_tag = op->count;      tag_t op_tag = op->count;
     object *tmp, *owner;      object *tmp, *owner;
Line 659
 
Line 659
   
   
 /* drops an object based on what is in the cone's "other_arch" */  /* drops an object based on what is in the cone's "other_arch" */
 void cone_drop(object *op) {  static void cone_drop(object *op) {
     object *new_ob = arch_to_object(op->other_arch);      object *new_ob = arch_to_object(op->other_arch);
   
     new_ob->x = op->x;      new_ob->x = op->x;
Line 997
 
Line 997
  * this info is used for blocked magic/unholy spaces.   * this info is used for blocked magic/unholy spaces.
  */   */
    
 object *get_pointed_target(object *op, int dir, int range, int type) {  static object *get_pointed_target(object *op, int dir, int range, int type) {
     object *target;      object *target;
     sint16 x,y;      sint16 x,y;
     int dist, mflags;      int dist, mflags;
Line 1199
 
Line 1199
  * give them the capability to have an inventory. b.t.   * give them the capability to have an inventory. b.t.
  */   */
   
 int make_object_glow(object *op, int radius, int time) {  static int make_object_glow(object *op, int radius, int time) {
     object *tmp;      object *tmp;
   
     /* some things are unaffected... */      /* some things are unaffected... */


Legend:
line(s) removed in v.1.35 
line(s) changed
 line(s) added in v.1.36

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