Difference for common/glue.c from version 1.10 to 1.11


version 1.10 version 1.11
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_glue_c =   * static char *rcsid_glue_c =
  *   "$Id: glue.c,v 1.10 2003/03/24 06:58:07 mwedel Exp $";   *   "$Id: glue.c,v 1.11 2003/10/26 06:56:56 mwedel Exp $";
  */   */
   
 /*  /*
Line 57
 
Line 57
 type_func_map set_darkness_map_func;  type_func_map set_darkness_map_func;
 type_func_dragon_gain dragon_gain_func;  type_func_dragon_gain dragon_gain_func;
 type_func_char  weather_effect_func;  type_func_char  weather_effect_func;
   type_ob_func_ob_int find_skill_by_number_func;
   
 static char *fatalmsgs[80]={  static char *fatalmsgs[80]={
   "Failed to allocate memory",    "Failed to allocate memory",
Line 97
 
Line 98
   set_darkness_map_func = dummy_function_map;    set_darkness_map_func = dummy_function_map;
   dragon_gain_func = dummy_function_dragongain;    dragon_gain_func = dummy_function_dragongain;
   weather_effect_func = dummy_function_char;    weather_effect_func = dummy_function_char;
     find_skill_by_number_func = dummy_ob_function_ob_int;
 }  }
   
 /*  /*
Line 234
 
Line 236
   weather_effect_func = addr;    weather_effect_func = addr;
 }  }
   
   void set_find_skill_by_number_func(type_ob_func_ob_int addr) {
     find_skill_by_number_func = addr;
   }
   
   
 /*  /*
  * fatal() is meant to be called whenever a fatal signal is intercepted.   * fatal() is meant to be called whenever a fatal signal is intercepted.
  * It will call the emergency_save and the clean_tmp_files functions.   * It will call the emergency_save and the clean_tmp_files functions.
Line 285
 
Line 292
 void dummy_function_ob_int(object *ob, int i) {  void dummy_function_ob_int(object *ob, int i) {
 }  }
   
   object * dummy_ob_function_ob_int(object *ob, int i) {
       return NULL;
   }
   
 void dummy_function_txtnr(char *txt, int nr) {  void dummy_function_txtnr(char *txt, int nr) {
   fprintf(logfile,"%d: %s\n",nr,txt);    fprintf(logfile,"%d: %s\n",nr,txt);
 }  }


Legend:
line(s) removed in v.1.10 
line(s) changed
 line(s) added in v.1.11

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