File db.c

* declarations of most of the 'global' variables *


Included Files


Preprocessor definitions

#define __DB_C__

#define READ_SIZE 256

#define ZCMD

#define CASE( test )

#define RANGE( low, high )

#define Z

#define ZO_DEAD 999

#define ZONE_ERROR( message )


Global Variable weather_info

struct weather_data weather_info
Visible in:  act.comm.c
   act.informative.c
   act.item.c
   act.movement.c
   act.offensive.c
   act.other.c
   act.social.c
   act.wizard.c
   alias.c
   ban.c
   boards.c
   castle.c
   class.c
   comm.c
   db.c
   fight.c
   graph.c
   handler.c
   house.c
   interpreter.c
   limits.c
   magic.c
   mail.c
   mobact.c
   modify.c
   objsave.c
   olc.c
   shop.c
   spec_assign.c
   spec_procs.c
   spell_parser.c
   spells.c
   utils.c
   weather.c
Used in: Crash_report_rent()objsave.c
  Crash_report_unrentables()objsave.c
  act()comm.c
  add_follower()utils.c
  another_hour()weather.c
  cityguard()spec_procs.c
  diag_char_to_char()act.informative.c
  do_assist()act.offensive.c
  do_dc()act.wizard.c
  do_equipment()act.informative.c
  do_exits()act.informative.c
  do_get()act.item.c
  do_give()act.item.c
  do_look()act.informative.c
  do_put()act.item.c
  do_remove()act.item.c
  do_score()act.informative.c
  do_show()act.wizard.c
  do_stat_character()act.wizard.c
  do_stat_room()act.wizard.c
  do_steal()act.other.c
  do_users()act.informative.c
  do_wear()act.item.c
  do_weather()act.informative.c
  do_who()act.informative.c
  do_wiznet()act.wizard.c
  do_write()act.comm.c
  gen_receptionist()objsave.c
  get_char_room_vis()handler.c
  get_char_world_vis()handler.c
  get_from_container()act.item.c
  get_from_room()act.item.c
  get_hash_obj_vis()shop.c
  get_obj_in_list_vis()handler.c
  get_obj_vis()handler.c
  get_object_in_equip_vis()handler.c
  get_player_vis()handler.c
  get_slide_obj_vis()shop.c
  is_ok_char()shop.c
  list_char_to_char()act.informative.c
  list_obj_to_char()act.informative.c
  list_one_char()act.informative.c
  look_at_char()act.informative.c
  look_at_room()act.informative.c
  look_at_target()act.informative.c
  mobile_activity()mobact.c
  npc_steal()spec_procs.c
  perform_act()comm.c
  perform_group()act.other.c
  perform_immort_where()act.informative.c
  perform_mortal_where()act.informative.c
  print_object_location()act.informative.c
  reset_time()db.c
  shopping_list()shop.c
  spell_locate_object()spells.c
  weather_change()weather.c

Global Variable buf

char buf[8192]
Included from db.h
Visible in:  act.comm.c
   act.informative.c
   act.item.c
   act.movement.c
   act.offensive.c
   act.other.c
   act.social.c
   act.wizard.c
   alias.c
   ban.c
   boards.c
   castle.c
   class.c
   comm.c
   db.c
   fight.c
   graph.c
   handler.c
   house.c
   interpreter.c
   limits.c
   magic.c
   mail.c
   mobact.c
   modify.c
   objsave.c
   olc.c
   shop.c
   spec_assign.c
   spec_procs.c
   spell_parser.c
   spells.c
   utils.c
   weather.c
Used in: Crash_load()objsave.c
  Crash_rent_deadline()objsave.c
  bank()spec_procs.c
  check_idling()limits.c
  check_object()db.c
  diag_char_to_char()act.informative.c
  do_action()act.social.c
  do_advance()act.wizard.c
  do_alias()interpreter.c
  do_at()act.wizard.c
  do_auto_exits()act.informative.c
  do_backstab()act.offensive.c
  do_ban()ban.c
  do_cast()spell_parser.c
  do_color()act.informative.c
  do_commands()act.informative.c
  do_consider()act.informative.c
  do_date()act.wizard.c
  do_dc()act.wizard.c
  do_diagnose()act.informative.c
  do_doorcmd()act.movement.c
  do_drink()act.item.c
  do_drop()act.item.c
  do_eat()act.item.c
  do_echo()act.wizard.c
  do_enter()act.movement.c
  do_exits()act.informative.c
  do_follow()act.movement.c
  do_force()act.wizard.c
  do_gecho()act.wizard.c
  do_gen_comm()act.comm.c
  do_gen_door()act.movement.c
  do_gen_ps()act.informative.c
  do_get()act.item.c
  do_give()act.item.c
  do_gold()act.informative.c
  do_goto()act.wizard.c
  do_grab()act.item.c
  do_group()act.other.c
  do_gsay()act.comm.c
  do_insult()act.social.c
  do_last()act.wizard.c
  do_levels()act.informative.c
  do_load()act.wizard.c
  do_olc()olc.c
  do_order()act.offensive.c
  do_page()act.comm.c
  do_pour()act.item.c
  do_purge()act.wizard.c
  do_put()act.item.c
  do_qcomm()act.comm.c
  do_quit()act.other.c
  do_remove()act.item.c
  do_report()act.other.c
  do_restore()act.wizard.c
  do_save()act.other.c
  do_say()act.comm.c
  do_score()act.informative.c
  do_send()act.wizard.c
  do_set()act.wizard.c
  do_show()act.wizard.c
  do_spec_comm()act.comm.c
  do_split()act.other.c
  do_start()class.c
  do_stat_character()act.wizard.c
  do_stat_object()act.wizard.c
  do_stat_room()act.wizard.c
  do_steal()act.other.c
  do_syslog()act.wizard.c
  do_teleport()act.wizard.c
  do_tell()act.comm.c
  do_time()act.informative.c
  do_title()act.other.c
  do_toggle()act.informative.c
  do_track()graph.c
  do_trans()act.wizard.c
  do_unban()ban.c
  do_ungroup()act.other.c
  do_use()act.other.c
  do_users()act.informative.c
  do_vnum()act.wizard.c
  do_vstat()act.wizard.c
  do_wear()act.item.c
  do_weather()act.informative.c
  do_who()act.informative.c
  do_wield()act.item.c
  do_wimpy()act.other.c
  do_wizlock()act.wizard.c
  do_wizutil()act.wizard.c
  do_write()act.comm.c
  do_zreset()act.wizard.c
  find_eq_pos()act.item.c
  gain_exp_regardless()limits.c
  gen_receptionist()objsave.c
  get_check_money()act.item.c
  get_from_container()act.item.c
  get_from_room()act.item.c
  guild()spec_procs.c
  hcontrol_build_house()house.c
  hcontrol_list_houses()house.c
  hcontrol_pay_house()house.c
  hunt_victim()graph.c
  list_all_shops()shop.c
  list_detailed_shop()shop.c
  list_one_char()act.informative.c
  list_skills()spec_procs.c
  look_at_room()act.informative.c
  look_in_direction()act.informative.c
  look_in_obj()act.informative.c
  main()comm.c
  olc_bitvector()olc.c
  olc_interpreter()olc.c
  olc_string()olc.c
  parse_room()db.c
  perform_complex_alias()interpreter.c
  perform_drop()act.item.c
  perform_drop_gold()act.item.c
  perform_dupe_check()interpreter.c
  perform_give_gold()act.item.c
  perform_immort_invis()act.wizard.c
  perform_immort_where()act.informative.c
  perform_mortal_where()act.informative.c
  perform_tell()act.comm.c
  print_group()act.other.c
  print_object_location()act.informative.c
  read_line()shop.c
  read_type_list()shop.c
  sanity_check()comm.c
  say_spell()spell_parser.c
  show_obj_to_char()act.informative.c
  show_string()modify.c
  spell_identify()spells.c
  spell_locate_object()spells.c
  spell_summon()spells.c
  transaction_amt()shop.c
  vnum_mobile()db.c
  vnum_object()db.c

