<ClInclude Include="..\..\src\object\old-ego-extra-values.h" />\r
<ClInclude Include="..\..\src\object\special-object-flags.h" />\r
<ClInclude Include="..\..\src\object\tr-types.h" />\r
+ <ClInclude Include="..\..\src\object\trc-types.h" />\r
<ClInclude Include="..\..\src\object\tval-types.h" />\r
<ClInclude Include="..\..\src\player\avatar.h" />\r
<ClInclude Include="..\..\src\birth\character-builder.h" />\r
<ClInclude Include="..\..\src\object\object-mark-types.h">
<Filter>object</Filter>
</ClInclude>
+ <ClInclude Include="..\..\src\object\trc-types.h">
+ <Filter>object</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\wall.bmp" />
object/object-ego.c object/object-ego.h \
object/warning.c object/warning.h \
object/death-scythe.c object/death-scythe.h \
- object/tr-types.h object/tval-type.h \
+ object/tr-types.h object/trc-types.h object/tval-type.h \
object/old-ego-extra-values.h object/special-object-flags.h \
object/object-mark-types.h \
\
#include "dungeon/quest.h"
#include "object/artifact.h"
#include "object/special-object-flags.h"
+#include "object/trc-types.h"
#include "player/avatar.h"
#include "player/player-status.h"
#include "player/player-effects.h"
#include "view/display-main-window.h"
#include "inventory/player-inventory.h"
#include "object/tr-types.h"
+#include "object/trc-types.h"
/*!
* エッセンス情報の構造体 / A structure for smithing
#include "core/hp-mp-regenerator.h"
#include "cmd/cmd-pet.h"
#include "player/player-races-table.h"
+#include "object/trc-types.h"
/*!
* @brief 10ゲームターンが進行するごとにプレイヤーのHPとMPの増減処理を行う。
#include "player/avatar.h"
#include "spell/spells-diceroll.h"
#include "monster/monster-race-hook.h"
+#include "object/trc-types.h"
static void effect_monster_charm_resist(player_type *caster_ptr, effect_monster_type *em_ptr)
{
#include "cmd/cmd-pet.h" // 暫定、後で消すかも.
#include "dungeon/quest.h"
#include "monster/monster-race-hook.h"
+#include "object/trc-types.h"
static void effect_monster_domination_corrupted_addition(player_type *caster_ptr, effect_monster_type *em_ptr)
{
#include "object/object-kind.h"
#include "player/player-races-table.h"
#include "object/tr-types.h"
+#include "object/trc-types.h"
#define TRC_P_FLAG_MASK \
(TRC_TELEPORT_SELF | TRC_CHAINSWORD | TRC_TY_CURSE | TRC_DRAIN_EXP | TRC_ADD_L_CURSE | TRC_ADD_H_CURSE | TRC_CALL_ANIMAL | TRC_CALL_DEMON \
#include "market/bounty.h"
#include "object/tr-types.h"
#include "object/object-mark-types.h"
+#include "object/trc-types.h"
#include "object/old-ego-extra-values.h" // TODO v1.5.0以前のセーブファイルをロードする処理を分離する.
/*
#include "system/angband.h"
#include "mind/surprise-attack.h"
+#include "object/trc-types.h"
/*!
* @brief 盗賊と忍者における不意打ち
#include "monster/monster-status.h"
#include "mspell/monster-spell.h"
#include "monster/monster-process.h"
+#include "object/trc-types.h"
void decide_drop_from_monster(player_type *target_ptr, MONSTER_IDX m_idx, bool is_riding_mon);
bool process_stealth(player_type *target_ptr, MONSTER_IDX m_idx);
#include "player/player-personalities-table.h"
#include "world/world.h"
#include "object/tr-types.h"
+#include "object/trc-types.h"
/*
* The artifact arrays
#include "object/object-flavor.h"
#include "object/object-hook.h"
#include "object/tr-types.h"
+#include "object/trc-types.h"
#define MAX_CURSE 18
#define TRC_SPECIAL_MASK (TRC_TY_CURSE | TRC_AGGRAVATE)
byte feeling; /* Game generated inscription number (eg, pseudo-id) */
BIT_FLAGS art_flags[TR_FLAG_SIZE]; /* Extra Flags for ego and artifacts */
-
-#define TRC_CURSED 0x00000001L
-#define TRC_HEAVY_CURSE 0x00000002L
-#define TRC_PERMA_CURSE 0x00000004L
-#define TRC_XXX1 0x00000008L
-#define TRC_TY_CURSE 0x00000010L
-#define TRC_AGGRAVATE 0x00000020L
-#define TRC_DRAIN_EXP 0x00000040L
-#define TRC_SLOW_REGEN 0x00000080L
-#define TRC_ADD_L_CURSE 0x00000100L
-#define TRC_ADD_H_CURSE 0x00000200L
-#define TRC_CALL_ANIMAL 0x00000400L
-#define TRC_CALL_DEMON 0x00000800L
-#define TRC_CALL_DRAGON 0x00001000L
-#define TRC_COWARDICE 0x00002000L
-#define TRC_TELEPORT 0x00004000L
-#define TRC_LOW_MELEE 0x00008000L
-#define TRC_LOW_AC 0x00010000L
-#define TRC_LOW_MAGIC 0x00020000L
-#define TRC_FAST_DIGEST 0x00040000L
-#define TRC_DRAIN_HP 0x00080000L
-#define TRC_DRAIN_MANA 0x00100000L
-#define TRC_CALL_UNDEAD 0x00200000L
-
-#define TRC_TELEPORT_SELF 0x00000001L
-#define TRC_CHAINSWORD 0x00000002L
BIT_FLAGS curse_flags; /* Flags for curse */
OBJECT_IDX next_o_idx; /* Next object in stack (if any) */
#include "combat/snipe.h"
#include "view/display-main-window.h"
#include "object/tr-types.h"
+#include "object/trc-types.h"
#if defined(MACH_O_CARBON)
#ifdef verify
#include "object/object-ego.h"
#include "view/display-main-window.h"
#include "object/tr-types.h"
+#include "object/trc-types.h"
/*
* todo この説明長すぎ。何とかしたい
--- /dev/null
+#pragma once
+
+/* TRCが何の略かは分からない (type / ??? / curse)*/
+typedef enum trc_curse_type {
+ TRC_CURSED = 0x00000001L,
+ TRC_HEAVY_CURSE = 0x00000002L,
+ TRC_PERMA_CURSE = 0x00000004L,
+ TRC_XXX1 = 0x00000008L,
+ TRC_TY_CURSE = 0x00000010L,
+ TRC_AGGRAVATE = 0x00000020L,
+ TRC_DRAIN_EXP = 0x00000040L,
+ TRC_SLOW_REGEN = 0x00000080L,
+ TRC_ADD_L_CURSE = 0x00000100L,
+ TRC_ADD_H_CURSE = 0x00000200L,
+ TRC_CALL_ANIMAL = 0x00000400L,
+ TRC_CALL_DEMON = 0x00000800L,
+ TRC_CALL_DRAGON = 0x00001000L,
+ TRC_COWARDICE = 0x00002000L,
+ TRC_TELEPORT = 0x00004000L,
+ TRC_LOW_MELEE = 0x00008000L,
+ TRC_LOW_AC = 0x00010000L,
+ TRC_LOW_MAGIC = 0x00020000L,
+ TRC_FAST_DIGEST = 0x00040000L,
+ TRC_DRAIN_HP = 0x00080000L,
+ TRC_DRAIN_MANA = 0x00100000L,
+ TRC_CALL_UNDEAD = 0x00200000L,
+} trc_curse_type;
+
+typedef enum trc_special_type {
+ TRC_TELEPORT_SELF = 0x00000001L,
+ TRC_CHAINSWORD = 0x00000002L
+} trc_special_type;
#include "player/player-effects.h"
#include "monster/creature.h"
#include "player/player-move.h"
+#include "object/trc-types.h"
/*!
* @brief 10ゲームターンが進行するごとにプレイヤーの腹を減らす
#include "mind/racial-force-trainer.h"
#include "object/tr-types.h"
#include "object/object-mark-types.h"
+#include "object/trc-types.h"
/*!
* @brief 能力値テーブル / Abbreviations of healthy stats
#include "realm/realm-hex.h"
#include "realm/realm-song.h"
#include "object/tr-types.h"
+#include "object/trc-types.h"
/*!
* @brief 自己分析処理(Nethackからのアイデア) / self-knowledge... idea from nethack.
#include "spell/spells2.h"
#include "spell/spells3.h"
#include "object/tr-types.h"
+#include "object/trc-types.h"
#define MAX_KEEP 4 /*!<呪術の最大詠唱数 */
#include "io/targeting.h"
#include "view/display-main-window.h"
#include "object/tr-types.h"
+#include "object/trc-types.h"
typedef struct
{
#include "mind/racial-force-trainer.h"
#include "cmd/cmd-attack.h"
#include "object/tr-types.h"
+#include "object/trc-types.h"
#include "object/special-object-flags.h"
/*! テレポート先探索の試行数 / Maximum number of tries for teleporting */
#include "player/race-resistances.h"
#include "object/tr-types.h"
#include "object/object-flavor.h"
+#include "object/trc-types.h"
typedef struct {
BIT_FLAGS player_flags[TR_FLAG_SIZE];
#include "spell/spells3.h"
#include "spell/spells-detection.h"
#include "player/player-races-table.h"
+#include "object/trc-types.h"
#define NUM_O_SET 8
#define NUM_O_BIT 32
#include "floor/floor-town.h"
#include "io/files-util.h"
#include "object/tr-types.h"
+#include "object/trc-types.h"
#include "object/special-object-flags.h"
/*