OSDN Git Service

[feature] ソースファイルをC++に対応
[hengbandforosx/hengbandosx.git] / src / monster-floor / place-monster-types.h
index 51ba8f5..7ab0961 100644 (file)
@@ -3,7 +3,8 @@
 /*
  * Bit flags for the place_monster_???() (etc)
  */
-typedef enum place_monster_type {
+enum place_monster_type {
+    PM_NONE = 0x00000000, /*!< 特になし*/
        PM_ALLOW_SLEEP = 0x00000001, /*!< モンスター生成フラグ: 眠っている状態で生成されても良い */
     PM_ALLOW_GROUP = 0x00000002, /*!< モンスター生成フラグ: 集団生成されても良い */
     PM_FORCE_FRIENDLY = 0x00000004, /*!< モンスター生成フラグ: 必ず友好的に生成される */
@@ -16,4 +17,4 @@ typedef enum place_monster_type {
     PM_KAGE = 0x00000200, /*!< モンスター生成フラグ: 必ずあやしい影として生成する */
     PM_MULTIPLY = 0x00000400, /*!< モンスター生成フラグ: 増殖処理時として生成する */
     PM_JURAL = 0x00000800, /*!< モンスター生成フラグ: ジュラル星人として誤認生成する */
-} place_monster_type;
+};