File act.social.c


Included Files


Type struct social_messg

struct social_messg
struct social_messg 
   { 
     int act_nr; 
     int hide; 
     int min_victim_position; 
     char* char_no_arg; 
     char* others_no_arg; 
     char* char_found; 
     char* others_found; 
     char* vict_found; 
     char* not_found; 
     char* char_auto; 
     char* others_auto; 
   } 

Global Variable soc_mess_list

struct social_messg* soc_mess_list
Visible in:  act.social.c
Used in: boot_social_messages()act.social.c
  do_action()act.social.c
  find_action()act.social.c

External Variables

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

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


Local Variables

list_top
static int list_top
Used in: boot_social_messages()
  find_action()

Global Function boot_social_messages()

void boot_social_messages ( void )
Prototyped in: act.social.c
Calls: basic_mud_log()utils.c
  find_command()interpreter.c
  fread_action()act.social.c
  __errno_location(), abort(), calloc(), exit(), fclose(), fopen(), fscanf(), memset(), perror(), strerror()
Called by: boot_db()db.c
References Functions: do_action()act.social.c
References Variables: cmd_infointerpreter.c
  list_topact.social.c
  soc_mess_listact.social.c

Global Function do_action()

void do_action ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.social.c
Calls: act()comm.c
  find_action()act.social.c
  get_char_vis()handler.c
  one_argument()interpreter.c
  send_to_char()comm.c
Called by: gen_receptionist()objsave.c
  ok_damage_shopkeeper()shop.c
  shop_keeper()shop.c
  shopping_buy()shop.c
Used in:  interpreter.c
  boot_social_messages()act.social.c
  sort_commands()act.informative.c
References Variables: bufdb.c
  soc_mess_listact.social.c

Global Function do_insult()

void do_insult ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.social.c
Calls: act()comm.c
  get_char_vis()handler.c
  number()utils.c
  one_argument()interpreter.c
  send_to_char()comm.c
  sprintf()
Used in:  interpreter.c
References Variables: argdb.c
  bufdb.c

Global Function find_action()

int find_action ( int cmd )
Prototyped in: act.social.c
Called by: do_action()act.social.c
References Variables: list_topact.social.c
  soc_mess_listact.social.c

Global Function fread_action()

char* fread_action ( FILE* fl, int nr )
Prototyped in: act.social.c
Calls: basic_mud_log()utils.c
  str_dup()utils.c
  exit(), feof(), fgets(), strlen()
Called by: boot_social_messages()act.social.c
  load_messages()fight.c