OSDN Git Service

[feature] ソースファイルをC++に対応
[hengbandforosx/hengbandosx.git] / src / spell / summon-types.h
index 3e2b77c..c5433a7 100644 (file)
@@ -1,7 +1,7 @@
 #pragma once
 
 /* summon_specificで取り扱われる、召喚の種別定義 / Legal restrictions for "summon_specific()" */
-typedef enum summon_type {
+enum summon_type : int {
     SUMMON_NONE = 0,
        SUMMON_ANT = 11,  /*!< 召喚タイプ: アリ */
     SUMMON_SPIDER = 12, /*!< 召喚タイプ: 蜘蛛 */
@@ -52,4 +52,4 @@ typedef enum summon_type {
     SUMMON_APOCRYPHA_FOLLOWERS = 68, /*!< 召喚タイプ: 信者 */
     SUMMON_APOCRYPHA_DRAGONS = 69, /*!< 召喚タイプ: 強力な古代ドラゴン */
     SUMMON_VESPOID = 70, /*!< 召喚タイプ: ランゴスタ */
-} summon_type;
+};