#pragma once
+
/* cmd2.c */
extern bool cmd_limit_cast(player_type *creature_ptr);
extern bool cmd_limit_arena(player_type *creature_ptr);
extern void do_cmd_fire(SPELL_IDX snipe_type);
extern void exe_fire(INVENTORY_IDX item, object_type *j_ptr, SPELL_IDX snipe_type);
extern bool do_cmd_throw(int mult, bool boomerang, OBJECT_IDX shuriken);
-#ifdef TRAVEL
-extern void do_cmd_travel(void);
-#endif
extern bool easy_open_door(POSITION y, POSITION x);
extern bool do_cmd_disarm_aux(POSITION y, POSITION x, DIRECTION dir);
#pragma once
#include "floor.h"
+/*
+ * For travel command (auto run)
+ */
+#define TRAVEL
+
extern void disturb(bool stop_search, bool flush_output);
extern void move_player(DIRECTION dir, bool do_pickup, bool break_trap);
extern void run_step(DIRECTION dir);
extern void search(void);
extern void carry(bool pickup);
#ifdef TRAVEL
+extern void do_cmd_travel(void);
extern void travel_step(void);
#endif