OSDN Git Service

[feature] ソースファイルをC++に対応
[hengbandforosx/hengbandosx.git] / src / object-enchant / item-apply-magic.h
1 #pragma once
2
3 /*
4  * Bit flags for apply_magic()
5  */
6 enum item_am_type : uint32_t {
7     AM_NONE = 0x00000000,
8     AM_NO_FIXED_ART = 0x00000001, /*!< Don't allow roll for fixed artifacts */
9     AM_GOOD = 0x00000002, /*!< Generate good items */
10     AM_GREAT = 0x00000004, /*!< Generate great items */
11     AM_SPECIAL = 0x00000008, /*!< Generate artifacts (for debug mode only) */
12     AM_CURSED = 0x00000010, /*!< Generate cursed/worthless items */
13     AM_FORBID_CHEST = 0x00000020, /*!< 箱からさらに箱が出現することを抑止する */
14 };