3 #include "object-enchant/object-ego.h"
4 #include "system/angband.h"
8 enum class FixedArtifactId : short;
9 enum parse_error_type : int;
12 FEAT_IDX feature; /* Terrain feature */
13 MONSTER_IDX monster; /* Monster */
14 OBJECT_IDX object; /* Object */
15 EgoType ego; /* Ego-Item */
16 FixedArtifactId artifact; /* Artifact */
18 BIT_FLAGS cave_info; /* Flags for CAVE_MARK, CAVE_GLOW, CAVE_ICKY, CAVE_ROOM */
19 int16_t special; /* Reserved for special terrain info */
20 int random; /* Number of the random effect */
23 extern dungeon_grid letter[255];
25 struct angband_header;
28 using Parser = std::function<errr(std::string_view, angband_header *)>;
29 errr init_info_txt(FILE *fp, char *buf, angband_header *head, Parser parse_info_txt_line);
30 parse_error_type parse_line_feature(FloorType *floor_ptr, char *buf);
31 parse_error_type parse_line_building(char *buf);