Global Variable buf1

char buf1[8192]
Included from db.h
Visible in:  act.comm.c
   act.informative.c
   act.item.c
   act.movement.c
   act.offensive.c
   act.other.c
   act.social.c
   act.wizard.c
   alias.c
   ban.c
   boards.c
   castle.c
   class.c
   comm.c
   db.c
   fight.c
   graph.c
   handler.c
   house.c
   interpreter.c
   limits.c
   magic.c
   mail.c
   mobact.c
   modify.c
   objsave.c
   olc.c
   shop.c
   spec_assign.c
   spec_procs.c
   spell_parser.c
   spells.c
   utils.c
   weather.c
Used in: do_force()act.wizard.c
  do_gen_comm()act.comm.c
  do_give()act.item.c
  do_stat()act.wizard.c
  do_stat_character()act.wizard.c
  do_stat_object()act.wizard.c
  do_stat_room()act.wizard.c
  do_users()act.informative.c
  do_who()act.informative.c
  do_wiznet()act.wizard.c
  do_write()act.comm.c
  index_boot()db.c
  list_all_shops()shop.c
  list_detailed_shop()shop.c
  main()comm.c
  sanity_check()comm.c
  say_spell()spell_parser.c

Global Variable buf2

char buf2[8192]
Included from db.h
Visible in:  act.comm.c
   act.informative.c
   act.item.c
   act.movement.c
   act.offensive.c
   act.other.c
   act.social.c
   act.wizard.c
   alias.c
   ban.c
   boards.c
   castle.c
   class.c
   comm.c
   db.c
   fight.c
   graph.c
   handler.c
   house.c
   interpreter.c
   limits.c
   magic.c
   mail.c
   mobact.c
   modify.c
   objsave.c
   olc.c
   shop.c
   spec_assign.c
   spec_procs.c
   spell_parser.c
   spells.c
   utils.c
   weather.c
Used in: damage()fight.c
  do_advance()act.wizard.c
  do_auto_exits()act.informative.c
  do_enter()act.movement.c
  do_exits()act.informative.c
  do_load()act.wizard.c
  do_page()act.comm.c
  do_send()act.wizard.c
  do_simple_move()act.movement.c
  do_spec_comm()act.comm.c
  do_stat()act.wizard.c
  do_stat_character()act.wizard.c
  do_stat_object()act.wizard.c
  do_stat_room()act.wizard.c
  do_teleport()act.wizard.c
  do_tell()act.comm.c
  do_toggle()act.informative.c
  do_ungroup()act.other.c
  do_use()act.other.c
  do_vnum()act.wizard.c
  do_vstat()act.wizard.c
  do_wiznet()act.wizard.c
  do_write()act.comm.c
  find_door()act.movement.c
  flush_queues()comm.c
  index_boot()db.c
  list_all_shops()shop.c
  list_skills()spec_procs.c
  load_zones()db.c
  look_at_room()act.informative.c
  look_in_obj()act.informative.c
  main()comm.c
  make_corpse()fight.c
  new_descriptor()comm.c
  olc_bitvector()olc.c
  parse_mobile()db.c
  parse_object()db.c
  parse_room()db.c
  perform_complex_alias()interpreter.c
  perform_group_gain()fight.c
  perform_move()act.movement.c
  sanity_check()comm.c
  say_spell()spell_parser.c
  setup_dir()db.c
  solo_gain()fight.c
  spell_identify()spells.c

Global Variable arg

char arg[8192]
Included from db.h
Visible in:  act.comm.c
   act.informative.c
   act.item.c
   act.movement.c
   act.offensive.c
   act.other.c
   act.social.c
   act.wizard.c
   alias.c
   ban.c
   boards.c
   castle.c
   class.c
   comm.c
   db.c
   fight.c
   graph.c
   handler.c
   house.c
   interpreter.c
   limits.c
   magic.c
   mail.c
   mobact.c
   modify.c
   objsave.c
   olc.c
   shop.c
   spec_assign.c
   spec_procs.c
   spell_parser.c
   spells.c
   utils.c
   weather.c
Used in: DicknDavid()castle.c
  command_interpreter()interpreter.c
  do_advance()act.wizard.c
  do_alias()interpreter.c
  do_assist()act.offensive.c
  do_bash()act.offensive.c
  do_cast()spell_parser.c
  do_color()act.informative.c
  do_commands()act.informative.c
  do_dc()act.wizard.c
  do_drink()act.item.c
  do_drop()act.item.c
  do_eat()act.item.c
  do_examine()act.informative.c
  do_force()act.wizard.c
  do_give()act.item.c
  do_grab()act.item.c
  do_hit()act.offensive.c
  do_house()house.c
  do_insult()act.social.c
  do_invis()act.wizard.c
  do_kick()act.offensive.c
  do_kill()act.offensive.c
  do_last()act.wizard.c
  do_look()act.informative.c
  do_olc()olc.c
  do_page()act.comm.c
  do_practice()act.other.c
  do_reboot()db.c
  do_remove()act.item.c
  do_rescue()act.offensive.c
  do_send()act.wizard.c
  do_show()act.wizard.c
  do_shutdown()act.wizard.c
  do_snoop()act.wizard.c
  do_switch()act.wizard.c
  do_syslog()act.wizard.c
  do_track()graph.c
  do_use()act.other.c
  do_users()act.informative.c
  do_wake()act.movement.c
  do_where()act.informative.c
  do_who()act.informative.c
  do_wield()act.item.c
  do_wimpy()act.other.c
  do_wizlock()act.wizard.c
  do_wizutil()act.wizard.c
  do_zreset()act.wizard.c
  get_id_by_name()db.c
  get_ptable_by_name()db.c
  mag_objectmagic()spell_parser.c
  main()comm.c
  sanity_check()comm.c
  shop_keeper()shop.c
  tim()castle.c
  tom()castle.c

Global Variable world

struct room_data* world
Visible in:  act.comm.c
   act.informative.c
   act.item.c
   act.movement.c
   act.offensive.c
   act.other.c
   act.social.c
   act.wizard.c
   boards.c
   castle.c
   comm.c
   db.c
   fight.c
   graph.c
   handler.c
   house.c
   interpreter.c
   limits.c
   magic.c
   mail.c
   mobact.c
   objsave.c
   olc.c
   shop.c
   spec_assign.c
   spec_procs.c
   spell_parser.c
   spells.c
   utils.c
