変愚蛮怒のメインリポジトリです
Revision | aed0a7f631f543b006ad31ce96142e6c7f1e62ac (tree) |
---|---|
Time | 2019-06-05 23:49:15 |
Author | deskull <deskull@user...> |
Commiter | deskull |
[Refactor] #37353 INVEN_PACK を player-status.h へ移動.
@@ -132,17 +132,6 @@ | ||
132 | 132 | #define MESSAGE_BUF 655360 |
133 | 133 | |
134 | 134 | |
135 | -/* | |
136 | - * Maximum number of "normal" pack slots, and the index of the "overflow" | |
137 | - * slot, which can hold an item, but only temporarily, since it causes the | |
138 | - * pack to "overflow", dropping the "last" item onto the ground. Since this | |
139 | - * value is used as an actual slot, it must be less than "INVEN_RARM" (below). | |
140 | - * Note that "INVEN_PACK" is probably hard-coded by its use in savefiles, and | |
141 | - * by the fact that the screen can only show 23 items plus a one-line prompt. | |
142 | - */ | |
143 | -#define INVEN_PACK 23 /*!< アイテムスロット…所持品(0~) */ | |
144 | - | |
145 | - | |
146 | 135 | /*** Screen Locations ***/ |
147 | 136 | |
148 | 137 | #define VER_INFO_ROW 3 //!< タイトル表記(行) |
@@ -423,10 +423,16 @@ struct player_type | ||
423 | 423 | byte feeling; /* Most recent dungeon feeling */ |
424 | 424 | s32b feeling_turn; /* The turn of the last dungeon feeling */ |
425 | 425 | |
426 | - | |
427 | 426 | /* |
427 | + * Maximum number of "normal" pack slots, and the index of the "overflow" | |
428 | + * slot, which can hold an item, but only temporarily, since it causes the | |
429 | + * pack to "overflow", dropping the "last" item onto the ground. Since this | |
430 | + * value is used as an actual slot, it must be less than "INVEN_RARM" (below). | |
431 | + * Note that "INVEN_PACK" is probably hard-coded by its use in savefiles, and | |
432 | + * by the fact that the screen can only show 23 items plus a one-line prompt. | |
428 | 433 | * Indexes used for various "equipment" slots (hard-coded by savefiles, etc). |
429 | 434 | */ |
435 | + #define INVEN_PACK 23 /*!< アイテムスロット…所持品(0~) */ | |
430 | 436 | #define INVEN_RARM 24 /*!< アイテムスロット…右手 */ |
431 | 437 | #define INVEN_LARM 25 /*!< アイテムスロット…左手 */ |
432 | 438 | #define INVEN_BOW 26 /*!< アイテムスロット…射撃 */ |
@@ -446,7 +452,7 @@ struct player_type | ||
446 | 452 | s16b inven_cnt; /* Number of items in inventory */ |
447 | 453 | s16b equip_cnt; /* Number of items in equipment */ |
448 | 454 | |
449 | - /*** Temporary fields ***/ | |
455 | + /*** Temporary fields ***/ | |
450 | 456 | |
451 | 457 | bool playing; /* True if player is playing */ |
452 | 458 | bool leaving; /* True if player is leaving */ |