diff options
Diffstat (limited to 'stone_soup/crawl-ref/source/view.h')
-rw-r--r-- | stone_soup/crawl-ref/source/view.h | 116 |
1 files changed, 0 insertions, 116 deletions
diff --git a/stone_soup/crawl-ref/source/view.h b/stone_soup/crawl-ref/source/view.h deleted file mode 100644 index e45186cda2..0000000000 --- a/stone_soup/crawl-ref/source/view.h +++ /dev/null @@ -1,116 +0,0 @@ -/* - * File: view.cc - * Summary: Misc function used to render the dungeon. - * Written by: Linley Henzell - * - * Change History (most recent first): - * - * <2> 9/29/99 BCR Added the BORDER_COLOR define - * <1> -/--/-- LRH Created - */ - - -#ifndef VIEW_H -#define VIEW_H - - -#include "externs.h" - - -#define BORDER_COLOR BROWN - -int get_number_of_lines(void); - -/* *********************************************************************** - * called from: dump_screenshot - chardump - * *********************************************************************** */ -void get_non_ibm_symbol(unsigned int object, unsigned short *ch, - unsigned short *color); - -// last updated 29may2000 {dlb} -/* *********************************************************************** - * called from: bang - beam - direct - effects - fight - monstuff - - * mstuff2 - spells1 - spells2 - * *********************************************************************** */ -bool mons_near(struct monsters *monster, unsigned int foe = MHITYOU); - - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: acr - player - stuff - * *********************************************************************** */ -void draw_border(void); - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: acr - view - * *********************************************************************** */ -void item(void); - -void find_features(const std::vector<coord_def>& features, - unsigned char feature, std::vector<coord_def> *found); - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: direct - monstufff - view - * *********************************************************************** */ -void losight(FixedArray<unsigned int, 19, 19>& sh, FixedArray<unsigned char, 80, 70>& gr, int x_p, int y_p); - - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: ability - acr - it_use3 - item_use - spell - * *********************************************************************** */ -void magic_mapping(int map_radius, int proportion); - - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: acr - effects - it_use2 - it_use3 - item_use - spell - - * spells - spells3 - spells4 - * *********************************************************************** */ -bool noisy( int loudness, int nois_x, int nois_y, const char *msg = NULL ); - - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: acr - spells3 - * *********************************************************************** */ -void show_map( FixedVector<int, 2>& spec_place ); - - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: acr - * *********************************************************************** */ -void viewwindow2(char draw_it, bool do_updates); - - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: acr - * *********************************************************************** */ -void viewwindow3(char draw_it, bool do_updates); // non-IBM graphics - -// last updated 19jun2000 (gdl) -/* *********************************************************************** - * called from: acr view - * *********************************************************************** */ -void setLOSRadius(int newLR); - -// last updated 02apr2001 (gdl) -/* *********************************************************************** - * called from: view monstuff - * *********************************************************************** */ -bool check_awaken(int mons_aw); - -void clear_map(); - -bool is_feature(int feature, int x, int y); - -inline bool in_map_grid(int x, int y) -{ - return !(x < 1 || x >= GXM || y < 1 || y >= GYM); -} - -#endif |