3 #include "system/angband.h"
5 typedef struct dungeon_grid {
6 FEAT_IDX feature; /* Terrain feature */
7 MONSTER_IDX monster; /* Monster */
8 OBJECT_IDX object; /* Object */
9 EGO_IDX ego; /* Ego-Item */
10 ARTIFACT_IDX artifact; /* Artifact */
12 BIT_FLAGS cave_info; /* Flags for CAVE_MARK, CAVE_GLOW, CAVE_ICKY, CAVE_ROOM */
13 s16b special; /* Reserved for special terrain info */
14 int random; /* Number of the random effect */
17 dungeon_grid letter[255];
19 typedef struct angband_header angband_header;
20 typedef errr (*parse_info_txt_func)(char *buf, angband_header *head);
21 errr init_info_txt(FILE *fp, char *buf, angband_header *head, parse_info_txt_func parse_info_txt_line);
22 errr parse_line_feature(floor_type *floor_ptr, char *buf);
23 errr parse_line_building(char *buf);