OSDN Git Service

[Refactor] #40014 Made lore-util.c/h to prepare to divide monster-lore.c
[hengband/hengband.git] / src / lore / lore-util.h
1 #pragma once
2
3 #include "system/angband.h"
4 #include "monster-race/monster-race.h"
5
6 typedef struct lore_type {
7 #ifdef JP
8     char jverb_buf[64];
9 #else
10     bool sin = FALSE;
11 #endif
12     bool nightmare;
13     monster_race *r_ptr;
14     SPEED speed;
15     ITEM_NUMBER drop_gold;
16     ITEM_NUMBER drop_item;
17     BIT_FLAGS flags1;
18     BIT_FLAGS flags2;
19     BIT_FLAGS flags3;
20     BIT_FLAGS flags4;
21     BIT_FLAGS a_ability_flags1;
22     BIT_FLAGS a_ability_flags2;
23     BIT_FLAGS flags7;
24     BIT_FLAGS flagsr;
25     bool reinforce;
26 } lore_type;
27
28 lore_type *initialize_lore_type(lore_type *lore_ptr, MONRACE_IDX r_idx, BIT_FLAGS mode);