File mobact.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 "db.h"
  • #include "comm.h"
  • #include "interpreter.h"
  • #include "handler.h"
  • #include "spells.h"

  • Preprocessor definitions

    #define MOB_AGGR_TO_ALIGN

    External Variables

    character_list
    extern struct char_data* character_list
    Defined in:
  • db.c
  • mob_index
    extern struct index_data* mob_index

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

    Defined in:
  • db.c
  • str_app
    extern struct str_app_type str_app[]

    Defined in:
  • constants.c
  • no_specials
    extern int no_specials

    Defined in:
  • comm.c

  • Global Function clearMemory()

    void clearMemory ( struct char_data* ch )
    Calls:
  • free()
  • Called by:
  • extract_char() : handler.c

  • Global Function forget()

    void forget ( struct char_data* ch, struct char_data* victim )
    Prototyped in:
  • handler.h
  • Calls:
  • free()
  • Called by:
  • damage() : fight.c

  • Global Function mobile_activity()

    void mobile_activity ( void )
    Calls:
  • act() : comm.c
  • basic_mud_log() : utils.c
  • hit() : fight.c
  • number() : utils.c
  • obj_from_room() : handler.c
  • obj_to_char() : handler.c
  • perform_move() : act.movement.c
  • sprintf()
  • Called by:
  • heartbeat() : comm.c
  • References Variables:
  • character_list : db.c
  • mob_index : db.c
  • no_specials : comm.c
  • str_app : constants.c
  • weather_info : db.c
  • world : db.c
  • buf

  • Global Function remember()

    void remember ( struct char_data* ch, struct char_data* victim )
    Prototyped in:
  • handler.h
  • Calls:
  • __gnu_calloc(), abort(), perror()
  • Called by:
  • damage() : fight.c