Angband
player-path.h
Go to the documentation of this file.
1 
20 #ifndef PLAYER_PATH_H
21 #define PLAYER_PATH_H
22 
23 #include "z-type.h"
24 
25 int pathfind_direction_to(struct loc from, struct loc to);
26 bool findpath(int y, int x);
27 void run_step(int dir);
28 
29 #endif /* !PLAYER_PATH_H */
Definition: z-type.h:24
void run_step(int dir)
Take one step along the current "run" path.
Definition: player-path.c:722
bool findpath(int y, int x)
Definition: player-path.c:93
Support various data types.
int pathfind_direction_to(struct loc from, struct loc to)
Compute the direction (in the angband 123456789 sense) from a point to a point.
Definition: player-path.c:183