Used in: ASSIGNROOM()spec_assign.c
  Board_display_msg()boards.c
  Board_remove_msg()boards.c
  Crash_report_rent()objsave.c
  Crash_report_unrentables()objsave.c
  House_boot()house.c
  House_crashsave()house.c
  House_save_all()house.c
  VALID_EDGE()graph.c
  act()comm.c
  add_follower()utils.c
  assign_rooms()spec_assign.c
  call_magic()spell_parser.c
  castle_cleaner()castle.c
  char_from_room()handler.c
  char_to_room()handler.c
  check_killer()fight.c
  cityguard()spec_procs.c
  damage()fight.c
  death_cry()fight.c
  diag_char_to_char()act.informative.c
  do_assist()act.offensive.c
  do_auto_exits()act.informative.c
  do_bash()act.offensive.c
  do_cast()spell_parser.c
  do_dc()act.wizard.c
  do_doorcmd()act.movement.c
  do_drink()act.item.c
  do_enter()act.movement.c
  do_equipment()act.informative.c
  do_exits()act.informative.c
  do_flee()act.offensive.c
  do_force()act.wizard.c
  do_gen_comm()act.comm.c
  do_gen_door()act.movement.c
  do_gen_write()act.other.c
  do_get()act.item.c
  do_give()act.item.c
  do_house()house.c
  do_leave()act.movement.c
  do_look()act.informative.c
  do_npc_rescue()castle.c
  do_olc()olc.c
  do_pour()act.item.c
  do_purge()act.wizard.c
  do_put()act.item.c
  do_quit()act.other.c
  do_remove()act.item.c
  do_rescue()act.offensive.c
  do_save()act.other.c
  do_score()act.informative.c
  do_show()act.wizard.c
  do_simple_move()act.movement.c
  do_stat()act.wizard.c
  do_stat_character()act.wizard.c
  do_stat_object()act.wizard.c
  do_stat_room()act.wizard.c
  do_steal()act.other.c
  do_switch()act.wizard.c
  do_track()graph.c
  do_users()act.informative.c
  do_wear()act.item.c
  do_weather()act.informative.c
  do_who()act.informative.c
  do_wiznet()act.wizard.c
  do_write()act.comm.c
  do_zreset()act.wizard.c
  dump()spec_procs.c
  equip_char()handler.c
  fido()spec_procs.c
  find_board()boards.c
  find_door()act.movement.c
  find_first_step()graph.c
  find_guard()castle.c
  find_npc_by_name()castle.c
  find_target_room()act.wizard.c
  gen_receptionist()objsave.c
  generic_find()handler.c
  get_char_room()handler.c
  get_char_room_vis()handler.c
  get_char_world_vis()handler.c
  get_from_container()act.item.c
  get_from_room()act.item.c
  get_hash_obj_vis()shop.c
  get_obj_in_list_vis()handler.c
  get_obj_vis()handler.c
  get_object_in_equip_vis()handler.c
  get_player_vis()handler.c
  get_slide_obj_vis()shop.c
  get_victim()castle.c
  guild_guard()spec_procs.c
  hcontrol_build_house()house.c
  hcontrol_destroy_house()house.c
  index_boot()db.c
  is_empty()db.c
  is_ok_char()shop.c
  is_tell_ok()act.comm.c
  janitor()spec_procs.c
  list_char_to_char()act.informative.c
  list_detailed_shop()shop.c
  list_obj_to_char()act.informative.c
  list_one_char()act.informative.c
  log_death_trap()utils.c
  look_at_char()act.informative.c
  look_at_room()act.informative.c
  look_at_target()act.informative.c
  look_in_direction()act.informative.c
  mag_areas()magic.c
  mag_masses()magic.c
  mag_objectmagic()spell_parser.c
  magic_user()spec_procs.c
  mobile_activity()mobact.c
  npc_steal()spec_procs.c
  obj_from_room()handler.c
  obj_to_room()handler.c
  parse_room()db.c
  perform_act()comm.c
  perform_group()act.other.c
  perform_immort_invis()act.wizard.c
  perform_immort_where()act.informative.c
  perform_mortal_where()act.informative.c
  perform_move()act.movement.c
  pet_shops()spec_procs.c
  point_update()limits.c
  print_object_location()act.informative.c
  real_room()db.c
  renum_world()db.c
  reset_zone()db.c
  save_char()db.c
  say_spell()spell_parser.c
  send_to_outdoor()comm.c
  send_to_room()comm.c
  setup_dir()db.c
  shop_keeper()shop.c
  shopping_list()shop.c
  show_shops()shop.c
  special()interpreter.c
  spell_locate_object()spells.c
  spell_summon()spells.c
  spell_teleport()spells.c
  thief()spec_procs.c
  unequip_char()handler.c
  update_char_objects()handler.c

Global Variable top_of_world

room_rnum top_of_world
Visible in:  act.comm.c
   act.informative.c
   act.item.c
   act.movement.c
   act.offensive.c
   act.other.c
   act.social.c
   act.wizard.c
   alias.c
   ban.c
   boards.c
   castle.c
   class.c
   comm.c
   db.c
   fight.c
   graph.c
   handler.c
   house.c
   interpreter.c
   limits.c
   magic.c
   mail.c
   mobact.c
   modify.c
   objsave.c
   olc.c
   shop.c
   spec_assign.c
   spec_procs.c
   spell_parser.c
   spells.c
   utils.c
   weather.c
Used in: Board_display_msg()boards.c
  Board_remove_msg()boards.c
  assign_rooms()spec_assign.c
  char_to_room()handler.c
  damage()fight.c
  do_exits()act.informative.c
  do_force()act.wizard.c
  do_gen_write()act.other.c
  do_house()house.c
  do_olc()olc.c
  do_save()act.other.c
  do_show()act.wizard.c
  do_simple_move()act.movement.c
  do_stat_character()act.wizard.c
  do_stat_object()act.wizard.c
  do_stat_room()act.wizard.c
  do_switch()act.wizard.c
  find_first_step()graph.c
  find_target_room()act.wizard.c
  guild_guard()spec_procs.c
  hcontrol_build_house()house.c
  list_detailed_shop()shop.c
  log_death_trap()utils.c
  look_at_room()act.informative.c
  obj_to_room()handler.c
  parse_room()db.c
  perform_immort_where()act.informative.c
  print_object_location()act.informative.c
  real_room()db.c
  renum_world()db.c
  save_char()db.c
  setup_dir()db.c
  shop_keeper()shop.c
  show_shops()shop.c
  special()interpreter.c
  spell_teleport()spells.c

Global Variable character_list

struct char_data* character_list
Visible in:  act.comm.c
   act.informative.c
   act.movement.c
   act.wizard.c
   castle.c
   db.c
   graph.c
   handler.c
   interpreter.c
   limits.c
   magic.c
   mobact.c
   spec_procs.c
   spells.c
Used in: affect_update()magic.c
  create_char()db.c
  do_reply()act.comm.c
  do_show()act.wizard.c
  extract_char_final()handler.c
  extract_pending_chars()handler.c
  get_char_num()handler.c
  get_char_world_vis()handler.c
  get_player_vis()handler.c
  hunt_victim()graph.c
  mobile_activity()mobact.c
  nanny()interpreter.c
  perform_dupe_check()interpreter.c
  perform_immort_where()act.informative.c
  perform_mortal_where()act.informative.c
  point_update()limits.c
  read_mobile()db.c

Global Variable mob_index

struct index_data* mob_index
Visible in:  act.other.c
   act.wizard.c
   castle.c
   db.c
   fight.c
   handler.c
   interpreter.c
   mail.c
   mobact.c
   objsave.c
   shop.c
   spec_assign.c
   spec_procs.c
Used in: ASSIGNMOB()spec_assign.c
  assign_kings_castle()castle.c
  assign_the_shopkeepers()shop.c
  do_stat_character()act.wizard.c
  do_steal()act.other.c
  extract_char_final()handler.c
  free_char()db.c
  index_boot()db.c
  list_all_shops()shop.c
  list_detailed_shop()shop.c
  member_of_royal_guard()castle.c
  member_of_staff()castle.c
  mobile_activity()mobact.c
  ok_damage_shopkeeper()shop.c
  parse_mobile()db.c
  perform_violence()fight.c
  read_mobile()db.c
  real_mobile()db.c
  reset_zone()db.c
  special()interpreter.c
  vnum_mobile()db.c

Global Variable mob_proto

struct char_data* mob_proto
Visible in:  db.c
   olc.c
   shop.c
