OSDN Git Service

[Refactor] #40570 Removed unused headers in rooms-builder.c
[hengband/hengband.git] / src / floor / cave.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 typedef enum feature_flag_type feature_flag_type;
6 typedef struct feature_type feature_type;
7 typedef struct grid_type grid_type;
8 bool in_bounds(floor_type *floor_ptr, POSITION y, POSITION x);
9 bool in_bounds2(floor_type *floor_ptr, POSITION y, POSITION x);
10 bool in_bounds2u(floor_type *floor_ptr, POSITION y, POSITION x);
11 bool is_cave_empty_bold(player_type *player_ptr, POSITION x, POSITION y);
12 bool is_cave_empty_bold2(player_type *player_ptr, POSITION x, POSITION y);
13 bool cave_have_flag_bold(floor_type *floor_ptr, POSITION y, POSITION x, feature_flag_type f_idx);
14 bool player_has_los_bold(player_type *player_ptr, POSITION y, POSITION x);
15 bool player_bold(player_type *player_ptr, POSITION y, POSITION x);
16 bool cave_stop_disintegration(floor_type *floor_ptr, POSITION y, POSITION x);
17 bool cave_los_bold(floor_type *floor_ptr, POSITION y, POSITION x);
18 bool feat_supports_los(FEAT_IDX f_idx);
19 bool cave_los_grid(grid_type *grid_ptr);
20 bool cave_have_flag_grid(grid_type *grid_ptr, int feature_flags);
21 bool permanent_wall(feature_type *f_ptr);