File act.movement.c


Included Files


Preprocessor definitions

#define NEED_OPEN

#define NEED_CLOSED

#define NEED_UNLOCKED

#define NEED_LOCKED

#define EXITN( room, door )

#define OPEN_DOOR( room, obj, door )

#define LOCK_DOOR( room, obj, door )

#define DOOR_IS_OPENABLE( ch, obj, door )

#define DOOR_IS_OPEN( ch, obj, door )

#define DOOR_IS_UNLOCKED( ch, obj, door )

#define DOOR_IS_PICKPROOF( ch, obj, door )

#define DOOR_IS_CLOSED( ch, obj, door )

#define DOOR_IS_LOCKED( ch, obj, door )

#define DOOR_KEY( ch, obj, door )

#define DOOR_LOCK( ch, obj, door )


Global Variable cmd_door

const char* cmd_door[]
Visible in:  act.movement.c
Used in: do_doorcmd()act.movement.c
  do_gen_door()act.movement.c

Global Variable flags_door

const int flags_door[]
Visible in:  act.movement.c
Used in: do_gen_door()act.movement.c

External Variables

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

character_list
extern struct char_data* character_list
Defined in: db.c

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

obj_index
extern struct index_data* obj_index
Defined in: db.c


Global Function do_doorcmd()

void do_doorcmd ( struct char_data* ch, struct obj_data* obj, int door, int scmd )
Prototyped in: act.movement.c
Calls: act()comm.c
  fname()handler.c
  send_to_char()comm.c
  sprintf(), strcpy(), strlen()
Called by: do_gen_door()act.movement.c
References Variables: OKconfig.c
  bufdb.c
  cmd_dooract.movement.c
  rev_dirconstants.c
  worlddb.c

Global Function do_enter()

void do_enter ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.movement.c
Calls: one_argument()interpreter.c
  perform_move()act.movement.c
  send_to_char()comm.c
  str_cmp()utils.c
  sprintf()
Used in:  interpreter.c
References Variables: bufdb.c
  buf2db.c
  worlddb.c

Global Function do_follow()

void do_follow ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.movement.c
Calls: act()comm.c
  add_follower()utils.c
  circle_follow()utils.c
  get_char_vis()handler.c
  one_argument()interpreter.c
  send_to_char()comm.c
  stop_follower()utils.c
Called by: castle_twin_proc()castle.c
Used in:  interpreter.c
References Variables: NOPERSONconfig.c
  bufdb.c

Global Function do_gen_door()

void do_gen_door ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.movement.c
Calls: CAP()utils.c
  act()comm.c
  do_doorcmd()act.movement.c
  find_door()act.movement.c
  generic_find()handler.c
  has_key()act.movement.c
  ok_pick()act.movement.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
  two_arguments()interpreter.c
  sprintf()
Called by: king_welmar()castle.c
  mayor()spec_procs.c
Used in:  interpreter.c
References Variables: bufdb.c
  cmd_dooract.movement.c
  flags_dooract.movement.c
  worlddb.c

Global Function do_leave()

void do_leave ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.movement.c
Calls: perform_move()act.movement.c
  send_to_char()comm.c
Used in:  interpreter.c
References Variables: worlddb.c

Global Function do_move()

void do_move ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: interpreter.h
Calls: perform_move()act.movement.c
Used in:  interpreter.c
  guild_guard()spec_procs.c

Global Function do_rest()

void do_rest ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.movement.c
Calls: act()comm.c
  send_to_char()comm.c
Used in:  interpreter.c

Global Function do_simple_move()

int do_simple_move ( struct char_data* ch, int dir, int need_specials_check )
Prototyped in: utils.h
Calls: House_can_enter()house.c
  act()comm.c
  char_from_room()handler.c
  char_to_room()handler.c
  death_cry()fight.c
  extract_char()handler.c
  has_boat()act.movement.c
  log_death_trap()utils.c
  look_at_room()act.informative.c
  num_pc_in_room()utils.c
  send_to_char()comm.c
  special()interpreter.c
  sprintf()
Called by: do_flee()act.offensive.c
  perform_move()act.movement.c
References Variables: buf2db.c
  dirsconstants.c
  movement_lossconstants.c
  top_of_worlddb.c
  worlddb.c

Global Function do_sit()

void do_sit ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.movement.c
Calls: act()comm.c
  send_to_char()comm.c
Used in:  interpreter.c

Global Function do_sleep()

void do_sleep ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.movement.c
Calls: act()comm.c
  send_to_char()comm.c
Used in:  interpreter.c

Global Function do_stand()

void do_stand ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.movement.c
Calls: act()comm.c
  send_to_char()comm.c
Used in:  interpreter.c

Global Function do_wake()

void do_wake ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.movement.c
Calls: act()comm.c
  get_char_vis()handler.c
  one_argument()interpreter.c
  send_to_char()comm.c
Used in:  interpreter.c
References Variables: NOPERSONconfig.c
  argdb.c

Global Function find_door()

int find_door ( struct char_data* ch, const char* type, char* dir, const char* cmdname )
Prototyped in: act.movement.c
Calls: isname()handler.c
  search_block()interpreter.c
  send_to_char()comm.c
  sprintf(), strchr()
Called by: do_gen_door()act.movement.c
References Variables: buf2db.c
  dirsconstants.c
  worlddb.c

Global Function has_boat()

int has_boat ( struct char_data* ch )
Prototyped in: act.movement.c
Calls: find_eq_pos()act.item.c
Called by: do_simple_move()act.movement.c

Global Function has_key()

int has_key ( struct char_data* ch, obj_vnum key )
Prototyped in: act.movement.c
Called by: do_gen_door()act.movement.c
References Variables: obj_indexdb.c

Global Function ok_pick()

int ok_pick ( struct char_data* ch, obj_vnum keynum, int pickproof, int scmd )
Prototyped in: act.movement.c
Calls: basic_mud_log()utils.c
  number()utils.c
  send_to_char()comm.c
Called by: do_gen_door()act.movement.c
References Variables: dummy_mobdb.c

Global Function perform_move()

int perform_move ( struct char_data* ch, int dir, int need_specials_check )
Prototyped in: utils.h
Calls: act()comm.c
  do_simple_move()act.movement.c
  fname()handler.c
  perform_move()act.movement.c
  send_to_char()comm.c
  sprintf()
Called by: do_enter()act.movement.c
  do_leave()act.movement.c
  do_move()act.movement.c
  hunt_victim()graph.c
  king_welmar()castle.c
  mayor()spec_procs.c
  mobile_activity()mobact.c
  perform_move()act.movement.c
References Variables: buf2db.c
  worlddb.c