OSDN Git Service

[Refactor] #40014 Moved display_kill_numbers() from monster-lore.c/h to display-monst...
[hengbandforosx/hengbandosx.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 enum monster_sex {
7     MSEX_NONE = 0,
8     MSEX_MALE = 1,
9     MSEX_FEMALE = 2,
10 } monster_sex;
11
12 typedef struct lore_type {
13 #ifdef JP
14     char jverb_buf[64];
15 #else
16     bool sin = FALSE;
17 #endif
18     bool nightmare;
19     monster_race *r_ptr;
20     SPEED speed;
21     ITEM_NUMBER drop_gold;
22     ITEM_NUMBER drop_item;
23     BIT_FLAGS flags1;
24     BIT_FLAGS flags2;
25     BIT_FLAGS flags3;
26     BIT_FLAGS flags4;
27     BIT_FLAGS a_ability_flags1;
28     BIT_FLAGS a_ability_flags2;
29     BIT_FLAGS flags7;
30     BIT_FLAGS flagsr;
31     bool reinforce;
32     bool know_everything;
33     BIT_FLAGS mode;
34     monster_sex msex;
35 } lore_type;
36
37 typedef void (*hook_c_roff_pf)(TERM_COLOR attr, concptr str);
38 extern hook_c_roff_pf hook_c_roff;
39
40 extern concptr wd_he[3];
41 extern concptr wd_his[3];
42
43 lore_type *initialize_lore_type(lore_type *lore_ptr, MONRACE_IDX r_idx, BIT_FLAGS mode);
44 void hooked_roff(concptr str);