Angband
Data Fields
feature Struct Reference

Information about terrain features. More...

#include <cave.h>

Data Fields

char * name
int fidx
struct featurenext
byte mimic
 Feature to mimic.
byte priority
 Display priority.
byte shopnum
 Which shop does it take you to?
byte dig
 How hard is it to dig through?
bitflag flags [TF_SIZE]
 Terrain flags.
byte d_attr
 Default feature attribute.
wchar_t d_char
 Default feature character.

Detailed Description

Information about terrain features.

At the moment this isn't very much, but eventually a primitive flag-based information system will be used here.

Field Documentation

byte d_attr

Default feature attribute.

Referenced by parse_feat_graphics(), reset_visuals(), and test_graphics0().

wchar_t d_char

Default feature character.

Referenced by feat_order(), parse_feat_graphics(), reset_visuals(), and test_graphics0().

byte dig

How hard is it to dig through?

Referenced by parse_feat_info(), square_digging(), and test_info0().

int fidx
bitflag flags[TF_SIZE]
byte mimic
char* name
struct feature* next
byte priority

Display priority.

Referenced by display_map(), parse_feat_priority(), and test_priority0().

byte shopnum

Which shop does it take you to?

Referenced by parse_feat_info(), square_shopnum(), and test_info0().


The documentation for this struct was generated from the following file: