OSDN Git Service

4b40c6a959b1119bbaa722f5128bf7ddd60ff34a
[hengbandforosx/hengbandosx.git] / src / action / travel-execution.h
1 #pragma once
2 /*!
3  * @file travel-execution.h
4  * @brief トラベル移動処理ヘッダ
5  */
6
7 #include "system/angband.h"
8 #include "floor/floor-base-definitions.h"
9
10  /*  A structure type for travel command  */
11 typedef struct travel_type {
12     int run; /* Remaining grid number */
13     int cost[MAX_HGT][MAX_WID];
14     POSITION x; /* Target X */
15     POSITION y; /* Target Y */
16     DIRECTION dir; /* Running direction */
17 } travel_type;
18
19 extern travel_type travel;
20
21 struct floor_type;
22 struct player_type;
23 void travel_step(player_type *player_ptr);
24 void forget_travel_flow(floor_type *floor_ptr);