Used in: do_olc()olc.c
  free_char()db.c
  index_boot()db.c
  interpret_espec()db.c
  list_detailed_shop()shop.c
  parse_mobile()db.c
  parse_simple_mob()db.c
  read_mobile()db.c
  vnum_mobile()db.c

Global Variable top_of_mobt

mob_rnum top_of_mobt
Visible in:  act.wizard.c
   db.c
Used in: do_show()act.wizard.c
  parse_mobile()db.c
  real_mobile()db.c
  vnum_mobile()db.c

Global Variable object_list

struct obj_data* object_list
Visible in:  act.informative.c
   act.wizard.c
   db.c
   fight.c
   handler.c
   limits.c
   magic.c
   spells.c
Used in: create_obj()db.c
  do_show()act.wizard.c
  extract_obj()handler.c
  get_obj_num()handler.c
  get_obj_vis()handler.c
  perform_immort_where()act.informative.c
  point_update()limits.c
  read_object()db.c
  spell_locate_object()spells.c

Global Variable obj_index

struct index_data* obj_index
Visible in:  act.movement.c
   act.wizard.c
   castle.c
   db.c
   handler.c
   house.c
   interpreter.c
   magic.c
   objsave.c
   shop.c
   spec_assign.c
   spec_procs.c
   spells.c
Used in: ASSIGNOBJ()spec_assign.c
  House_listrent()house.c
  Obj_to_store()objsave.c
  check_object()db.c
  check_object_level()db.c
  check_object_spell_number()db.c
  do_stat_object()act.wizard.c
  extract_obj()handler.c
  has_key()act.movement.c
  index_boot()db.c
  list_detailed_shop()shop.c
  mag_materials()magic.c
  parse_object()db.c
  read_object()db.c
  real_object()db.c
  reset_zone()db.c
  special()interpreter.c
  vnum_object()db.c

Global Variable obj_proto

struct obj_data* obj_proto
Visible in:  act.item.c
   db.c
   olc.c
   shop.c
Used in: do_olc()olc.c
  free_obj()db.c
  index_boot()db.c
  list_detailed_shop()shop.c
  name_from_drinkcon()act.item.c
  name_to_drinkcon()act.item.c
  parse_object()db.c
  read_object()db.c
  shop_producing()shop.c
  slide_obj()shop.c
  vnum_object()db.c

Global Variable top_of_objt

obj_rnum top_of_objt
Visible in:  act.wizard.c
   db.c
Used in: do_show()act.wizard.c
  parse_object()db.c
  real_object()db.c
  vnum_object()db.c

Global Variable zone_table

struct zone_data* zone_table
Visible in:  act.wizard.c
   db.c
   magic.c
   spells.c
Used in: boot_db()db.c
  do_show()act.wizard.c
  do_stat_room()act.wizard.c
  do_zreset()act.wizard.c
  index_boot()db.c
  load_zones()db.c
  log_zone_error()db.c
  parse_room()db.c
  print_zone_to_buf()act.wizard.c
  renum_zone_table()db.c
  reset_zone()db.c
  zone_update()db.c

Global Variable top_of_zone_table

zone_rnum top_of_zone_table
Visible in:  act.wizard.c
   db.c
Used in: boot_db()db.c
  do_show()act.wizard.c
  do_zreset()act.wizard.c
  load_zones()db.c
  parse_room()db.c
  renum_zone_table()db.c
  zone_update()db.c

Global Variable fight_messages

struct message_list fight_messages[60]
Visible in:  db.c
   fight.c
Used in: load_messages()fight.c
  skill_message()fight.c

Global Variable player_table

struct player_index_element* player_table
Visible in:  db.c
   interpreter.c
   objsave.c
Used in: build_player_index()db.c
  create_entry()db.c
  find_name()interpreter.c
  get_id_by_name()db.c
  get_name_by_id()db.c
  get_ptable_by_name()db.c
  init_char()db.c
  update_obj_file()objsave.c

Global Variable player_fl

FILE* player_fl
Visible in:  act.wizard.c
   comm.c
   db.c
   utils.c
Used in: build_player_index()db.c
  do_set()act.wizard.c
  heartbeat()comm.c
  init_game()comm.c
  load_char()db.c
  save_char()db.c

Global Variable top_of_p_table

int top_of_p_table
Visible in:  act.wizard.c
   db.c
   interpreter.c
   objsave.c
Used in: build_player_index()db.c
  create_entry()db.c
  do_show()act.wizard.c
  find_name()interpreter.c
  get_id_by_name()db.c
  get_name_by_id()db.c
  get_ptable_by_name()db.c
  init_char()db.c
  update_obj_file()objsave.c

Global Variable top_of_p_file

int top_of_p_file
Visible in:  db.c
Used in: build_player_index()db.c

Global Variable top_idnum

long top_idnum
Visible in:  db.c
Used in: build_player_index()db.c
  init_char()db.c

Global Variable no_mail

int no_mail
Visible in:  db.c
   mail.c
Used in: boot_db()db.c
  postmaster()mail.c
  read_delete()mail.c
  read_from_file()mail.c
  write_to_file()mail.c

Global Variable mini_mud

int mini_mud
Visible in:  castle.c
   comm.c
   db.c
   magic.c
   spec_assign.c
   spells.c
Used in: ASSIGNMOB()spec_assign.c
  ASSIGNOBJ()spec_assign.c
  ASSIGNROOM()spec_assign.c
  assign_kings_castle()castle.c
  boot_db()db.c
  check_start_rooms()db.c
  index_boot()db.c
  main()comm.c
  renum_zone_table()db.c

Global Variable no_rent_check

int no_rent_check
Visible in:  comm.c
   db.c
Used in: boot_db()db.c
  main()comm.c

Global Variable boot_time

time_t boot_time
Visible in:  act.wizard.c
   db.c
Used in: boot_db()db.c
  do_date()act.wizard.c

Global Variable circle_restrict

int circle_restrict
Visible in:  act.wizard.c
   comm.c
   db.c
   interpreter.c
Used in: do_wizlock()act.wizard.c
  main()comm.c
  nanny()interpreter.c
  unrestrict_game()comm.c

Global Variable r_mortal_start_room

room_rnum r_mortal_start_room
Visible in:  db.c
   interpreter.c
   spells.c
Used in: check_start_rooms()db.c
  nanny()interpreter.c
  spell_recall()spells.c

Global Variable r_immort_start_room

room_rnum r_immort_start_room
Visible in:  db.c
   interpreter.c
Used in: check_start_rooms()db.c
  nanny()interpreter.c

Global Variable r_frozen_start_room

room_rnum r_frozen_start_room
Visible in:  db.c
   interpreter.c
Used in: check_start_rooms()db.c
  nanny()interpreter.c

Global Variable credits

char* credits
Visible in:  act.informative.c
   db.c
Used in: boot_db()db.c
  do_gen_ps()act.informative.c
  do_reboot()db.c

Global Variable news

char* news
Visible in:  act.informative.c
   db.c
Used in: boot_db()db.c
  do_gen_ps()act.informative.c
  do_reboot()db.c

Global Variable motd

char* motd
Visible in:  act.informative.c
   db.c
   interpreter.c
Used in: boot_db()db.c
  do_gen_ps()act.informative.c
  do_reboot()db.c
  nanny()interpreter.c

Global Variable imotd

char* imotd
Visible in:  act.informative.c
   db.c
   interpreter.c
Used in: boot_db()db.c
  do_gen_ps()act.informative.c
  do_reboot()db.c
  nanny()interpreter.c

Global Variable GREETINGS

char* GREETINGS
Visible in:  comm.c
   db.c
Used in: boot_db()db.c
  do_reboot()db.c
  new_descriptor()comm.c

