File act.offensive.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"

  • External Variables

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

    Defined in:
  • comm.c
  • pk_allowed
    extern int pk_allowed

    Defined in:
  • config.c

  • Global Function do_assist()

    void do_assist ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • act() : comm.c
  • get_char_room_vis() : handler.c
  • hit() : fight.c
  • one_argument() : interpreter.c
  • send_to_char() : comm.c
  • Used in:
  • : interpreter.c
  • References Variables:
  • NOPERSON : config.c
  • pk_allowed : config.c
  • weather_info : db.c
  • world : db.c
  • arg

  • Global Function do_backstab()

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

  • Global Function do_bash()

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

  • Global Function do_flee()

    void do_flee ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • act() : comm.c
  • do_simple_move() : act.movement.c
  • gain_exp() : limits.c
  • number() : utils.c
  • send_to_char() : comm.c
  • stop_fighting() : fight.c
  • Called by:
  • damage() : fight.c
  • Used in:
  • : interpreter.c
  • References Variables:
  • world : db.c

  • Global Function do_hit()

    void do_hit ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • act() : comm.c
  • get_char_room_vis() : handler.c
  • hit() : fight.c
  • one_argument() : interpreter.c
  • send_to_char() : comm.c
  • Called by:
  • do_kill() : act.offensive.c
  • Used in:
  • : interpreter.c
  • References Variables:
  • pk_allowed : config.c
  • arg

  • Global Function do_kick()

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

  • Global Function do_kill()

    void do_kill ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • act() : comm.c
  • do_hit() : act.offensive.c
  • get_char_room_vis() : handler.c
  • one_argument() : interpreter.c
  • raw_kill() : fight.c
  • send_to_char() : comm.c
  • Used in:
  • : interpreter.c
  • References Variables:
  • arg

  • Global Function do_order()

    void do_order ( struct char_data* ch, char* argument, int cmd, int subcmd )
    Calls:
  • act() : comm.c
  • command_interpreter() : interpreter.c
  • get_char_room_vis() : handler.c
  • half_chop() : interpreter.c
  • is_abbrev() : interpreter.c
  • send_to_char() : comm.c
  • sprintf()
  • Used in:
  • : interpreter.c
  • References Variables:
  • OK : config.c

  • Global Function do_rescue()

    void do_rescue ( 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
  • set_fighting() : fight.c
  • stop_fighting() : fight.c
  • Used in:
  • : interpreter.c
  • References Variables:
  • world : db.c
  • arg