File act.informative.c


Included Files


Preprocessor definitions

#define WHO_FORMAT "format: who [minlev[-maxlev]] [-n name] [-c classlist] [-s] [-o] [-q] [-r] [-z]\r\n"

#define USERS_FORMAT "format: users [-l minlevel[-maxlevel]] [-n name] [-h host] [-c classlist] [-o] [-p]\r\n"


Type struct sort_struct

struct sort_struct
struct sort_struct 
   { 
     int sort_pos; 
     byte is_social; 
   } 

Global Variable ctypes

const char* ctypes[]
Visible in:  act.informative.c
Used in: do_color()act.informative.c
  do_toggle()act.informative.c

Global Variable cmd_sort_info

struct sort_struct* cmd_sort_info
Visible in:  act.informative.c
Used in: do_commands()act.informative.c
  sort_commands()act.informative.c

Global Variable num_of_cmds

int num_of_cmds
Visible in:  act.informative.c
Used in: do_commands()act.informative.c
  sort_commands()act.informative.c

External Variables

top_of_helpt
extern int top_of_helpt
Defined in: db.c

help_table
extern struct help_index_element* help_table
Defined in: db.c

help
extern char* help
Defined in: db.c

time_info
extern struct time_info_data time_info
Defined in: db.c

world
extern struct room_data* world
Defined in: db.c

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

character_list
extern struct char_data* character_list
Defined in: db.c

object_list
extern struct obj_data* object_list
Defined in: db.c

credits
extern char* credits
Defined in: db.c

news
extern char* news
Defined in: db.c

info
extern char* info
Defined in: db.c

motd
extern char* motd
Defined in: db.c

imotd
extern char* imotd
Defined in: db.c

wizlist
extern char* wizlist
Defined in: db.c

immlist
extern char* immlist
Defined in: db.c

policies
extern char* policies
Defined in: db.c

handbook
extern char* handbook
Defined in: db.c

class_abbrevs
extern char* class_abbrevs[]
Defined in: class.c


Global Function diag_char_to_char()

void diag_char_to_char ( struct char_data* i, struct char_data* ch )
Prototyped in: act.informative.c
Calls: CAP()utils.c
  basic_mud_log()utils.c
  send_to_char()comm.c
  strcat(), strcpy()
Called by: do_diagnose()act.informative.c
  look_at_char()act.informative.c
References Variables: bufdb.c
  dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function do_auto_exits()

void do_auto_exits ( struct char_data* ch )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  send_to_char()comm.c
  sprintf()
Called by: look_at_room()act.informative.c
References Variables: bufdb.c
  buf2db.c
  dirsconstants.c
  dummy_mobdb.c
  worlddb.c

Global Function do_color()

void do_color ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  one_argument()interpreter.c
  search_block()interpreter.c
  send_to_char()comm.c
  sprintf()
Used in:  interpreter.c
References Variables: argdb.c
  bufdb.c
  ctypesact.informative.c
  dummy_mobdb.c

Global Function do_commands()

void do_commands ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: get_char_vis()handler.c
  one_argument()interpreter.c
  send_to_char()comm.c
  sprintf(), strcat(), strlen()
Used in:  interpreter.c
References Variables: argdb.c
  bufdb.c
  cmd_infointerpreter.c
  cmd_sort_infoact.informative.c
  num_of_cmdsact.informative.c

Global Function do_consider()

void do_consider ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: get_char_vis()handler.c
  one_argument()interpreter.c
  send_to_char()comm.c
Used in:  interpreter.c
References Variables: bufdb.c

Global Function do_diagnose()

void do_diagnose ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: diag_char_to_char()act.informative.c
  get_char_vis()handler.c
  one_argument()interpreter.c
  send_to_char()comm.c
Used in:  interpreter.c
References Variables: NOPERSONconfig.c
  bufdb.c

Global Function do_equipment()

void do_equipment ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  send_to_char()comm.c
  show_obj_to_char()act.informative.c
Used in:  interpreter.c
References Variables: dummy_mobdb.c
  weather_infodb.c
  whereconstants.c
  worlddb.c

Global Function do_examine()

void do_examine ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: generic_find()handler.c
  look_at_target()act.informative.c
  look_in_obj()act.informative.c
  one_argument()interpreter.c
  send_to_char()comm.c
Used in:  interpreter.c
References Variables: argdb.c

Global Function do_exits()

void do_exits ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: CAP()utils.c
  basic_mud_log()utils.c
  send_to_char()comm.c
  sprintf(), strcat()
Used in:  interpreter.c
References Variables: bufdb.c
  buf2db.c
  dirsconstants.c
  dummy_mobdb.c
  top_of_worlddb.c
  weather_infodb.c
  worlddb.c

Global Function do_gen_ps()