Global Variable help

char* help
Visible in:  act.informative.c
   comm.c
   db.c
Used in: boot_db()db.c
  do_help()act.informative.c
  do_reboot()db.c

Global Variable info

char* info
Visible in:  act.informative.c
   db.c
Used in: boot_db()db.c
  do_gen_ps()act.informative.c
  do_reboot()db.c

Global Variable wizlist

char* wizlist
Visible in:  act.informative.c
   db.c
Used in: boot_db()db.c
  do_gen_ps()act.informative.c
  do_reboot()db.c
  reboot_wizlists()db.c

Global Variable immlist

char* immlist
Visible in:  act.informative.c
   db.c
Used in: boot_db()db.c
  do_gen_ps()act.informative.c
  do_reboot()db.c
  reboot_wizlists()db.c

Global Variable background

char* background
Visible in:  db.c
   interpreter.c
Used in: boot_db()db.c
  do_reboot()db.c
  nanny()interpreter.c

Global Variable handbook

char* handbook
Visible in:  act.informative.c
   db.c
Used in: boot_db()db.c
  do_gen_ps()act.informative.c
  do_reboot()db.c

Global Variable policies

char* policies
Visible in:  act.informative.c
   db.c
Used in: boot_db()db.c
  do_gen_ps()act.informative.c
  do_reboot()db.c

Global Variable help_table

struct help_index_element* help_table
Visible in:  act.informative.c
   db.c
Used in: do_help()act.informative.c
  do_reboot()db.c
  index_boot()db.c
  load_help()db.c

Global Variable top_of_helpt

int top_of_helpt
Visible in:  act.informative.c
   db.c
Used in: do_help()act.informative.c
  do_reboot()db.c
  index_boot()db.c
  load_help()db.c

Global Variable time_info

struct time_info_data time_info
Visible in:  act.informative.c
   castle.c
   comm.c
   db.c
   shop.c
   spec_procs.c
   utils.c
   weather.c
Used in: another_hour()weather.c
  do_time()act.informative.c
  is_open()shop.c
  king_welmar()castle.c
  mayor()spec_procs.c
  reset_time()db.c
  weather_change()weather.c

Global Variable dummy_mob

struct player_special_data dummy_mob
Visible in:  act.comm.c
   act.informative.c
   act.item.c
   act.movement.c
   act.offensive.c
   act.other.c
   act.social.c
   act.wizard.c
   alias.c
   ban.c
   boards.c
   castle.c
   class.c
   comm.c
   db.c
   fight.c
   graph.c
   handler.c
   house.c
   interpreter.c
   limits.c
   magic.c
   mail.c
   mobact.c
   modify.c
   objsave.c
   olc.c
   shop.c
   spec_assign.c
   spec_procs.c
   spell_parser.c
   spells.c
   utils.c
   weather.c
Used in: Crash_load()objsave.c
  Crash_report_rent()objsave.c
  Crash_report_unrentables()objsave.c
  act()comm.c
  add_follower()utils.c
  advance_level()class.c
  cityguard()spec_procs.c
  close_socket()comm.c
  dam_message()fight.c
  damage()fight.c
  diag_char_to_char()act.informative.c
  do_alias()interpreter.c
  do_assist()act.offensive.c
  do_auto_exits()act.informative.c
  do_backstab()act.offensive.c
  do_ban()ban.c
  do_bash()act.offensive.c
  do_cast()spell_parser.c
  do_color()act.informative.c
  do_dc()act.wizard.c
  do_display()act.other.c
  do_drink()act.item.c
  do_eat()act.item.c
  do_echo()act.wizard.c
  do_equipment()act.informative.c
  do_exits()act.informative.c
  do_force()act.wizard.c
  do_gecho()act.wizard.c
  do_gen_comm()act.comm.c
  do_gen_tog()act.other.c
  do_get()act.item.c
  do_give()act.item.c
  do_goto()act.wizard.c
  do_gsay()act.comm.c
  do_hide()act.other.c
  do_invis()act.wizard.c
  do_kick()act.offensive.c
  do_look()act.informative.c
  do_olc()olc.c
  do_page()act.comm.c
  do_poofset()act.wizard.c
  do_purge()act.wizard.c
  do_put()act.item.c
  do_qcomm()act.comm.c
  do_quit()act.other.c
  do_remove()act.item.c
  do_reply()act.comm.c
  do_rescue()act.offensive.c
  do_restore()act.wizard.c
  do_say()act.comm.c
  do_score()act.informative.c
  do_send()act.wizard.c
  do_show()act.wizard.c
  do_skillset()modify.c
  do_sneak()act.other.c
  do_spec_comm()act.comm.c
  do_start()class.c
  do_stat_character()act.wizard.c
  do_stat_object()act.wizard.c
  do_stat_room()act.wizard.c
  do_steal()act.other.c
  do_syslog()act.wizard.c
  do_toggle()act.informative.c
  do_track()graph.c
  do_unban()ban.c
  do_users()act.informative.c
  do_wear()act.item.c
  do_who()act.informative.c
  do_wimpy()act.other.c
  do_wiznet()act.wizard.c
  do_wizutil()act.wizard.c
  do_write()act.comm.c
  do_zreset()act.wizard.c
  free_char()db.c
  gain_condition()limits.c
  gain_exp()limits.c
  gain_exp_regardless()limits.c
  gen_receptionist()objsave.c
  get_char_room_vis()handler.c
  get_char_world_vis()handler.c
  get_from_container()act.item.c
  get_from_room()act.item.c
  get_hash_obj_vis()shop.c
  get_obj_in_list_vis()handler.c
  get_obj_vis()handler.c
  get_object_in_equip_vis()handler.c
  get_player_vis()handler.c
  get_slide_obj_vis()shop.c
  guild()spec_procs.c
  hcontrol_pay_house()house.c
  hit_gain()limits.c
  init_char()db.c
  is_ok_char()shop.c
  is_tell_ok()act.comm.c
  list_char_to_char()act.informative.c
  list_obj_to_char()act.informative.c
  list_one_char()act.informative.c
  list_skills()spec_procs.c
  look_at_char()act.informative.c
  look_at_room()act.informative.c
  look_at_target()act.informative.c
  make_prompt()comm.c
  mana_gain()limits.c
  mobile_activity()mobact.c
  move_gain()limits.c
  mudlog()utils.c
  nanny()interpreter.c
  npc_steal()spec_procs.c
  ok_pick()act.movement.c
  parse_mobile()db.c
  perform_act()comm.c
  perform_alias()interpreter.c
  perform_dupe_check()interpreter.c
  perform_group()act.other.c
  perform_immort_invis()act.wizard.c
  perform_immort_vis()act.wizard.c
  perform_immort_where()act.informative.c
  perform_mortal_where()act.informative.c
  perform_set()act.wizard.c
  perform_tell()act.comm.c
  print_object_location()act.informative.c
  process_output()comm.c
  read_aliases()alias.c
  remember()mobact.c
  reset_char()db.c
  shopping_list()shop.c
  skill_message()fight.c
  spell_charm()spells.c
  spell_locate_object()spells.c
  spell_summon()spells.c
  store_to_char()db.c
  write_aliases()alias.c

Global Variable reset_q

struct reset_q_type reset_q
Visible in:  db.c
Used in: boot_db()db.c
  zone_update()db.c

External Variables

no_specials
extern int no_specials
Defined in: comm.c

scheck
extern int scheck
Defined in: comm.c

mortal_start_room
extern room_vnum mortal_start_room
Defined in: config.c

immort_start_room
extern room_vnum immort_start_room
Defined in: config.c

frozen_start_room
extern room_vnum frozen_start_room
Defined in: config.c

