OSDN Git Service

Merge pull request #716 from sikabane-works/release/3.0.0Alpha16
[hengbandforosx/hengbandosx.git] / src / load / load-v1-5-0.h
1 #pragma once
2
3 #include "system/angband.h"
4 #include "system/monster-type-definition.h"
5
6 // TODO: 更に分割する可能性が中程度あるのでヘッダに置いておく
7 enum old_monster_resistance_type {
8         RF3_IM_ACID = 0x00010000, /* Resist acid a lot */
9         RF3_IM_ELEC = 0x00020000, /* Resist elec a lot */
10         RF3_IM_FIRE = 0x00040000, /* Resist fire a lot */
11         RF3_IM_COLD = 0x00080000, /* Resist cold a lot */
12         RF3_IM_POIS = 0x00100000, /* Resist poison a lot */
13         RF3_RES_TELE = 0x00200000, /* Resist teleportation */
14         RF3_RES_NETH = 0x00400000, /* Resist nether a lot */
15         RF3_RES_WATE = 0x00800000, /* Resist water */
16         RF3_RES_PLAS = 0x01000000, /* Resist plasma */
17         RF3_RES_NEXU = 0x02000000, /* Resist nexus */
18         RF3_RES_DISE = 0x04000000, /* Resist disenchantment */
19         RF3_RES_ALL = 0x08000000, /* Resist all */
20 };
21
22 enum old_monster_breath_type {
23         RF4_BR_LITE = 0x00004000, /* Breathe Lite */
24         RF4_BR_DARK = 0x00008000, /* Breathe Dark */
25         RF4_BR_CONF = 0x00010000, /* Breathe Confusion */
26         RF4_BR_SOUN = 0x00020000, /* Breathe Sound */
27         RF4_BR_CHAO = 0x00040000, /* Breathe Chaos */
28         RF4_BR_TIME = 0x00200000, /* Breathe Time */
29         RF4_BR_INER = 0x00400000, /* Breathe Inertia */
30         RF4_BR_GRAV = 0x00800000, /* Breathe Gravity */
31         RF4_BR_SHAR = 0x01000000, /* Breathe Shards */
32         RF4_BR_WALL = 0x04000000, /* Breathe Force */
33 };
34
35 extern const int OLD_QUEST_WATER_CAVE;
36 extern const int QUEST_OLD_CASTLE;
37 extern const int QUEST_ROYAL_CRYPT; 
38
39 void rd_item_old(player_type *player_ptr, object_type *o_ptr);
40 void rd_monster_old(player_type *player_ptr, monster_type *m_ptr);
41 void set_old_lore(monster_race *r_ptr, const MONRACE_IDX r_idx);
42 errr rd_dungeon_old(player_type *player_ptr);