OSDN Git Service

Merge pull request #3569 from sikabane-works/release/3.0.0.88-alpha
[hengbandforosx/hengbandosx.git] / src / action / travel-execution.h
1 #pragma once
2 /*!
3  * @file travel-execution.h
4  * @brief トラベル移動処理ヘッダ
5  */
6
7 #include "floor/floor-base-definitions.h"
8 #include "system/angband.h"
9
10 /*  A structure type for travel command  */
11 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 };
18
19 extern travel_type travel;
20
21 class FloorType;
22 class PlayerType;
23 void travel_step(PlayerType *player_ptr);
24 void forget_travel_flow(FloorType *floor_ptr);