descriptor_list
extern struct descriptor_data* descriptor_list
Defined in: comm.c

spell_info
extern struct spell_info_type spell_info[]
Defined in: spell_parser.c

unused_spellname
extern const char* unused_spellname
Defined in: spell_parser.c


Global Function asciiflag_conv()

bitvector_t asciiflag_conv ( char* flag )
Prototyped in: db.c
Calls: atol()
Called by: parse_mobile()db.c
  parse_object()db.c
  parse_room()db.c

Global Function boot_db()

void boot_db ( void )
Prototyped in: db.h
Calls: House_boot()house.c
  Read_Invalid_List()ban.c
  assign_mobiles()spec_assign.c
  assign_objects()spec_assign.c
  assign_rooms()spec_assign.c
  assign_the_shopkeepers()shop.c
  basic_mud_log()utils.c
  boot_social_messages()act.social.c
  boot_world()db.c
  build_player_index()db.c
  file_to_string_alloc()db.c
  index_boot()db.c
  init_spell_levels()class.c
  load_banned()ban.c
  load_messages()fight.c
  mag_assign_spells()spell_parser.c
  prune_crlf()utils.c
  reset_time()db.c
  reset_zone()db.c
  scan_file()mail.c
  sort_commands()act.informative.c
  sort_spells()spec_procs.c
  update_obj_file()objsave.c
  time()
Called by: init_game()comm.c
References Variables: GREETINGSdb.c
  backgrounddb.c
  boot_timedb.c
  creditsdb.c
  handbookdb.c
  helpdb.c
  immlistdb.c
  imotddb.c
  infodb.c
  mini_muddb.c
  motddb.c
  newsdb.c
  no_maildb.c
  no_rent_checkdb.c
  no_specialscomm.c
  policiesdb.c
  reset_qdb.c
  top_of_zone_tabledb.c
  wizlistdb.c
  zone_tabledb.c

Global Function boot_world()

void boot_world ( void )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  check_start_rooms()db.c
  index_boot()db.c
  renum_world()db.c
  renum_zone_table()db.c
Called by: boot_db()db.c
  main()comm.c
References Variables: no_specialscomm.c

Global Function build_player_index()

void build_player_index ( void )
Prototyped in: db.c
Calls: MAX()utils.c
  basic_mud_log()utils.c
  touch()utils.c
  __errno_location(), abort(), calloc(), exit(), feof(), fopen(), fread(), fseek(), ftell(), perror(), rewind(), strlen()
Called by: boot_db()db.c
References Variables: player_fldb.c
  player_tabledb.c
  top_idnumdb.c
  top_of_p_filedb.c
  top_of_p_tabledb.c

Global Function char_to_store()

void char_to_store ( struct char_data* ch, struct char_file_u* st )
Prototyped in: db.h
Calls: affect_remove()handler.c
  affect_to_char()handler.c
  basic_mud_log()utils.c
  equip_char()handler.c
  unequip_char()handler.c
  strcpy(), time()
Called by: do_set()act.wizard.c
  save_char()db.c

Global Function check_object()

int check_object ( struct obj_data* obj )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  check_object_level()db.c
  check_object_spell_number()db.c
  search_block()interpreter.c
  sprintbit()utils.c
  strcpy(), strrchr(), strstr()
Called by: parse_object()db.c
References Variables: affected_bitsconstants.c
  bufdb.c
  drinknamesconstants.c
  extra_bitsconstants.c
  obj_indexdb.c
  wear_bitsconstants.c

Global Function check_object_level()

int check_object_level ( struct obj_data* obj, int val )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
Called by: check_object()db.c
References Variables: obj_indexdb.c

Global Function check_object_spell_number()

int check_object_spell_number ( struct obj_data* obj, int val )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  skill_name()spell_parser.c
  str_cmp()utils.c
Called by: check_object()db.c
References Variables: obj_indexdb.c
  scheckcomm.c
  unused_spellnamespell_parser.c

Global Function check_start_rooms()

void check_start_rooms ( void )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  real_room()db.c
  exit()
Called by: boot_world()db.c
References Variables: frozen_start_roomconfig.c
  immort_start_roomconfig.c
  mini_muddb.c
  mortal_start_roomconfig.c
  r_frozen_start_roomdb.c
  r_immort_start_roomdb.c
  r_mortal_start_roomdb.c

Global Function clear_char()

void clear_char ( struct char_data* ch )
Prototyped in: db.h
Calls: memset()
Called by: create_char()db.c
  do_set()act.wizard.c
  do_stat()act.wizard.c
  nanny()interpreter.c
  parse_mobile()db.c
  read_mobile()db.c

Global Function clear_object()

void clear_object ( struct obj_data* obj )
Prototyped in: db.h
Calls: memset()
Called by: create_obj()db.c
  parse_object()db.c
  read_object()db.c

Global Function count_alias_records()

int count_alias_records ( FILE* fl )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  get_one_line()db.c
  one_word()interpreter.c
  exit(), feof()
Called by: index_boot()db.c

Global Function count_hash_records()

int count_hash_records ( FILE* fl )
Prototyped in: db.c
Calls: fgets()
Called by: index_boot()db.c

Global Function create_char()

struct char_data* create_char ( void )
Prototyped in: db.h
Calls: basic_mud_log()utils.c
  clear_char()db.c
  abort(), calloc(), perror()
References Variables: character_listdb.c

Global Function create_entry()

int create_entry ( char* name )
Prototyped in: db.h
Calls: basic_mud_log()utils.c
  get_ptable_by_name()db.c
  abort(), calloc(), perror(), realloc(), strlen()
Called by: nanny()interpreter.c
References Variables: player_tabledb.c
  top_of_p_tabledb.c

Global Function create_obj()

struct obj_data* create_obj ( void )
Prototyped in: db.h
Calls: basic_mud_log()utils.c
  clear_object()db.c
  abort(), calloc(), perror()
Called by: create_money()handler.c
  make_corpse()fight.c
  postmaster_receive_mail()mail.c
References Variables: object_listdb.c

Global Function discrete_load()

void discrete_load ( FILE* fl, int mode, char* filename )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  get_line()utils.c
  parse_mobile()db.c
  parse_object()db.c
  parse_room()db.c
  exit(), sscanf(), strcpy()
Called by: index_boot()db.c

Global Function do_reboot()

void do_reboot ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: db.c
Calls: file_to_string_alloc()db.c
  index_boot()db.c
  one_argument()interpreter.c
  prune_crlf()utils.c
  send_to_char()comm.c
  str_cmp()utils.c
  free()
Used in:  interpreter.c
References Variables: GREETINGSdb.c
  OKconfig.c
  argdb.c
  backgrounddb.c
  creditsdb.c
  handbookdb.c
  helpdb.c
  help_tabledb.c
  immlistdb.c
  imotddb.c
  infodb.c
  motddb.c
  newsdb.c
  policiesdb.c
  top_of_helptdb.c
  wizlistdb.c

Global Function file_to_string()

int file_to_string ( const char* name, char* buf )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  __errno_location(), fclose(), fgets(), fopen(), strcat(), strerror(), strlen()
Called by: file_to_string_alloc()db.c

Global Function file_to_string_alloc()

int file_to_string_alloc ( const char* name, char** buf )
Prototyped in: db.c
Calls: file_to_string()db.c
  str_dup()utils.c
  free()
Called by: boot_db()db.c
  do_reboot()db.c
  reboot_wizlists()db.c
References Variables: descriptor_listcomm.c

Global Function fread_string()

char* fread_string ( FILE* fl, const char* error )
Prototyped in: db.h
Calls: basic_mud_log()utils.c
  abort(), calloc(), exit(), fgets(), perror(), strcat(), strchr(), strcpy(), strlen()
