1 #include "cmd-visual/cmd-map.h"
2 #include "autopick/autopick-methods-table.h"
3 #include "autopick/autopick-util.h"
4 #include "io/input-key-acceptor.h"
5 #include "term/screen-processor.h"
6 #include "view/display-map.h"
7 #include "window/main-window-util.h"
10 * Display a "small-scale" map of the dungeon for the player
12 * Currently, the "player" is displayed on the map.
14 void do_cmd_view_map(player_type *player_ptr)
17 prt(_("お待ち下さい...", "Please wait..."), 0, 0);
23 display_map(player_ptr, &cy, &cx);
24 if ((max_autopick == 0) || player_ptr->wild_mode) {
25 put_str(_("何かキーを押すとゲームに戻ります", "Hit any key to continue"), 23, 30);
32 display_autopick = ITEM_DISPLAY;
35 term_get_size(&wid, &hgt);
36 int row_message = hgt - 1;
37 put_str(_("何かキーを押してください('M':拾う 'N':放置 'D':M+N 'K':壊すアイテムを表示)",
38 " Hit M, N(for ~), K(for !), or D(same as M+N) to display auto-picker items."),
44 flag = (DO_AUTOPICK | DO_QUERY_AUTOPICK);
48 flag = DO_AUTODESTROY;
50 flag = (DO_AUTOPICK | DO_QUERY_AUTOPICK | DONT_AUTOPICK);
55 if (~display_autopick & flag)
56 display_autopick |= flag;
58 display_autopick &= ~flag;
60 display_map(player_ptr, &cy, &cx);