<ClInclude Include="..\..\src\object\sv-protector-types.h" />\r
<ClInclude Include="..\..\src\object\sv-ring-types.h" />\r
<ClInclude Include="..\..\src\object\sv-staff-types.h" />\r
+ <ClInclude Include="..\..\src\object\sv-wand-types.h" />\r
<ClInclude Include="..\..\src\object\sv-weapon-types.h" />\r
<ClInclude Include="..\..\src\object\tr-types.h" />\r
<ClInclude Include="..\..\src\object\trc-types.h" />\r
<ClInclude Include="..\..\src\object\sv-staff-types.h">
<Filter>object</Filter>
</ClInclude>
+ <ClInclude Include="..\..\src\object\sv-wand-types.h">
+ <Filter>object</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\wall.bmp" />
object/sv-digging-types.h \
object/sv-weapon-types.h object/sv-protector-types.h object/sv-armor-types.h \
object/sv-lite-types.h object/sv-potion-types.h object/sv-ring-types.h \
- object/sv-staff-types.h object/sv-other-types.h \
+ object/sv-staff-types.h object/sv-wand-types.h object/sv-other-types.h \
object/item-feeling.h object/item-use-flags.h \
\
inventory/simple-appraiser.c inventory/simple-appraiser.h \
#include "object/object-flavor.h"
#include "object/object-mark-types.h"
#include "object/special-object-flags.h"
+#include "object/sv-wand-types.h"
#include "player/player-move.h"
#include "player/player-races-table.h"
#include "object/sv-bow-types.h"
#include "object/sv-potion-types.h"
#include "object/sv-ring-types.h"
+#include "object/sv-wand-types.h"
#include "object/sv-weapon-types.h"
/*!
#include "object/sv-potion-types.h"
#include "object/sv-ring-types.h"
#include "object/sv-staff-types.h"
+#include "object/sv-wand-types.h"
#include "object/sv-weapon-types.h"
#include "autopick/autopick.h"
#include "player/player-races-table.h"
#include "object/object-kind.h"
#include "object/object-hook.h"
#include "object/special-object-flags.h"
+#include "object/sv-wand-types.h"
#include "cmd-basic.h"
#include "floor/floor.h"
#include "io/targeting.h"
#include "object/sv-potion-types.h"
#include "object/sv-ring-types.h"
#include "object/sv-staff-types.h"
+#include "object/sv-wand-types.h"
/*!
* @brief 闘技場のモンスターID及び報酬アイテムテーブル
#include "object/sv-protector-types.h"
#include "object/sv-ring-types.h"
#include "object/sv-staff-types.h"
+#include "object/sv-wand-types.h"
#include "object/sv-weapon-types.h"
/*!
extern void torch_dice(object_type *o_ptr, DICE_NUMBER *dd, DICE_SID *ds);
extern void torch_lost_fuel(object_type *o_ptr);
-/* The "sval" codes for TV_WAND */
-#define SV_WAND_HEAL_MONSTER 0
-#define SV_WAND_HASTE_MONSTER 1
-#define SV_WAND_CLONE_MONSTER 2
-#define SV_WAND_TELEPORT_AWAY 3
-#define SV_WAND_DISARMING 4
-#define SV_WAND_TRAP_DOOR_DEST 5
-#define SV_WAND_STONE_TO_MUD 6
-#define SV_WAND_LITE 7
-#define SV_WAND_SLEEP_MONSTER 8
-#define SV_WAND_SLOW_MONSTER 9
-#define SV_WAND_CONFUSE_MONSTER 10
-#define SV_WAND_FEAR_MONSTER 11
-#define SV_WAND_HYPODYNAMIA 12
-#define SV_WAND_POLYMORPH 13
-#define SV_WAND_STINKING_CLOUD 14
-#define SV_WAND_MAGIC_MISSILE 15
-#define SV_WAND_ACID_BOLT 16
-#define SV_WAND_CHARM_MONSTER 17
-#define SV_WAND_FIRE_BOLT 18
-#define SV_WAND_COLD_BOLT 19
-#define SV_WAND_ACID_BALL 20
-#define SV_WAND_ELEC_BALL 21
-#define SV_WAND_FIRE_BALL 22
-#define SV_WAND_COLD_BALL 23
-#define SV_WAND_WONDER 24
-#define SV_WAND_DISINTEGRATE 25
-#define SV_WAND_DRAGON_FIRE 26
-#define SV_WAND_DRAGON_COLD 27
-#define SV_WAND_DRAGON_BREATH 28
-#define SV_WAND_ROCKETS 29
-#define SV_WAND_STRIKING 30
-#define SV_WAND_GENOCIDE 31
-
/* The "sval" codes for TV_ROD */
#define SV_ROD_DETECT_TRAP 0
#define SV_ROD_DETECT_DOOR 1
--- /dev/null
+#pragma once
+
+/* The "sval" codes for TV_WAND */
+typedef enum sv_wand_type {
+ SV_WAND_HEAL_MONSTER = 0,
+ SV_WAND_HASTE_MONSTER = 1,
+ SV_WAND_CLONE_MONSTER = 2,
+ SV_WAND_TELEPORT_AWAY = 3,
+ SV_WAND_DISARMING = 4,
+ SV_WAND_TRAP_DOOR_DEST = 5,
+ SV_WAND_STONE_TO_MUD = 6,
+ SV_WAND_LITE = 7,
+ SV_WAND_SLEEP_MONSTER = 8,
+ SV_WAND_SLOW_MONSTER = 9,
+ SV_WAND_CONFUSE_MONSTER = 10,
+ SV_WAND_FEAR_MONSTER = 11,
+ SV_WAND_HYPODYNAMIA = 12,
+ SV_WAND_POLYMORPH = 13,
+ SV_WAND_STINKING_CLOUD = 14,
+ SV_WAND_MAGIC_MISSILE = 15,
+ SV_WAND_ACID_BOLT = 16,
+ SV_WAND_CHARM_MONSTER = 17,
+ SV_WAND_FIRE_BOLT = 18,
+ SV_WAND_COLD_BOLT = 19,
+ SV_WAND_ACID_BALL = 20,
+ SV_WAND_ELEC_BALL = 21,
+ SV_WAND_FIRE_BALL = 22,
+ SV_WAND_COLD_BALL = 23,
+ SV_WAND_WONDER = 24,
+ SV_WAND_DISINTEGRATE = 25,
+ SV_WAND_DRAGON_FIRE = 26,
+ SV_WAND_DRAGON_COLD = 27,
+ SV_WAND_DRAGON_BREATH = 28,
+ SV_WAND_ROCKETS = 29,
+ SV_WAND_STRIKING = 30,
+ SV_WAND_GENOCIDE = 31,
+} sv_wand_type;