OSDN Git Service

Revert "Revert "Merge branch 'master' of git.osdn.net:/gitroot/hengband/hengband""
[hengband/hengband.git] / src / io-dump / dump-util.h
1 #pragma once
2
3 #include "system/angband.h"
4 #include "grid/feature.h"
5
6 #define FILE_NAME_SIZE 1024
7
8 // Clipboard variables for copy&paste in visual mode
9 extern TERM_COLOR attr_idx;
10 extern SYMBOL_CODE char_idx;
11
12 extern TERM_COLOR attr_idx_feat[F_LIT_MAX];
13 extern SYMBOL_CODE char_idx_feat[F_LIT_MAX];
14
15 bool visual_mode_command(char ch, bool *visual_list_ptr, int height, int width,
16         TERM_COLOR *attr_top_ptr, byte *char_left_ptr,
17         TERM_COLOR *cur_attr_ptr, SYMBOL_CODE *cur_char_ptr, bool *need_redraw);
18
19 bool open_temporary_file(FILE **fff, char *file_name);
20 void browser_cursor(char ch, int *column, IDX *grp_cur, int grp_cnt, IDX *list_cur, int list_cnt);
21 void display_group_list(int col, int row, int wid, int per_page, IDX grp_idx[], concptr group_text[], int grp_cur, int grp_top);
22 void display_visual_list(int col, int row, int height, int width, TERM_COLOR attr_top, byte char_left);
23 void place_visual_list_cursor(TERM_LEN col, TERM_LEN row, TERM_COLOR a, byte c, TERM_COLOR attr_top, byte char_left);