4 extern void get_screen_size(TERM_LEN *wid_p, TERM_LEN *hgt_p);
5 extern int panel_col_of(int col);
6 extern void apply_default_feat_lighting(TERM_COLOR f_attr[F_LIT_MAX], SYMBOL_CODE f_char[F_LIT_MAX]);
7 extern void prt_map(void);
8 extern void map_info(POSITION y, POSITION x, TERM_COLOR *ap, SYMBOL_CODE *cp, TERM_COLOR *tap, SYMBOL_CODE *tcp);
9 extern void display_map(floor_type *floor_ptr, int *cy, int *cx);
10 extern void do_cmd_view_map(void);
12 extern void health_track(MONSTER_IDX m_idx);
13 extern void prt_time(void);
14 extern concptr map_name(void);
15 extern void print_monster_list(floor_type *floor_ptr, TERM_LEN x, TERM_LEN y, TERM_LEN max_lines);
16 extern void move_cursor_relative(int row, int col);
17 extern void prt_path(floor_type *floor_ptr, POSITION y, POSITION x);
18 extern void monster_race_track(MONRACE_IDX r_idx);
19 extern void object_kind_track(KIND_OBJECT_IDX k_idx);
20 extern void resize_map(void);
21 extern void redraw_window(void);
22 extern bool change_panel(POSITION dy, POSITION dx);
24 extern void window_stuff(player_type *player_ptr);
25 extern void update_playtime(void);
32 * Bit flags for the "redraw" variable
34 extern void redraw_stuff(player_type *creature_ptr);
36 extern POSITION panel_row_min, panel_row_max;
37 extern POSITION panel_col_min, panel_col_max;
38 extern POSITION panel_col_prt, panel_row_prt;
41 * Determines if a map location is currently "on screen" -RAK-
42 * Note that "panel_contains(Y,X)" always implies "in_bounds2(Y,X)".
44 #define panel_contains(Y,X) \
45 (((Y) >= panel_row_min) && ((Y) <= panel_row_max) && \
46 ((X) >= panel_col_min) && ((X) <= panel_col_max))
48 extern void delayed_visual_update(floor_type *floor_ptr);