<ClInclude Include="..\..\src\object\sv-armor-types.h" />\r
<ClInclude Include="..\..\src\object\sv-bow-types.h" />\r
<ClInclude Include="..\..\src\object\sv-digging-types.h" />\r
+ <ClInclude Include="..\..\src\object\sv-lite-types.h" />\r
<ClInclude Include="..\..\src\object\sv-other-types.h" />\r
<ClInclude Include="..\..\src\object\sv-potion-types.h" />\r
<ClInclude Include="..\..\src\object\sv-protector-types.h" />\r
<ClInclude Include="..\..\src\object\sv-potion-types.h">
<Filter>object</Filter>
</ClInclude>
+ <ClInclude Include="..\..\src\object\sv-lite-types.h">
+ <Filter>object</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\wall.bmp" />
object/old-ego-extra-values.h object/special-object-flags.h \
object/object-mark-types.h object/object-util.h \
object/item-apply-magic.h \
- object/sv-bow-types.h object/sv-digging-types.h object/sv-other-types.h \
+ object/sv-bow-types.h object/sv-digging-types.h \
object/sv-weapon-types.h object/sv-protector-types.h object/sv-armor-types.h \
- object/sv-potion-types.h object/sv-ring-types.h \
- object/item-feeling.h object/item-use-flags.h \
+ object/sv-lite-types.h object/sv-potion-types.h object/sv-ring-types.h \
+ object/sv-other-types.h \
+ object/item-feeling.h object/item-use-flags.h \
\
inventory/simple-appraiser.c inventory/simple-appraiser.h \
inventory/inventory-curse.c inventory/inventory-curse.h \
#include "object/object-ego.h"
#include "object/object-kind.h"
#include "object/sv-bow-types.h"
+#include "object/sv-lite-types.h"
#include "object/sv-other-types.h"
#include "object/sv-potion-types.h"
#include "object/sv-ring-types.h"
#include "io/files-util.h"
#include "object/object-kind.h"
#include "object/object-ego.h"
+#include "object/sv-lite-types.h"
#include "object/sv-ring-types.h"
#include "io/targeting.h"
#include "world/world.h"
#include "dungeon/quest.h"
#include "object/artifact.h"
#include "object/special-object-flags.h"
+#include "object/sv-lite-types.h"
#include "object/trc-types.h"
#include "player/avatar.h"
#include "player/player-status.h"
#include "object/tr-types.h"
#include "object/object-mark-types.h"
#include "object/sv-armor-types.h"
+#include "object/sv-lite-types.h"
#include "object/trc-types.h"
#include "object/old-ego-extra-values.h" // TODO v1.5.0以前のセーブファイルをロードする処理を分離する.
#include "object/sv-bow-types.h"
#include "object/sv-digging-types.h"
#include "object/sv-other-types.h"
+#include "object/sv-lite-types.h"
#include "object/sv-potion-types.h"
#include "object/sv-protector-types.h"
#include "object/sv-ring-types.h"
#include "object/lite-processor.h"
#include "object/object-ego.h"
#include "object/object-hook.h"
+#include "object/sv-lite-types.h"
#include "player/player-move.h"
#include "world/world.h"
#include "object/object-hook.h"
#include "object/object-flavor.h"
#include "object/special-object-flags.h"
+#include "object/sv-lite-types.h"
#include "grid/trap.h"
#include "combat/snipe.h"
#include "io/files-util.h"
#include "object/object-kind.h"
#include "object/special-object-flags.h"
#include "object/sv-armor-types.h"
+#include "object/sv-lite-types.h"
#include "object/sv-other-types.h"
#include "object/sv-protector-types.h"
#include "object/sv-weapon-types.h"
#include "object/object-flavor.h"
#include "object/object-hook.h"
#include "object/special-object-flags.h"
+#include "object/sv-lite-types.h"
#include "object/sv-other-types.h"
#include "object/sv-ring-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_LITE */
-#define SV_LITE_TORCH 0
-#define SV_LITE_LANTERN 1
-#define SV_LITE_FEANOR 2
-#define SV_LITE_EDISON 3
-#define SV_LITE_GALADRIEL 4
-#define SV_LITE_ELENDIL 5
-#define SV_LITE_JUDGE 6
-#define SV_LITE_LORE 7
-#define SV_LITE_PALANTIR 8
-#define SV_LITE_FLY_STONE 9
-
/* The "sval" codes for TV_AMULET */
#define SV_AMULET_DOOM 0
#define SV_AMULET_TELEPORT 1
#include "object/special-object-flags.h"
#include "object/sv-armor-types.h"
#include "object/sv-bow-types.h"
+#include "object/sv-lite-types.h"
#include "object/sv-other-types.h"
#include "object/sv-protector-types.h"
#include "object/sv-ring-types.h"
--- /dev/null
+#pragma once
+
+/* The sval codes for TV_LITE */
+typedef enum sv_lite_type {
+ SV_LITE_TORCH = 0,
+ SV_LITE_LANTERN = 1,
+ SV_LITE_FEANOR = 2,
+ SV_LITE_EDISON = 3,
+ SV_LITE_GALADRIEL = 4,
+ SV_LITE_ELENDIL = 5,
+ SV_LITE_JUDGE = 6,
+ SV_LITE_LORE = 7,
+ SV_LITE_PALANTIR = 8,
+ SV_LITE_FLY_STONE = 9,
+} sv_lite_type;
#include "object/object-hook.h"
#include "object/object-ego.h"
#include "object/special-object-flags.h"
+#include "object/sv-lite-types.h"
#include "object/sv-weapon-types.h"
#include "monster/monster.h"
#include "monster/monster-status.h"
#include "object/object-flavor.h"
#include "object/object-ego.h"
#include "object/special-object-flags.h"
+#include "object/sv-lite-types.h"
#include "object/sv-protector-types.h"
#include "object/sv-weapon-types.h"
#include "player/player-damage.h"
#include "object/object-kind.h"
#include "object/tr-types.h"
#include "object/special-object-flags.h"
+#include "object/sv-lite-types.h"
#include "object/sv-potion-types.h"
#include "object/sv-weapon-types.h"