変愚蛮怒のメインリポジトリです
Revision | 766c865199b9eebafa2588aa7fe59a6dfcdf7f37 (tree) |
---|---|
Time | 2020-05-28 22:04:37 |
Author | Hourier <hourier@user...> |
Commiter | Hourier |
[Refactor] #40399 Moved some definitions from object1.h to sv-other-types.h
@@ -67,6 +67,7 @@ | ||
67 | 67 | #include "spell/spells3.h" |
68 | 68 | #include "player/player-class.h" |
69 | 69 | #include "object/object-kind.h" |
70 | +#include "object/sv-other-types.h" | |
70 | 71 | #include "io/targeting.h" |
71 | 72 | |
72 | 73 | /*! |
@@ -11,6 +11,7 @@ | ||
11 | 11 | #include "object/object-kind.h" |
12 | 12 | #include "object/object-hook.h" |
13 | 13 | #include "object/special-object-flags.h" |
14 | +#include "object/sv-other-types.h" | |
14 | 15 | #include "spell/spells-type.h" |
15 | 16 | #include "spell/spells-status.h" |
16 | 17 | #include "spell/spells-floor.h" |
@@ -15,6 +15,10 @@ | ||
15 | 15 | #include "spell/spells2.h" |
16 | 16 | #include "spell/spells3.h" |
17 | 17 | #include "object/item-apply-magic.h" |
18 | +#include "object/sv-other-types.h" | |
19 | + | |
20 | +/*!< この値以降の小項目IDを持った箱は大型の箱としてドロップ数を増やす / Special "sval" limit -- first "large" chest */ | |
21 | +#define SV_CHEST_MIN_LARGE 4 | |
18 | 22 | |
19 | 23 | /*! |
20 | 24 | * @brief 箱からアイテムを引き出す / |
@@ -670,9 +670,3 @@ extern s32b flag_cost(object_type *o_ptr, int plusses); | ||
670 | 670 | #define SV_FOOD_WAYBREAD 37 |
671 | 671 | #define SV_FOOD_PINT_OF_ALE 38 |
672 | 672 | #define SV_FOOD_PINT_OF_WINE 39 |
673 | - | |
674 | - | |
675 | -#define SV_ROD_MIN_DIRECTION 12 /*!< この値以降の小項目IDを持ったロッドは使用時にターゲットを要求する / Special "sval" limit -- first "aimed" rod */ | |
676 | - | |
677 | -#define SV_CHEST_MIN_LARGE 4 /*!< この値以降の小項目IDを持った箱は大型の箱としてドロップ数を増やす / Special "sval" limit -- first "large" chest */ | |
678 | -#define SV_CHEST_KANDUME 50 /*!< 箱アイテムの小項目ID: おもちゃのカンヅメ */ |
@@ -17,3 +17,6 @@ | ||
17 | 17 | /* The "sval" codes for TV_SHOT/TV_ARROW/TV_BOLT */ |
18 | 18 | #define SV_AMMO_LIGHT 0 /* pebbles */ |
19 | 19 | #define SV_AMMO_NORMAL 1 /* shots, arrows, bolts */ |
20 | + | |
21 | +#define SV_ROD_MIN_DIRECTION 12 /*!< この値以降の小項目IDを持ったロッドは使用時にターゲットを要求する / Special "sval" limit -- first "aimed" rod */ | |
22 | +#define SV_CHEST_KANDUME 50 /*!< 箱アイテムの小項目ID: おもちゃのカンヅメ */ |