* Functions and Commands which use the above functions. *
Included Files
- #include "sysdep.h"
- #include <stdio.h>
- #include <ctype.h>
- #include <stdarg.h>
- #include <string.h>
- #include <strings.h>
- #include <stdlib.h>
- #include <sys/types.h>
- #include <unistd.h>
- #include <limits.h>
- #include <errno.h>
- #include <crypt.h>
- #include <sys/time.h>
- #include <time.h>
- #include <assert.h>
Preprocessor definitions
#define MARK( room )
#define UNMARK( room )
#define IS_MARKED( room )
#define TOROOM( x, y )
#define IS_CLOSED( x, y )
struct bfs_queue_struct
struct bfs_queue_struct |
|
{ |
|
room_rnum room; |
|
char dir; |
|
struct bfs_queue_struct* next; |
|
} |
|
External Variables
character_list
extern struct char_data* character_list
dirs
extern const char* dirs[]
world
extern struct room_data* world
track_through_doors
extern int track_through_doors
Local Variables
queue_head
static struct bfs_queue_struct* queue_head
queue_tail
static struct bfs_queue_struct* queue_tail
int VALID_EDGE ( room_rnum x, int y )
void bfs_clear_queue ( void )
void bfs_dequeue ( void )
void bfs_enqueue ( room_rnum room, int dir )
void do_track ( struct char_data* ch, char* argument, int cmd, int subcmd )
int find_first_step ( room_rnum src, room_rnum target )
void hunt_victim ( struct char_data* ch )