#include "io/screen-util.h"
#include "system/floor-type-definition.h"
#include "target/target-preparation.h"
-#include "target/targeting.h"
#include "term/term-color-types.h"
#include "view/display-map.h"
#include "window/main-window-util.h"
handle_stuff(player_ptr);
return TRUE;
}
+
+/*!
+ * @brief コンソール上におけるマップ表示の左上位置を返す /
+ * Calculates current boundaries Called below and from "do_cmd_locate()".
+ * @return なし
+ */
+void panel_bounds_center(void)
+{
+ TERM_LEN wid, hgt;
+ get_screen_size(&wid, &hgt);
+ panel_row_max = panel_row_min + hgt - 1;
+ panel_row_prt = panel_row_min - 1;
+ panel_col_max = panel_col_min + wid - 1;
+ panel_col_prt = panel_col_min - 13;
+}
void move_cursor_relative(int row, int col);
void print_path(player_type *player_ptr, POSITION y, POSITION x);
bool change_panel(player_type *player_ptr, POSITION dy, POSITION dx);
+void panel_bounds_center(void);
#include "world/world.h"
/*!
- * @brief コンソール上におけるマップ表示の左上位置を返す /
- * Calculates current boundaries Called below and from "do_cmd_locate()".
- * @return なし
- */
-void panel_bounds_center(void)
-{
- TERM_LEN wid, hgt;
- get_screen_size(&wid, &hgt);
- panel_row_max = panel_row_min + hgt - 1;
- panel_row_prt = panel_row_min - 1;
- panel_col_max = panel_col_min + wid - 1;
- panel_col_prt = panel_col_min - 13;
-}
-
-/*!
* @brief マップ描画のフォーカスを当てるべき座標を更新する
* @param creature_ptr プレーヤーへの参照ポインタ
* @details
typedef enum target_type target_type;
bool target_set(player_type *creature_ptr, target_type mode);
-void panel_bounds_center(void);
void verify_panel(player_type *creature_ptr);
bool target_okay(player_type *creature_ptr);
bool get_aim_dir(player_type *creature_ptr, DIRECTION *dp);