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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
|
/*
* 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);
// 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(const char your_name[kNameLen], const char class_name[40],
const char tspecies);
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: acr - view
* *********************************************************************** */
void item(void);
// 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
* *********************************************************************** */
void noisy(char loudness, char nois_x, char nois_y);
// 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 17jan2001 (gdl)
/* ***********************************************************************
* called from: beam view
* *********************************************************************** */
void get_ibm_symbol(unsigned int object, unsigned char *ch,
unsigned char *color);
// last updated 17jan2001 (gdl)
/* ***********************************************************************
* called from: beam view
* *********************************************************************** */
void get_non_ibm_symbol(unsigned int object, unsigned char *ch,
unsigned char *color);
// last updated 02apr2001 (gdl)
/* ***********************************************************************
* called from: view monstuff
* *********************************************************************** */
bool check_awaken(int mons_aw);
#endif
|