Called by: boot_the_shops()shop.c
  parse_mobile()db.c
  parse_object()db.c
  parse_room()db.c
  read_shop_message()shop.c
  setup_dir()db.c

Global Function free_char()

void free_char ( struct char_data* ch )
Prototyped in: db.h
Calls: affect_remove()handler.c
  basic_mud_log()utils.c
  free_alias()interpreter.c
  free()
Called by: close_socket()comm.c
  do_set()act.wizard.c
  extract_char_final()handler.c
  nanny()interpreter.c
  perform_dupe_check()interpreter.c
References Variables: dummy_mobdb.c
  mob_indexdb.c
  mob_protodb.c

Global Function free_obj()

void free_obj ( struct obj_data* obj )
Prototyped in: db.h
Calls: free()
Called by: House_listrent()house.c
  extract_obj()handler.c
References Variables: obj_protodb.c

Global Function get_id_by_name()

long get_id_by_name ( char* name )
Prototyped in: db.h
Calls: one_argument()interpreter.c
  strcmp()
Called by: do_house()house.c
  hcontrol_build_house()house.c
  postmaster_send_mail()mail.c
References Variables: argdb.c
  player_tabledb.c
  top_of_p_tabledb.c

Global Function get_name_by_id()

char* get_name_by_id ( long id )
Prototyped in: db.h
Called by: House_boot()house.c
  House_list_guests()house.c
  hcontrol_list_houses()house.c
  read_delete()mail.c
References Variables: player_tabledb.c
  top_of_p_tabledb.c

Global Function get_one_line()

void get_one_line ( FILE* fl, char* buf )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  exit(), fgets(), strlen()
Called by: count_alias_records()db.c
  load_help()db.c

Global Function get_ptable_by_name()

long get_ptable_by_name ( char* name )
Prototyped in: db.c
Calls: one_argument()interpreter.c
  strcmp()
Called by: create_entry()db.c
  init_char()db.c
References Variables: argdb.c
  player_tabledb.c
  top_of_p_tabledb.c

Global Function hsort()

int hsort ( const void* a, const void* b )
Prototyped in: db.c
Calls: str_cmp()utils.c
Used in: index_boot()db.c

Global Function index_boot()

void index_boot ( int mode )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  boot_the_shops()shop.c
  count_alias_records()db.c
  count_hash_records()db.c
  discrete_load()db.c
  load_help()db.c
  load_zones()db.c
  __errno_location(), abort(), calloc(), exit(), fclose(), fopen(), fscanf(), perror(), qsort(), rewind(), sprintf(), strerror()
Called by: boot_db()db.c
  boot_world()db.c
  do_reboot()db.c
References Functions: hsort()db.c
References Variables: buf1db.c
  buf2db.c
  help_tabledb.c
  mini_muddb.c
  mob_indexdb.c
  mob_protodb.c
  obj_indexdb.c
  obj_protodb.c
  top_of_helptdb.c
  worlddb.c
  zone_tabledb.c

Global Function init_char()

void init_char ( struct char_data* ch )
Prototyped in: db.h
Calls: basic_mud_log()utils.c
  get_ptable_by_name()db.c
  number()utils.c
  set_title()limits.c
  abort(), calloc(), perror(), time()
Called by: nanny()interpreter.c
References Variables: dummy_mobdb.c
  player_tabledb.c
  top_idnumdb.c
  top_of_p_tabledb.c

Global Function interpret_espec()

void interpret_espec ( const char* keyword, const char* value, int i, int nr )
Prototyped in: db.c
Calls: MAX()utils.c
  MIN()utils.c
  basic_mud_log()utils.c
  str_cmp()utils.c
  atoi()
Called by: parse_espec()db.c
References Variables: mob_protodb.c

Global Function is_empty()

int is_empty ( zone_rnum zone_nr )
Prototyped in: db.c
Called by: zone_update()db.c
References Variables: descriptor_listcomm.c
  worlddb.c

Global Function load_char()

int load_char ( char* name, struct char_file_u* char_element )
Prototyped in: db.h
Calls: find_name()interpreter.c
  fread(), fseek()
Called by: do_last()act.wizard.c
  do_set()act.wizard.c
  do_show()act.wizard.c
  do_stat()act.wizard.c
  nanny()interpreter.c
References Variables: player_fldb.c

Global Function load_help()

void load_help ( FILE* fl )
Prototyped in: db.c
Calls: get_one_line()db.c
  one_word()interpreter.c
  str_dup()utils.c
  strcat(), strcpy()
Called by: index_boot()db.c
References Variables: help_tabledb.c
  top_of_helptdb.c

Global Function load_zones()

void load_zones ( FILE* fl, char* zonename )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  get_line()utils.c
  skip_spaces()interpreter.c
  str_dup()utils.c
  abort(), calloc(), exit(), perror(), rewind(), sprintf(), sscanf(), strchr(), strcpy()
Called by: index_boot()db.c
References Variables: buf2db.c
  top_of_zone_tabledb.c
  zone_tabledb.c

Global Function log_zone_error()

void log_zone_error ( zone_rnum zone, int cmd_no, const char* message )
Prototyped in: db.c
Calls: mudlog()utils.c
  sprintf()
Called by: renum_zone_table()db.c
  reset_zone()db.c
References Variables: zone_tabledb.c

Global Function parse_enhanced_mob()

void parse_enhanced_mob ( FILE* mob_f, int i, int nr )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  get_line()utils.c
  parse_espec()db.c
  parse_simple_mob()db.c
  exit(), strcmp()
Called by: parse_mobile()db.c

Global Function parse_espec()

void parse_espec ( char* buf, int i, int nr )
Prototyped in: db.c
Calls: interpret_espec()db.c
  strchr()
Called by: parse_enhanced_mob()db.c

Global Function parse_mobile()

void parse_mobile ( FILE* mob_f, int nr )
Prototyped in: db.c
Calls: asciiflag_conv()db.c
  basic_mud_log()utils.c
  clear_char()db.c
  fname()handler.c
  fread_string()db.c
  get_line()utils.c
  parse_enhanced_mob()db.c
  parse_simple_mob()db.c
  str_cmp()utils.c
  exit(), sprintf(), sscanf()
Called by: discrete_load()db.c
References Variables: buf2db.c
  dummy_mobdb.c
  mob_indexdb.c
  mob_protodb.c
  top_of_mobtdb.c

Global Function parse_object()

char* parse_object ( FILE* obj_f, int nr )
Prototyped in: db.c
Calls: CAP()utils.c
  asciiflag_conv()db.c
  basic_mud_log()utils.c
  check_object()db.c
  clear_object()db.c
  fname()handler.c
  fread_string()db.c
  get_line()utils.c
  str_cmp()utils.c
  abort(), calloc(), exit(), perror(), sprintf(), sscanf(), strcat()
Called by: discrete_load()db.c
References Variables: buf2db.c
  obj_indexdb.c
  obj_protodb.c
  top_of_objtdb.c

Global Function parse_room()

void parse_room ( FILE* fl, int virtual_nr )
Prototyped in: db.c
Calls: asciiflag_conv()db.c
  basic_mud_log()utils.c
  fread_string()db.c
  get_line()utils.c
  setup_dir()db.c
  abort(), atoi(), calloc(), exit(), perror(), sprintf(), sscanf()
Called by: discrete_load()db.c
References Variables: bufdb.c
  buf2db.c
  top_of_worlddb.c
  top_of_zone_tabledb.c
  worlddb.c
  zone_tabledb.c

Global Function parse_simple_mob()