void do_gen_ps ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  page_string()modify.c
  send_to_char()comm.c
  strcat(), strcpy()
Used in:  interpreter.c
References Variables: bufdb.c
  circlemud_versionconstants.c
  creditsdb.c
  handbookdb.c
  immlistdb.c
  imotddb.c
  infodb.c
  motddb.c
  newsdb.c
  policiesdb.c
  wizlistdb.c

Global Function do_gold()

void do_gold ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: send_to_char()comm.c
  sprintf()
Used in:  interpreter.c
References Variables: bufdb.c

Global Function do_help()

void do_help ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: page_string()modify.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
  strn_cmp()utils.c
  strlen()
Used in:  interpreter.c
References Variables: helpdb.c
  help_tabledb.c
  top_of_helptdb.c

Global Function do_inventory()

void do_inventory ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: list_obj_to_char()act.informative.c
  send_to_char()comm.c
Used in:  interpreter.c

Global Function do_levels()

void do_levels ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: level_exp()class.c
  page_string()modify.c
  send_to_char()comm.c
  title_female()class.c
  title_male()class.c
  sprintf(), strcat(), strlen()
Used in:  interpreter.c
References Variables: bufdb.c

Global Function do_look()

void do_look ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  half_chop()interpreter.c
  is_abbrev()interpreter.c
  list_char_to_char()act.informative.c
  look_at_room()act.informative.c
  look_at_target()act.informative.c
  look_in_direction()act.informative.c
  look_in_obj()act.informative.c
  search_block()interpreter.c
  send_to_char()comm.c
Used in:  interpreter.c
References Variables: argdb.c
  dirsconstants.c
  dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function do_score()

void do_score ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: affected_by_spell()handler.c
  age()utils.c
  basic_mud_log()utils.c
  compute_armor_class()fight.c
  level_exp()class.c
  real_time_passed()utils.c
  send_to_char()comm.c
  sprintf(), strcat(), strlen(), time()
Used in:  interpreter.c
References Variables: bufdb.c
  dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function do_time()

void do_time ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: send_to_char()comm.c
  sprintf(), strcat()
Used in:  interpreter.c
References Variables: bufdb.c
  month_nameconstants.c
  time_infodb.c
  weekdaysconstants.c

Global Function do_toggle()

void do_toggle ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  send_to_char()comm.c
  sprintf(), strcpy()
Used in:  interpreter.c
References Variables: bufdb.c
  buf2db.c
  ctypesact.informative.c
  dummy_mobdb.c

Global Function do_users()

void do_users ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  find_class_bitvector()class.c
  half_chop()interpreter.c
  one_argument()interpreter.c
  send_to_char()comm.c
  str_cmp()utils.c
  asctime(), localtime(), sprintf(), sscanf(), strcat(), strcpy(), strlen(), strstr()
Used in:  interpreter.c
References Variables: argdb.c
  bufdb.c
  buf1db.c
  class_abbrevsclass.c
  connected_typesconstants.c
  descriptor_listcomm.c
  dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function do_weather()

void do_weather ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: send_to_char()comm.c
  sprintf()
Used in:  interpreter.c
References Variables: bufdb.c
  weather_infodb.c
  worlddb.c

Global Function do_where()

void do_where ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: one_argument()interpreter.c
  perform_immort_where()act.informative.c
  perform_mortal_where()act.informative.c
Used in:  interpreter.c
References Variables: argdb.c

Global Function do_who()

void do_who ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  find_class_bitvector()class.c
  half_chop()interpreter.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
  str_cmp()utils.c
  sprintf(), sscanf(), strcat(), strcpy(), strlen(), strstr()
Used in:  interpreter.c
References Variables: argdb.c
  bufdb.c
  buf1db.c
  class_abbrevsclass.c
  descriptor_listcomm.c
  dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function find_exdesc()

char* find_exdesc ( char* word, struct extra_descr_data* list )
Prototyped in: act.informative.c
Calls: isname()handler.c
Called by: look_at_target()act.informative.c

Global Function list_char_to_char()

void list_char_to_char ( struct char_data* list, struct char_data* ch )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  list_one_char()act.informative.c
  send_to_char()comm.c
Called by: do_look()act.informative.c
  look_at_room()act.informative.c
References Variables: dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function list_obj_to_char()

void list_obj_to_char ( struct obj_data* list, struct char_data* ch, int mode, int show )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  send_to_char()comm.c
  show_obj_to_char()act.informative.c
Called by: do_inventory()act.informative.c
  look_at_room()act.informative.c
  look_in_obj()act.informative.c
References Variables: dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function list_one_char()

void list_one_char ( struct char_data* i, struct char_data* ch )
Prototyped in: act.informative.c
Calls: CAP()utils.c
  act()comm.c
  basic_mud_log()utils.c
  send_to_char()comm.c
  sprintf(), strcat(), strcpy()
