#pragma once
+/*!
+ * @file travel-execution.h
+ * @brief トラベル移動処理ヘッダ
+ */
-#include "system/angband.h"
#include "floor/floor-base-definitions.h"
+#include "system/angband.h"
- /* A structure type for travel command */
-typedef struct travel_type {
+/* A structure type for travel command */
+struct travel_type {
int run; /* Remaining grid number */
int cost[MAX_HGT][MAX_WID];
POSITION x; /* Target X */
POSITION y; /* Target Y */
DIRECTION dir; /* Running direction */
-} travel_type;
+};
extern travel_type travel;
-void travel_step(player_type *creature_ptr);
-void forget_travel_flow(floor_type *floor_ptr);
+class FloorType;
+class PlayerType;
+void travel_step(PlayerType *player_ptr);
+void forget_travel_flow(FloorType *floor_ptr);