1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/*
* File: view.h
* Summary: Misc function used to render the dungeon.
* Written by: Linley Henzell
*/
#ifndef VIEW_H
#define VIEW_H
#include "externs.h"
#include "show.h"
void init_monsters_seens();
bool mons_near(const monsters *monster);
bool mon_enemies_around(const monsters *monster);
void find_features(const std::vector<coord_def>& features,
unsigned char feature, std::vector<coord_def> *found);
bool magic_mapping(int map_radius, int proportion, bool suppress_msg,
bool force = false, bool deterministic = false,
bool circular = false,
coord_def origin = coord_def(-1, -1));
void reautomap_level();
bool noisy(int loudness, const coord_def& where, int who,
bool mermaid = false);
bool noisy(int loudness, const coord_def& where, const char *msg = NULL,
int who = -1, bool mermaid = false);
void blood_smell( int strength, const coord_def& where);
void handle_monster_shouts(monsters* monster, bool force = false);
class level_pos;
void show_map( level_pos &spec_place, bool travel_mode, bool allow_esc = false );
bool check_awaken(monsters* monster);
bool is_feature(int feature, const coord_def& where);
bool inside_level_bounds(int x, int y);
bool inside_level_bounds(const coord_def &p);
void clear_feature_overrides();
void add_feature_override(const std::string &text);
std::string screenshot(bool fullscreen = false);
bool view_update();
void view_update_at(const coord_def &pos);
#ifndef USE_TILE
void flash_monster_colour(const monsters *mon, unsigned char fmc_colour,
int fmc_delay);
#endif
void viewwindow(bool draw_it, bool do_updates);
void update_monsters_in_view();
void handle_seen_interrupt(monsters* monster);
void flush_comes_into_view();
void handle_terminal_resize(bool redraw = true);
#endif
|