File act.comm.c

* generalized communication func, originally by Fred C. Merkel (Torg) *


Included Files


Preprocessor definitions

#define MAX_NOTE_LENGTH 1000

External Variables

level_can_shout
extern int level_can_shout
Defined in: config.c

holler_move_cost
extern int holler_move_cost
Defined in: config.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


Global Function do_gen_comm()

void do_gen_comm ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.comm.c
Calls: act()comm.c
  basic_mud_log()utils.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
  sprintf(), strcpy()
Used in:  interpreter.c
References Variables: OKconfig.c
  bufdb.c
  buf1db.c
  descriptor_listcomm.c
  dummy_mobdb.c
  holler_move_costconfig.c
  level_can_shoutconfig.c
  worlddb.c

Global Function do_gsay()

void do_gsay ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.comm.c
Calls: act()comm.c
  basic_mud_log()utils.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
  sprintf()
Used in:  interpreter.c
References Variables: OKconfig.c
  bufdb.c
  dummy_mobdb.c

Global Function do_page()

void do_page ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.comm.c
Calls: act()comm.c
  basic_mud_log()utils.c
  get_char_vis()handler.c
  half_chop()interpreter.c
  send_to_char()comm.c
  str_cmp()utils.c
  sprintf()
Used in:  interpreter.c
References Variables: OKconfig.c
  argdb.c
  bufdb.c
  buf2db.c
  descriptor_listcomm.c
  dummy_mobdb.c

Global Function do_qcomm()

void do_qcomm ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.comm.c
Calls: CAP()utils.c
  act()comm.c
  basic_mud_log()utils.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
  sprintf(), strcpy()
Used in:  interpreter.c
References Variables: OKconfig.c
  bufdb.c
  cmd_infointerpreter.c
  descriptor_listcomm.c
  dummy_mobdb.c

Global Function do_reply()

void do_reply ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.comm.c
Calls: basic_mud_log()utils.c
  is_tell_ok()act.comm.c
  perform_tell()act.comm.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
Used in:  interpreter.c
References Variables: character_listdb.c
  dummy_mobdb.c

Global Function do_say()

void do_say ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.comm.c
Calls: act()comm.c
  basic_mud_log()utils.c
  delete_doubledollar()interpreter.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
  sprintf()
Called by: hunt_victim()graph.c
  is_ok_char()shop.c
  is_open()shop.c
  puff()spec_procs.c
Used in:  interpreter.c
References Variables: OKconfig.c
  bufdb.c
  dummy_mobdb.c

Global Function do_spec_comm()

void do_spec_comm ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.comm.c
Calls: act()comm.c
  basic_mud_log()utils.c
  get_char_vis()handler.c
  half_chop()interpreter.c
  send_to_char()comm.c
  sprintf()
Used in:  interpreter.c
References Variables: NOPERSONconfig.c
  OKconfig.c
  bufdb.c
  buf2db.c
  dummy_mobdb.c

Global Function do_tell()

void do_tell ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.comm.c
Calls: get_char_vis()handler.c
  get_player_vis()handler.c
  half_chop()interpreter.c
  is_tell_ok()act.comm.c
  perform_tell()act.comm.c
  send_to_char()comm.c
Called by: get_purchase_obj()shop.c
  get_selling_obj()shop.c
  is_ok_char()shop.c
  ok_damage_shopkeeper()shop.c
  shopping_buy()shop.c
  shopping_sell()shop.c
  shopping_value()shop.c
Used in:  interpreter.c
References Variables: NOPERSONconfig.c
  bufdb.c
  buf2db.c

Global Function do_write()

void do_write ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.comm.c
Calls: act()comm.c
  basic_mud_log()utils.c
  get_obj_in_list_vis()handler.c
  send_to_char()comm.c
  string_write()modify.c
  two_arguments()interpreter.c
  sprintf(), strchr()
Used in:  interpreter.c
References Variables: bufdb.c
  buf1db.c
  buf2db.c
  dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function is_tell_ok()

int is_tell_ok ( struct char_data* ch, struct char_data* vict )
Prototyped in: act.comm.c
Calls: act()comm.c
  basic_mud_log()utils.c
  send_to_char()comm.c
Called by: do_reply()act.comm.c
  do_tell()act.comm.c
References Variables: dummy_mobdb.c
  worlddb.c

Global Function perform_tell()

void perform_tell ( struct char_data* ch, struct char_data* vict, char* arg )
Prototyped in: act.comm.c
Calls: act()comm.c
  basic_mud_log()utils.c
  send_to_char()comm.c
  sprintf()
Called by: do_reply()act.comm.c
  do_tell()act.comm.c
References Variables: OKconfig.c
  bufdb.c
  dummy_mobdb.c