<ClInclude Include="..\..\src\mspell\mspells1.h" />\r
<ClInclude Include="..\..\src\mspell\mspells2.h" />\r
<ClInclude Include="..\..\src\mspell\mspells3.h" />\r
+ <ClInclude Include="..\..\src\player\special-defense-types.h" />\r
<ClInclude Include="..\..\src\system\alloc-entries.h" />\r
<ClInclude Include="..\..\src\term\screen-processor.h" />\r
<ClInclude Include="..\..\src\util\bit-flags-calculator.h" />\r
<ClInclude Include="..\..\src\mind\stances-table.h">
<Filter>mind</Filter>
</ClInclude>
+ <ClInclude Include="..\..\src\player\special-defense-types.h">
+ <Filter>player</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\wall.bmp" />
player/player-personalities-types.h \
player/player-sex.c player/player-sex.h \
player/selfinfo.c player/selfinfo.h \
+ player/special-defense-types.h \
\
player-attack/player-attack-util.h \
player-attack/attack-chaos-effect.c player-attack/attack-chaos-effect.h \
#include "player/player-effects.h"
#include "player/player-move.h"
#include "player/player-skill.h"
+#include "player/special-defense-types.h"
#include "spell/process-effect.h"
#include "spell/spell-types.h"
#include "view/display-messages.h"
#include "object/item-use-flags.h"
#include "player/player-effects.h"
#include "player/player-status.h"
+#include "player/special-defense-types.h"
#include "spell/spells-execution.h"
#include "spell/spells-util.h"
#include "spell/technic-info-table.h"
#include "player/player-move.h"
#include "player/player-skill.h"
#include "player/player-status.h"
+#include "player/special-defense-types.h"
#include "term/screen-processor.h"
#include "util/bit-flags-calculator.h"
#include "util/int-char-converter.h"
#include "player/player-skill.h"
#include "player/player-status.h"
#include "player/selfinfo.h"
+#include "player/special-defense-types.h"
#include "realm/realm-names-table.h"
#include "spell-kind/spells-random.h"
#include "spell-kind/spells-sight.h"
#include "player/player-damage.h"
#include "player/player-effects.h"
#include "player/player-race-types.h"
+#include "player/special-defense-types.h"
#include "realm/realm-types.h"
#include "spell-kind/earthquake.h"
#include "spell-kind/spells-beam.h"
#include "player/player-effects.h"
#include "player/player-race-types.h"
#include "player/player-status.h"
+#include "player/special-defense-types.h"
#include "spell-realm/spells-hex.h"
#include "spell/spells-status.h"
#include "sv-definition/sv-food-types.h"
#include "player/player-race-types.h"
#include "player/player-status.h"
#include "player/selfinfo.h"
+#include "player/special-defense-types.h"
#include "realm/realm-hex-numbers.h"
#include "realm/realm-names-table.h"
#include "realm/realm-types.h"
#include "player/player-race-types.h"
#include "player/player-status.h"
#include "player/selfinfo.h"
+#include "player/special-defense-types.h"
#include "realm/realm-hex-numbers.h"
#include "spell-kind/spells-detection.h"
#include "spell-kind/spells-floor.h"
#include "player/player-damage.h"
#include "player/player-effects.h"
#include "player/player-status.h"
+#include "player/special-defense-types.h"
#include "spell-kind/spells-detection.h"
#include "spell-kind/spells-floor.h"
#include "spell-kind/spells-genocide.h"
#include "player/player-race-types.h"
#include "player/player-race.h"
#include "player/player-status.h"
+#include "player/special-defense-types.h"
#include "spell-kind/earthquake.h"
#include "spell-kind/spells-detection.h"
#include "spell-kind/spells-floor.h"
#include "player/player-class.h"
#include "player/player-effects.h"
#include "player/player-status.h"
+#include "player/special-defense-types.h"
#include "spell-kind/spells-beam.h"
#include "spell-kind/spells-detection.h"
#include "spell-kind/spells-floor.h"
#include "player/player-class.h"
#include "player/player-effects.h"
#include "player/player-status.h"
+#include "player/special-defense-types.h"
#include "spell-kind/spells-beam.h"
#include "spell-kind/spells-charm.h"
#include "spell-kind/spells-launcher.h"
#include "player/player-move.h"
#include "player/player-personalities-types.h"
#include "player/player-status.h"
+#include "player/special-defense-types.h"
#include "realm/realm-types.h"
#include "specific-object/chest.h"
#include "specific-object/torch.h"
#include "player/player-effects.h"
#include "player/player-race-types.h"
#include "player/player-race.h"
+#include "player/special-defense-types.h"
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
#include "world/world.h"
#include "monster-race/monster-race.h"
#include "monster-race/race-flags2.h"
#include "monster/monster-status.h"
+#include "player/special-defense-types.h"
/*!<広域マップ移動時の自然回復処理カウンタ(広域マップ1マス毎に20回処理を基本とする)*/
int wild_regen = 20;
#include "player/player-effects.h"
#include "player/player-move.h"
#include "player/player-skill.h"
+#include "player/special-defense-types.h"
#include "spell-realm/spells-song.h"
#include "spell-kind/spells-random.h"
#include "spell-realm/spells-hex.h"
#include "monster/monster-util.h"
#include "player/player-effects.h"
#include "player/player-move.h"
+#include "player/special-defense-types.h"
#include "realm/realm-song-numbers.h"
#include "realm/realm-song.h"
#include "view/display-messages.h"
#include "main/sound-of-music.h"
#include "monster/monster-update.h"
#include "player/player-effects.h"
+#include "player/special-defense-types.h"
#include "room/rooms.h"
#include "spell/process-effect.h" // 暫定、後で消す.
#include "spell/spell-types.h"
#include "monster/monster-description-types.h"
#include "player/player-effects.h"
#include "player/player-move.h"
+#include "player/special-defense-types.h"
#include "realm/realm-hex-numbers.h"
#include "spell-realm/spells-hex.h"
#include "spell/spell-types.h"
#include "object/object-mark-types.h"
#include "object/object-value.h"
#include "object-enchant/special-object-flags.h"
+#include "player/special-defense-types.h"
#include "sv-definition/sv-amulet-types.h"
#include "sv-definition/sv-protector-types.h"
#include "sv-definition/sv-ring-types.h"
#include "player/player-class.h"
#include "player/player-effects.h"
#include "player/player-personalities-types.h"
+#include "player/special-defense-types.h"
#include "spell-kind/spells-floor.h"
#include "system/system-variables.h"
#include "util/angband-files.h"
#include "object/object-kind.h"
#include "perception/object-perception.h"
#include "player/player-effects.h"
+#include "player/special-defense-types.h"
#include "room/rooms.h"
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
#include "player/player-class.h"
#include "player/player-effects.h"
#include "player/player-move.h" // do_cmd_travel() がある。後で移設する.
+#include "player/special-defense-types.h"
#include "spell/spells-object.h"
#include "store/store-util.h"
#include "store/store.h" // do_cmd_store() がある。後で移設する.
#include "player/player-sex.h"
#include "player/player-skill.h"
#include "player/race-info-table.h"
+#include "player/special-defense-types.h"
#include "spell/spells-status.h"
#include "store/store-util.h"
#include "store/store.h"
#include "object/object-generator.h"
#include "object/object-kind-hook.h"
#include "player/player-effects.h"
+#include "player/special-defense-types.h"
#include "spell-kind/spells-teleport.h"
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
#include "player/player-effects.h"
#include "player/player-move.h"
#include "player/player-status.h"
+#include "player/special-defense-types.h"
#include "spell/process-effect.h"
#include "spell-kind/earthquake.h"
#include "spell-kind/spells-detection.h"
#include "monster-race/race-flags1.h"
#include "monster-race/race-flags3.h"
#include "monster/monster-status.h"
+#include "player/special-defense-types.h"
#include "util/string-processor.h"
#include "view/display-messages.h"
#include "world/world.h"
#pragma once
+#include "player/special-defense-types.h"
#include "system/angband.h"
typedef struct blow_stance {
#include "player/player-effects.h"
#include "player/player-move.h"
#include "player/player-skill.h"
+#include "player/special-defense-types.h"
#include "realm/realm-hex-numbers.h"
#include "spell-kind/spells-teleport.h"
#include "spell-realm/spells-hex.h"
#include "pet/pet-fall-off.h"
#include "player/avatar.h"
#include "player/player-move.h"
+#include "player/special-defense-types.h"
#include "spell-realm/spells-hex.h"
#include "spell/spells-summon.h"
#include "view/display-messages.h"
#include "player/avatar.h"
#include "player/player-effects.h"
#include "player/player-personalities-types.h"
+#include "player/special-defense-types.h"
#include "spell-kind/spells-random.h"
#include "spell/spells-summon.h"
#include "view/display-messages.h"
#include "monster/smart-learn-types.h"
#include "player/eldritch-horror.h"
#include "player/player-move.h"
+#include "player/special-defense-types.h"
/*!
* @brief 騎乗中のモンスター情報を更新する
#include "player/player-race-types.h"
#include "player/player-race.h"
#include "player/player-status.h"
+#include "player/special-defense-types.h"
#include "realm/realm-song-numbers.h"
#include "spell-kind/spells-teleport.h"
#include "spell-realm/spells-hex.h"
#include "player/player-move.h"
#include "player/player-race-types.h"
#include "player/player-status.h"
+#include "player/special-defense-types.h"
#include "spell/spell-types.h"
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
#include "player/player-damage.h"
#include "player/player-effects.h"
#include "player/player-move.h"
+#include "player/special-defense-types.h"
#include "view/display-messages.h"
#include "world/world.h"
#include "permanent-resistances.h"
+#include "object-enchant/tr-types.h"
#include "player/player-personalities-types.h"
#include "player/player-race-types.h"
#include "player/player-race.h"
-#include "object-enchant/tr-types.h"
+#include "player/special-defense-types.h"
#include "system/object-type-definition.h"
#include "util/bit-flags-calculator.h"
#include "player/player-race-types.h"
#include "player/player-status.h"
#include "player/race-info-table.h"
+#include "player/special-defense-types.h"
#include "term/screen-processor.h"
#include "term/term-color-types.h"
#include "util/bit-flags-calculator.h"
#include "player/player-race-types.h"
#include "player/player-skill.h"
#include "player/race-info-table.h"
+#include "player/special-defense-types.h"
#include "realm/realm-hex-numbers.h"
#include "realm/realm-names-table.h"
#include "realm/realm-song-numbers.h"
#define ATTACK_HOLY 0x00000200 /*!< プレイヤーのステータス:対邪?(未使用) */
#define ATTACK_SUIKEN 0x00000400 /*!< プレイヤーのステータス:酔拳 */
- /*
- * p_ptr->special_defenseによるプレイヤーの防御状態の定義 / Bit flags for the "p_ptr->special_defense" variable. -LM-
- */
+ /* プレイヤーの防御状態の定義 / Bit flags for the "p_ptr->special_defense" variable. -LM- */
BIT_FLAGS special_defense;
-#define DEFENSE_ACID 0x00000001 /*!< プレイヤーのステータス:酸免疫 */
-#define DEFENSE_ELEC 0x00000002 /*!< プレイヤーのステータス:電撃免疫 */
-#define DEFENSE_FIRE 0x00000004 /*!< プレイヤーのステータス:火炎免疫 */
-#define DEFENSE_COLD 0x00000008 /*!< プレイヤーのステータス:冷気免疫 */
-#define DEFENSE_POIS 0x00000010 /*!< プレイヤーのステータス:毒免疫 */
-#define KAMAE_GENBU 0x00000020 /*!< プレイヤーのステータス:玄武の構え */
-#define KAMAE_BYAKKO 0x00000040 /*!< プレイヤーのステータス:白虎の構え */
-#define KAMAE_SEIRYU 0x00000080 /*!< プレイヤーのステータス:青竜の構え */
-#define KAMAE_SUZAKU 0x00000100 /*!< プレイヤーのステータス:朱雀の構え */
-#define KATA_IAI 0x00000200 /*!< プレイヤーのステータス:居合 */
-#define KATA_FUUJIN 0x00000400 /*!< プレイヤーのステータス:風塵 */
-#define KATA_KOUKIJIN 0x00000800 /*!< プレイヤーのステータス:降鬼陣 */
-#define KATA_MUSOU 0x00001000 /*!< プレイヤーのステータス:無想 */
-#define NINJA_KAWARIMI 0x00002000 /*!< プレイヤーのステータス:変わり身 */
-#define NINJA_S_STEALTH 0x00004000 /*!< プレイヤーのステータス:超隠密 */
-#define MAX_KAMAE 4 /*!< 修行僧の構え最大数 */
-#define KAMAE_MASK (KAMAE_GENBU | KAMAE_BYAKKO | KAMAE_SEIRYU | KAMAE_SUZAKU) /*!< 修行僧の構えビット配列 */
-#define MAX_KATA 4 /*!< 修行僧の型最大数 */
-#define KATA_MASK (KATA_IAI | KATA_FUUJIN | KATA_KOUKIJIN | KATA_MUSOU) /*!< 修行僧の型ビット配列 */
-
ACTION_IDX action; /* Currently action */
#define ACTION_NONE 0 /*!< 持続行動: なし */
#define ACTION_SEARCH 1 /*!< 持続行動: 探索 */
#include "object/object-flags.h"
#include "object-enchant/tr-types.h"
#include "player/player-race.h"
+#include "player/special-defense-types.h"
#include "util/bit-flags-calculator.h"
/*!
--- /dev/null
+#pragma once
+
+typedef enum special_defence {
+ DEFENSE_ACID = 0x00000001, /*!< プレイヤーのステータス:酸免疫 */
+ DEFENSE_ELEC = 0x00000002, /*!< プレイヤーのステータス:電撃免疫 */
+ DEFENSE_FIRE = 0x00000004, /*!< プレイヤーのステータス:火炎免疫 */
+ DEFENSE_COLD = 0x00000008, /*!< プレイヤーのステータス:冷気免疫 */
+ DEFENSE_POIS = 0x00000010, /*!< プレイヤーのステータス:毒免疫 */
+ KAMAE_GENBU = 0x00000020, /*!< プレイヤーのステータス:玄武の構え */
+ KAMAE_BYAKKO = 0x00000040, /*!< プレイヤーのステータス:白虎の構え */
+ KAMAE_SEIRYU = 0x00000080, /*!< プレイヤーのステータス:青竜の構え */
+ KAMAE_SUZAKU = 0x00000100, /*!< プレイヤーのステータス:朱雀の構え */
+ KATA_IAI = 0x00000200, /*!< プレイヤーのステータス:居合 */
+ KATA_FUUJIN = 0x00000400, /*!< プレイヤーのステータス:風塵 */
+ KATA_KOUKIJIN = 0x00000800, /*!< プレイヤーのステータス:降鬼陣 */
+ KATA_MUSOU = 0x00001000, /*!< プレイヤーのステータス:無想 */
+ NINJA_KAWARIMI = 0x00002000, /*!< プレイヤーのステータス:変わり身 */
+ NINJA_S_STEALTH = 0x00004000, /*!< プレイヤーのステータス:超隠密 */
+} special_defence;
+
+#define MAX_KAMAE 4 /*!< 修行僧の構え最大数 */
+#define KAMAE_MASK (KAMAE_GENBU | KAMAE_BYAKKO | KAMAE_SEIRYU | KAMAE_SUZAKU) /*!< 修行僧の構えビット配列 */
+
+#define MAX_KATA 4 /*!< 修行僧の型最大数 */
+#define KATA_MASK (KATA_IAI | KATA_FUUJIN | KATA_KOUKIJIN | KATA_MUSOU) /*!< 修行僧の型ビット配列 */
#include "object-enchant/tr-types.h"
#include "player/player-race-types.h"
#include "player/player-race.h"
+#include "player/special-defense-types.h"
#include "realm/realm-hex-numbers.h"
#include "realm/realm-song-numbers.h"
#include "realm/realm-types.h"
#include "player/player-damage.h"
#include "player/player-effects.h"
#include "player/player-move.h"
+#include "player/special-defense-types.h"
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
#include "object/object-mark-types.h"
#include "perception/object-perception.h"
#include "player/player-effects.h"
+#include "player/special-defense-types.h"
#include "spell-kind/spells-teleport.h"
#include "spell/process-effect.h"
#include "spell/spell-types.h"
#include "monster/monster-status.h"
#include "monster/monster-update.h"
#include "player/player-effects.h"
+#include "player/special-defense-types.h"
#include "spell/process-effect.h"
#include "spell-kind/spells-launcher.h"
#include "spell/spell-types.h"
#include "object-enchant/tr-types.h"
#include "object/object-flags.h"
#include "perception/object-perception.h"
+#include "player/special-defense-types.h"
#include "sv-definition/sv-weapon-types.h"
#include "term/term-color-types.h"
#include "util/bit-flags-calculator.h"