OSDN Git Service

Revert "Revert "Merge branch 'master' of git.osdn.net:/gitroot/hengband/hengband""
[hengband/hengband.git] / src / action / travel-execution.h
1 #pragma once
2
3 #include "system/angband.h"
4 #include "floor/floor-base-definitions.h"
5
6  /*  A structure type for travel command  */
7 typedef struct travel_type {
8     int run; /* Remaining grid number */
9     int cost[MAX_HGT][MAX_WID];
10     POSITION x; /* Target X */
11     POSITION y; /* Target Y */
12     DIRECTION dir; /* Running direction */
13 } travel_type;
14
15 extern travel_type travel;
16
17 void travel_step(player_type *creature_ptr);
18 void forget_travel_flow(floor_type *floor_ptr);