Difference for server/init.c from version 1.63 to 1.64


version 1.63 version 1.64
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *   "$Id: init.c,v 1.63 2005/07/10 12:55:31 akirschbaum Exp $";   *   "$Id: init.c,v 1.64 2005/07/15 13:51:51 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 694
 
Line 694
   
     init_startup(); /* Write (C), check shutdown/forbid files */      init_startup(); /* Write (C), check shutdown/forbid files */
     init_signals(); /* Sets up signal interceptions */      init_signals(); /* Sets up signal interceptions */
     setup_library(); /* Set up callback function pointers */  
     init_commands(); /* Sort command tables */      init_commands(); /* Sort command tables */
     read_map_log(); /* Load up the old temp map files */      read_map_log(); /* Load up the old temp map files */
     init_skills();      init_skills();
Line 976
 
Line 975
 #endif /* win32 */  #endif /* win32 */
 }  }
   
 /*  
  * init_library: Set up the function pointers which will point  
  * back from the library into the server.  
  */  
 void setup_library() {  
   set_emergency_save(emergency_save);  
   set_clean_tmp_files(clean_tmp_files);  
   set_fix_auto_apply(fix_auto_apply);  
   set_remove_friendly_object(remove_friendly_object);  
   set_process_active_maps(process_active_maps);  
   set_update_buttons(update_buttons);  
   set_draw_info(new_draw_info);  
   set_move_apply(move_apply);  
   set_monster_check_apply(monster_check_apply);  
   set_move_teleporter(move_teleporter);  
   set_move_firewall(move_firewall);  
   set_move_creator(move_creator);  
   set_move_trigger_marker(move_marker);  
   set_move_duplicator(move_duplicator);  
   set_trap_adjust(trap_adjust);  
   set_esrv_send_item(esrv_send_item);  
   set_esrv_del_item(esrv_del_item);  
   set_esrv_update_item(esrv_update_item);  
   set_info_map(new_info_map);  
   set_set_darkness_map(set_darkness_map);  
   set_dragon_gain_func(dragon_ability_gain);  
   set_weather_effect_func(weather_effect);  
   set_find_skill_by_number_func(find_skill_by_number);  
 }  
   
 /* init_races() - reads the races file in the lib/ directory, then  /* init_races() - reads the races file in the lib/ directory, then
  * overwrites old 'race' entries. This routine allow us to quickly   * overwrites old 'race' entries. This routine allow us to quickly
  * re-configure the 'alignment' of monsters, objects. Useful for   * re-configure the 'alignment' of monsters, objects. Useful for


Legend:
line(s) removed in v.1.63 
line(s) changed
 line(s) added in v.1.64

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