File act.social.c


Included Files

  • #include "conf.h"
  • #include "sysdep.h"
  • #include <stdio.h>
  • #include <ctype.h>
  • #include <stdlib.h>
  • #include <string.h>
  • #include <sys/types.h>
  • #include <unistd.h>
  • #include <limits.h>
  • #include <sys/time.h>
  • #include <assert.h>
  • #include "structs.h"
  • #include "utils.h"
  • #include "comm.h"
  • #include "interpreter.h"
  • #include "handler.h"
  • #include "db.h"
  • #include "spells.h"

  • Type 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

    void* 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

    cmd_info
    struct command_info cmd_info[]
    Defined in:
  • interpreter.c
  • 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 )
    Calls:
  • basic_mud_log() : utils.c
  • find_command() : interpreter.c
  • fread_action() : act.social.c
  • __gnu_calloc(), abort(), exit(), fclose(), fopen(), fprintf(), fscanf(), perror(), sprintf()
  • Called by:
  • boot_db() : db.c
  • References Functions:
  • do_action() : act.social.c
  • References Variables:
  • cmd_info : interpreter.c
  • list_top : act.social.c
  • soc_mess_list : act.social.c
  • buf

  • Global Function do_action()

    void do_action ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • act() : comm.c
  • find_action() : act.social.c
  • get_char_room_vis() : handler.c
  • one_argument() : interpreter.c
  • send_to_char() : comm.c
  • Called by:
  • ok_damage_shopkeeper() : shop.c
  • shop_keeper() : shop.c
  • shopping_buy() : shop.c
  • Used in:
  • : interpreter.c
  • boot_social_messages() : act.social.c
  • References Variables:
  • soc_mess_list : act.social.c
  • buf

  • Global Function do_insult()

    void do_insult ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • act() : comm.c
  • get_char_room_vis() : handler.c
  • number() : utils.c
  • one_argument() : interpreter.c
  • send_to_char() : comm.c
  • sprintf()
  • Used in:
  • : interpreter.c
  • References Variables:
  • arg, buf

  • Global Function find_action()

    int find_action ( int cmd )
    Called by:
  • do_action() : act.social.c
  • References Variables:
  • list_top : act.social.c
  • soc_mess_list : act.social.c

  • Global Function fread_action()

    char* fread_action ( FILE* fl, int nr )
    Prototyped in:
  • act.social.c
  • Calls:
  • __gnu_calloc(), abort(), exit(), feof(), fgets(), fprintf(), perror(), strcpy(), strlen()
  • Called by:
  • boot_social_messages() : act.social.c
  • load_messages() : fight.c