File act.other.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 <sys/stat.h>
  • #include "structs.h"
  • #include "utils.h"
  • #include "comm.h"
  • #include "interpreter.h"
  • #include "handler.h"
  • #include "db.h"
  • #include "spells.h"
  • #include "screen.h"
  • #include "house.h"

  • Preprocessor definitions

    #define TOG_OFF 0

    #define TOG_ON 1

    #define PRF_TOG_CHK( ch, flag )


    Global Variable shop_keeper

    char ( shop_keeper)(struct char_data* ch,void* me,int cmd,char* argument)
    Visible in:
  • act.other.c
  • Used in:
  • do_steal() : act.other.c

  • External Variables

    str_app
    extern struct str_app_type str_app[]
    Defined in:
  • constants.c
  • world
    extern struct room_data* world

    Defined in:
  • db.c
  • descriptor_list
    extern struct descriptor_data* descriptor_list

    Defined in:
  • comm.c
  • dex_app_skill
    extern struct dex_skill_type dex_app_skill[]

    Defined in:
  • constants.c
  • spell_info
    extern struct spell_info_type spell_info[]

    Defined in:
  • spell_parser.c
  • mob_index
    extern struct index_data* mob_index

    Defined in:
  • db.c
  • class_abbrevs
    extern char* class_abbrevs[]

    Defined in:
  • class.c
  • free_rent
    extern int free_rent

    Defined in:
  • config.c
  • pt_allowed
    extern int pt_allowed

    Defined in:
  • config.c
  • max_filesize
    extern int max_filesize

    Defined in:
  • config.c
  • nameserver_is_slow
    extern int nameserver_is_slow

    Defined in:
  • config.c

  • Global Function do_display()

    void do_display ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • send_to_char() : comm.c
  • skip_spaces() : interpreter.c
  • str_cmp() : utils.c
  • strlen()
  • Used in:
  • : interpreter.c
  • References Variables:
  • OK : config.c

  • Global Function do_gen_tog()

    void do_gen_tog ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • basic_mud_log() : utils.c
  • send_to_char() : comm.c
  • Used in:
  • : interpreter.c
  • References Variables:
  • nameserver_is_slow : config.c

  • Global Function do_gen_write()

    void do_gen_write ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • delete_doubledollar() : interpreter.c
  • mudlog() : utils.c
  • send_to_char() : comm.c
  • skip_spaces() : interpreter.c
  • asctime(), fclose(), fopen(), fprintf(), localtime(), perror(), sprintf(), stat(), time()
  • Used in:
  • : interpreter.c
  • References Variables:
  • cmd_info : interpreter.c
  • max_filesize : config.c
  • world : db.c

  • Global Function do_group()

    void do_group ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • act() : comm.c
  • get_char_room_vis() : handler.c
  • one_argument() : interpreter.c
  • perform_group() : act.other.c
  • print_group() : act.other.c
  • send_to_char() : comm.c
  • str_cmp() : utils.c
  • Used in:
  • : interpreter.c
  • References Variables:
  • NOPERSON : config.c
  • buf

  • Global Function do_hide()

    void do_hide ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • number() : utils.c
  • send_to_char() : comm.c
  • Used in:
  • : interpreter.c
  • References Variables:
  • dex_app_skill : constants.c

  • Global Function do_not_here()

    void do_not_here ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • send_to_char() : comm.c
  • Used in:
  • : interpreter.c

  • Global Function do_practice()

    void do_practice ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • one_argument() : interpreter.c
  • send_to_char() : comm.c
  • Used in:
  • : interpreter.c
  • References Variables:
  • arg

  • Global Function do_quit()

    void do_quit ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • MAX() : utils.c
  • act() : comm.c
  • close_socket() : comm.c
  • extract_char() : handler.c
  • mudlog() : utils.c
  • save_char() : db.c
  • send_to_char() : comm.c
  • sprintf()
  • Used in:
  • : interpreter.c
  • References Variables:
  • descriptor_list : comm.c
  • free_rent : config.c
  • world : db.c
  • buf

  • Global Function do_report()

    void do_report ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • send_to_char() : comm.c
  • sprintf()
  • Used in:
  • : interpreter.c
  • References Variables:
  • buf

  • Global Function do_save()

    void do_save ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • Crash_crashsave() : objsave.c
  • House_crashsave() : house.c
  • save_char() : db.c
  • send_to_char() : comm.c
  • sprintf()
  • Used in:
  • : interpreter.c
  • References Variables:
  • world : db.c
  • buf

  • Global Function do_sneak()

    void do_sneak ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • affect_from_char() : handler.c
  • affect_to_char() : handler.c
  • number() : utils.c
  • send_to_char() : comm.c
  • Used in:
  • : interpreter.c
  • References Variables:
  • dex_app_skill : constants.c

  • Global Function do_split()

    void do_split ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • is_number() : interpreter.c
  • one_argument() : interpreter.c
  • send_to_char() : comm.c
  • atoi(), sprintf()
  • Used in:
  • : interpreter.c
  • References Variables:
  • buf

  • Global Function do_steal()

    void do_steal ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • MIN() : utils.c
  • act() : comm.c
  • get_char_room_vis() : handler.c
  • get_obj_in_list_vis() : handler.c
  • hit() : fight.c
  • isname() : handler.c
  • number() : utils.c
  • obj_from_char() : handler.c
  • obj_to_char() : handler.c
  • one_argument() : interpreter.c
  • send_to_char() : comm.c
  • str_cmp() : utils.c
  • unequip_char() : handler.c
  • sprintf()
  • Used in:
  • : interpreter.c
  • References Variables:
  • dex_app_skill : constants.c
  • mob_index : db.c
  • pt_allowed : config.c
  • shop_keeper : act.other.c
  • str_app : constants.c
  • weather_info : db.c
  • world : db.c
  • buf

  • Global Function do_title()

    void do_title ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • delete_doubledollar() : interpreter.c
  • send_to_char() : comm.c
  • set_title() : limits.c
  • skip_spaces() : interpreter.c
  • sprintf(), strlen(), strstr()
  • Used in:
  • : interpreter.c
  • References Variables:
  • buf

  • Global Function do_ungroup()

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

  • Global Function do_use()

    void do_use ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • basic_mud_log() : utils.c
  • get_obj_in_list_vis() : handler.c
  • half_chop() : interpreter.c
  • isname() : handler.c
  • mag_objectmagic() : spell_parser.c
  • send_to_char() : comm.c
  • sprintf(), strchr()
  • Used in:
  • : interpreter.c
  • References Variables:
  • cmd_info : interpreter.c
  • arg, buf, buf

  • Global Function do_visible()

    void do_visible ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • send_to_char() : comm.c
  • Used in:
  • : interpreter.c

  • Global Function do_wimpy()

    void do_wimpy ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • one_argument() : interpreter.c
  • send_to_char() : comm.c
  • atoi(), sprintf()
  • Used in:
  • : interpreter.c
  • References Variables:
  • arg, buf

  • Global Function perform_group()

    int perform_group ( struct char_data* ch, struct char_data* vict )
    Calls:
  • act() : comm.c
  • Called by:
  • do_group() : act.other.c
  • References Variables:
  • weather_info : db.c
  • world : db.c

  • Global Function print_group()

    void print_group ( struct char_data* ch )
    Calls:
  • act() : comm.c
  • send_to_char() : comm.c
  • sprintf()
  • Called by:
  • do_group() : act.other.c
  • References Variables:
  • class_abbrevs : class.c
  • buf