Angband
Data Fields
feature Struct Reference

Information about terrain features. More...

#include <cave.h>

Data Fields

char * name
 
char * desc
 
int fidx
 
struct featurenext
 
char * mimic
 Name of feature to mimic. More...
 
byte priority
 Display priority. More...
 
byte shopnum
 Which shop does it take you to? More...
 
byte dig
 How hard is it to dig through? More...
 
bitflag flags [TF_SIZE]
 Terrain flags. More...
 
byte d_attr
 Default feature attribute. More...
 
wchar_t d_char
 Default feature character. More...
 
char * walk_msg
 Message on walking into feature. More...
 
char * run_msg
 Message on running into feature. More...
 
char * hurt_msg
 Message on being hurt by feature. More...
 
char * die_msg
 Message on dying to feature. More...
 
int resist_flag
 Monster resist flag for entering feature. More...
 

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

◆ d_attr

byte d_attr

Default feature attribute.

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

◆ d_char

wchar_t d_char

Default feature character.

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

◆ desc

char* desc

Referenced by feat_lore(), and parse_feat_desc().

◆ die_msg

char* die_msg

Message on dying to feature.

Referenced by parse_feat_die_msg(), and test_die_msg0().

◆ dig

byte dig

How hard is it to dig through?

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

◆ fidx

int fidx

◆ flags

bitflag flags[TF_SIZE]

◆ hurt_msg

char* hurt_msg

Message on being hurt by feature.

Referenced by parse_feat_hurt_msg(), and test_hurt_msg0().

◆ mimic

char* mimic

◆ name

char* name

◆ next

struct feature* next

◆ priority

byte priority

Display priority.

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

◆ resist_flag

int resist_flag

Monster resist flag for entering feature.

Referenced by parse_feat_resist_flag(), and test_resist_flag0().

◆ run_msg

char* run_msg

Message on running into feature.

Referenced by move_player(), parse_feat_run_msg(), and test_run_msg0().

◆ shopnum

byte shopnum

Which shop does it take you to?

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

◆ walk_msg

char* walk_msg

Message on walking into feature.

Referenced by move_player(), parse_feat_walk_msg(), and test_walk_msg0().


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