void parse_simple_mob ( FILE* mob_f, int i, int nr )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  get_line()utils.c
  exit(), sscanf()
Called by: parse_enhanced_mob()db.c
  parse_mobile()db.c
References Variables: mob_protodb.c

Global Function read_mobile()

struct char_data* read_mobile ( mob_vnum nr, int type )
Prototyped in: db.h
Calls: basic_mud_log()utils.c
  clear_char()db.c
  dice()utils.c
  number()utils.c
  real_mobile()db.c
  abort(), calloc(), perror(), time()
Called by: do_load()act.wizard.c
  do_vstat()act.wizard.c
  mag_summons()magic.c
  pet_shops()spec_procs.c
  reset_zone()db.c
References Variables: character_listdb.c
  mob_indexdb.c
  mob_protodb.c

Global Function read_object()

struct obj_data* read_object ( obj_vnum nr, int type )
Prototyped in: db.h
Calls: basic_mud_log()utils.c
  clear_object()db.c
  real_object()db.c
  abort(), calloc(), perror()
Called by: Crash_listrent()objsave.c
  Obj_from_store()objsave.c
  do_load()act.wizard.c
  do_vstat()act.wizard.c
  mag_creations()magic.c
  reset_zone()db.c
  shopping_buy()shop.c
References Variables: obj_indexdb.c
  obj_protodb.c
  object_listdb.c

Global Function real_mobile()

mob_rnum real_mobile ( mob_vnum vnum )
Prototyped in: db.h
Called by: ASSIGNMOB()spec_assign.c
  assign_kings_castle()castle.c
  boot_the_shops()shop.c
  do_load()act.wizard.c
  do_olc()olc.c
  do_vstat()act.wizard.c
  read_mobile()db.c
  renum_zone_table()db.c
References Variables: mob_indexdb.c
  top_of_mobtdb.c

Global Function real_object()

obj_rnum real_object ( obj_vnum vnum )
Prototyped in: db.h
Called by: ASSIGNOBJ()spec_assign.c
  Crash_listrent()objsave.c
  Obj_from_store()objsave.c
  add_to_list()shop.c
  do_load()act.wizard.c
  do_olc()olc.c
  do_vstat()act.wizard.c
  init_boards()boards.c
  read_object()db.c
  renum_zone_table()db.c
References Variables: obj_indexdb.c
  top_of_objtdb.c

Global Function real_room()

room_rnum real_room ( room_vnum vnum )
Prototyped in: db.h
Called by: ASSIGNROOM()spec_assign.c
  House_boot()house.c
  House_crashsave()house.c
  House_load()house.c
  House_save_all()house.c
  block_way()castle.c
  check_start_rooms()db.c
  do_drop()act.item.c
  do_olc()olc.c
  find_target_room()act.wizard.c
  hcontrol_build_house()house.c
  hcontrol_destroy_house()house.c
  king_welmar()castle.c
  list_detailed_shop()shop.c
  nanny()interpreter.c
  perform_set()act.wizard.c
  renum_world()db.c
  renum_zone_table()db.c
References Variables: top_of_worlddb.c
  worlddb.c

Global Function reboot_wizlists()

void reboot_wizlists ( void )
Prototyped in: db.c
Calls: file_to_string_alloc()db.c
Called by: check_autowiz()limits.c
  reread_wizlists()comm.c
References Variables: immlistdb.c
  wizlistdb.c

Global Function renum_world()

void renum_world ( void )
Prototyped in: db.c
Calls: real_room()db.c
Called by: boot_world()db.c
References Variables: top_of_worlddb.c
  worlddb.c

Global Function renum_zone_table()

void renum_zone_table ( void )
Prototyped in: db.c
Calls: log_zone_error()db.c
  real_mobile()db.c
  real_object()db.c
  real_room()db.c
  sprintf()
Called by: boot_world()db.c
References Variables: mini_muddb.c
  top_of_zone_tabledb.c
  zone_tabledb.c

Global Function reset_char()

void reset_char ( struct char_data* ch )
Prototyped in: db.h
Calls: basic_mud_log()utils.c
Called by: nanny()interpreter.c
References Variables: dummy_mobdb.c

Global Function reset_time()

void reset_time ( void )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  dice()utils.c
  mud_time_passed()utils.c
  time()
Called by: boot_db()db.c
References Variables: time_infodb.c
  weather_infodb.c

Global Function reset_zone()

void reset_zone ( zone_rnum zone )
Prototyped in: db.c
Calls: char_to_room()handler.c
  equip_char()handler.c
  extract_obj()handler.c
  get_obj_in_list_num()handler.c
  get_obj_num()handler.c
  log_zone_error()db.c
  obj_to_char()handler.c
  obj_to_obj()handler.c
  obj_to_room()handler.c
  read_mobile()db.c
  read_object()db.c
Called by: boot_db()db.c
  do_zreset()act.wizard.c
  zone_update()db.c
References Variables: mob_indexdb.c
  obj_indexdb.c
  worlddb.c
  zone_tabledb.c

Global Function save_char()

void save_char ( struct char_data* ch, room_rnum load_room )
Prototyped in: db.h
Calls: char_to_store()db.c
  fseek(), fwrite(), strncpy()
Called by: Crash_load()objsave.c
  Crash_save_all()objsave.c
  advance_level()class.c
  check_idling()limits.c
  close_socket()comm.c
  do_advance()act.wizard.c
  do_quit()act.other.c
  do_save()act.other.c
  do_set()act.wizard.c
  do_wizutil()act.wizard.c
  extract_char_final()handler.c
  gen_receptionist()objsave.c
  nanny()interpreter.c
References Variables: player_fldb.c
  top_of_worlddb.c
  worlddb.c

Global Function save_etext()

void save_etext ( struct char_data* ch )
Prototyped in: db.c

Global Function setup_dir()

void setup_dir ( FILE* fl, int room, int dir )
Prototyped in: db.c
Calls: basic_mud_log()utils.c
  fread_string()db.c
  get_line()utils.c
  abort(), calloc(), exit(), perror(), sprintf(), sscanf()
Called by: parse_room()db.c
References Variables: buf2db.c
  top_of_worlddb.c
  worlddb.c

Global Function store_to_char()

void store_to_char ( struct char_file_u* st, struct char_data* ch )
Prototyped in: db.h
Calls: affect_to_char()handler.c
  basic_mud_log()utils.c
  str_dup()utils.c
  abort(), calloc(), perror(), strcpy(), strlen(), time()
Called by: do_set()act.wizard.c
  do_stat()act.wizard.c
  nanny()interpreter.c
References Variables: dummy_mobdb.c

Global Function vnum_mobile()

int vnum_mobile ( char* searchname, struct char_data* ch )
Prototyped in: db.h
Calls: isname()handler.c
  send_to_char()comm.c
  sprintf()
Called by: do_vnum()act.wizard.c
References Variables: bufdb.c
  mob_indexdb.c
  mob_protodb.c
  top_of_mobtdb.c

Global Function vnum_object()

int vnum_object ( char* searchname, struct char_data* ch )
Prototyped in: db.h
Calls: isname()handler.c
  send_to_char()comm.c
  sprintf()
Called by: do_vnum()act.wizard.c
References Variables: bufdb.c
  obj_indexdb.c
  obj_protodb.c
  top_of_objtdb.c

Global Function zone_update()

void zone_update ( void )
Prototyped in: db.h
Calls: basic_mud_log()utils.c
  is_empty()db.c
  mudlog()utils.c
  reset_zone()db.c
  abort(), calloc(), free(), perror(), sprintf()
Called by: heartbeat()comm.c
References Variables: reset_qdb.c
  top_of_zone_tabledb.c
  zone_tabledb.c