Called by: list_char_to_char()act.informative.c
References Variables: bufdb.c
  dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function look_at_char()

void look_at_char ( struct char_data* i, struct char_data* ch )
Prototyped in: act.informative.c
Calls: act()comm.c
  basic_mud_log()utils.c
  diag_char_to_char()act.informative.c
  number()utils.c
  send_to_char()comm.c
  show_obj_to_char()act.informative.c
Called by: look_at_target()act.informative.c
References Variables: dummy_mobdb.c
  weather_infodb.c
  whereconstants.c
  worlddb.c

Global Function look_at_room()

void look_at_room ( struct char_data* ch, int ignore_brief )
Prototyped in: utils.h
Calls: basic_mud_log()utils.c
  do_auto_exits()act.informative.c
  list_char_to_char()act.informative.c
  list_obj_to_char()act.informative.c
  send_to_char()comm.c
  sprintbit()utils.c
  sprintf()
Called by: do_goto()act.wizard.c
  do_look()act.informative.c
  do_simple_move()act.movement.c
  do_teleport()act.wizard.c
  do_trans()act.wizard.c
  nanny()interpreter.c
  spell_recall()spells.c
  spell_summon()spells.c
  spell_teleport()spells.c
References Variables: bufdb.c
  buf2db.c
  dummy_mobdb.c
  room_bitsconstants.c
  top_of_worlddb.c
  weather_infodb.c
  worlddb.c

Global Function look_at_target()

void look_at_target ( struct char_data* ch, char* arg )
Prototyped in: act.informative.c
Calls: act()comm.c
  basic_mud_log()utils.c
  find_exdesc()act.informative.c
  generic_find()handler.c
  get_number()handler.c
  look_at_char()act.informative.c
  page_string()modify.c
  send_to_char()comm.c
  show_obj_to_char()act.informative.c
Called by: do_examine()act.informative.c
  do_look()act.informative.c
References Variables: dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function look_in_direction()

void look_in_direction ( struct char_data* ch, int dir )
Prototyped in: act.informative.c
Calls: fname()handler.c
  send_to_char()comm.c
  sprintf()
Called by: do_look()act.informative.c
References Variables: bufdb.c
  worlddb.c

Global Function look_in_obj()

void look_in_obj ( struct char_data* ch, char* arg )
Prototyped in: act.informative.c
Calls: fname()handler.c
  generic_find()handler.c
  list_obj_to_char()act.informative.c
  send_to_char()comm.c
  sprinttype()utils.c
  sprintf(), strchr()
Called by: do_examine()act.informative.c
  do_look()act.informative.c
References Variables: bufdb.c
  buf2db.c
  color_liquidconstants.c
  fullnessconstants.c

Global Function perform_immort_where()

void perform_immort_where ( struct char_data* ch, char* arg )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  isname()handler.c
  print_object_location()act.informative.c
  send_to_char()comm.c
  sprintf()
Called by: do_where()act.informative.c
References Variables: bufdb.c
  character_listdb.c
  descriptor_listcomm.c
  dummy_mobdb.c
  object_listdb.c
  top_of_worlddb.c
  weather_infodb.c
  worlddb.c

Global Function perform_mortal_where()

void perform_mortal_where ( struct char_data* ch, char* arg )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  isname()handler.c
  send_to_char()comm.c
  sprintf()
Called by: do_where()act.informative.c
References Variables: bufdb.c
  character_listdb.c
  descriptor_listcomm.c
  dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function print_object_location()

void print_object_location ( int num, struct obj_data* obj, struct char_data* ch, int recur )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  print_object_location()act.informative.c
  send_to_char()comm.c
  sprintf(), strlen()
Called by: perform_immort_where()act.informative.c
  print_object_location()act.informative.c
References Variables: bufdb.c
  dummy_mobdb.c
  top_of_worlddb.c
  weather_infodb.c
  worlddb.c

Global Function show_obj_to_char()

void show_obj_to_char ( struct obj_data* object, struct char_data* ch, int mode )
Prototyped in: act.informative.c
Calls: page_string()modify.c
  send_to_char()comm.c
  strcat(), strcpy()
Called by: do_equipment()act.informative.c
  list_obj_to_char()act.informative.c
  look_at_char()act.informative.c
  look_at_target()act.informative.c
References Variables: bufdb.c

Global Function sort_commands()

void sort_commands ( void )
Prototyped in: act.informative.c
Calls: basic_mud_log()utils.c
  find_command()interpreter.c
  abort(), calloc(), perror(), strcmp()
Called by: boot_db()db.c
References Functions: do_action()act.social.c
References Variables: cmd_infointerpreter.c
  cmd_sort_infoact.informative.c
  num_of_cmdsact.informative.c