case CONVERT_TYPE_FLOOR:
return feat_ground_type[randint0(100)];
case CONVERT_TYPE_WALL:
- return fill_type[randint0(100)];
+ return feat_wall_type[randint0(100)];
case CONVERT_TYPE_INNER:
return feat_wall_inner;
case CONVERT_TYPE_OUTER:
extern FEAT_IDX feat_wall_outer;
extern FEAT_IDX feat_wall_inner;
extern FEAT_IDX feat_wall_solid;
-extern FEAT_IDX feat_ground_type[100], fill_type[100];
+extern FEAT_IDX feat_ground_type[100], feat_wall_type[100];
extern bool now_damaged;
extern COMMAND_CODE now_message;
extern bool use_menu;
if (type != DOOR_CURTAIN)
{
/* Hide. If on the edge of room, use outer wall. */
- c_ptr->mimic = room ? feat_wall_outer : fill_type[randint0(100)];
+ c_ptr->mimic = room ? feat_wall_outer : feat_wall_type[randint0(100)];
/* Floor type terrain cannot hide a door */
if (feat_supports_los(c_ptr->mimic) && !feat_supports_los(c_ptr->feat))
#define place_extra_bold(Y, X) \
{ \
- set_cave_feat(Y,X,fill_type[randint0(100)]); \
+ set_cave_feat(Y,X,feat_wall_type[randint0(100)]); \
cave[Y][X].info &= ~(CAVE_MASK); \
add_cave_info(Y,X,CAVE_EXTRA); \
delete_monster(Y, X); \
#define place_extra_grid(C) \
{ \
- (C)->feat = fill_type[randint0(100)]; \
+ (C)->feat = feat_wall_type[randint0(100)]; \
(C)->info &= ~(CAVE_MASK); \
(C)->info |= CAVE_EXTRA; \
if ((C)->m_idx) delete_monster_idx((C)->m_idx); \
#define place_extra_noperm_bold(Y, X) \
{ \
feature_type *_f_ptr; \
- set_cave_feat(Y,X,fill_type[randint0(100)]); \
+ set_cave_feat(Y,X,feat_wall_type[randint0(100)]); \
_f_ptr = &f_info[cave[Y][X].feat]; \
if (permanent_wall(_f_ptr)) cave[Y][X].feat = feat_state(cave[Y][X].feat, FF_UNPERM); \
cave[Y][X].info &= ~(CAVE_MASK); \
FEAT_IDX feat_wall_outer;
FEAT_IDX feat_wall_inner;
FEAT_IDX feat_wall_solid;
-FEAT_IDX feat_ground_type[100], fill_type[100];
+FEAT_IDX feat_ground_type[100], feat_wall_type[100];
bool now_damaged;
COMMAND_CODE now_message;
d_ptr = &d_info[type];
set_floor_and_wall_aux(feat_ground_type, d_ptr->floor);
- set_floor_and_wall_aux(fill_type, d_ptr->fill);
+ set_floor_and_wall_aux(feat_wall_type, d_ptr->fill);
feat_wall_outer = d_ptr->outer_wall;
feat_wall_inner = d_ptr->inner_wall;