p_ptr->update |= (PU_HP);
p_ptr->redraw |= (PR_HP);
- /* Window stuff */
p_ptr->window |= (PW_PLAYER);
/* Handle stuff */
handle_stuff();
- /* Message */
if (display)
{
msg_format(_("現在の体力ランクは %d/100 です。", "Your life rate is %d/100 now."), percent);
*/
static void do_cmd_wiz_hack_ben(void)
{
- /* Oops */
msg_print("Oops.");
(void)probing();
}
* @brief 32ビット変数のビット配列を並べて描画する / Output a long int in binary format.
* @return なし
*/
-static void prt_binary(u32b flags, int row, int col)
+static void prt_binary(BIT_FLAGS flags, int row, int col)
{
- int i;
- u32b bitmask;
+ int i;
+ u32b bitmask;
/* Scan the flags */
for (i = bitmask = 1; i <= 32; i++, bitmask *= 2)
* @param col 表示行
* @return なし
*/
-static void prt_alloc(OBJECT_TYPE_VALUE tval, OBJECT_SUBTYPE_VALUE sval, TERM_POSITION row, TERM_POSITION col)
+static void prt_alloc(OBJECT_TYPE_VALUE tval, OBJECT_SUBTYPE_VALUE sval, TERM_LEN row, TERM_LEN col)
{
int i, j;
int home = 0;
static void wiz_display_item(object_type *o_ptr)
{
int i, j = 13;
- u32b flgs[TR_FLAG_SIZE];
+ BIT_FLAGS flgs[TR_FLAG_SIZE];
char buf[256];
/* Extract the flags */
{
KIND_OBJECT_IDX i;
int num, max_num;
- TERM_POSITION col, row;
+ TERM_LEN col, row;
OBJECT_TYPE_VALUE tval;
cptr tval_desc;
/* Combine / Reorder the pack (later) */
p_ptr->notice |= (PN_COMBINE | PN_REORDER);
- /* Window stuff */
p_ptr->window |= (PW_INVEN | PW_EQUIP | PW_SPELL | PW_PLAYER);
}
}
char tmp_val[80];
- /* XXX XXX XXX Mega-Hack -- allow multiple artifacts */
+ /* Mega-Hack -- allow multiple artifacts */
if (object_is_fixed_artifact(o_ptr)) a_info[o_ptr->name1].cur_num = 0;
make_object(q_ptr, mode);
- /* XXX XXX XXX Mega-Hack -- allow multiple artifacts */
+ /* Mega-Hack -- allow multiple artifacts */
if (object_is_fixed_artifact(q_ptr)) a_info[q_ptr->name1].cur_num = 0;
/* Accept change */
if (changed)
{
- /* Message */
msg_print("Changes accepted.");
/* Recalcurate object's weight */
/* Combine / Reorder the pack (later) */
p_ptr->notice |= (PN_COMBINE | PN_REORDER);
- /* Window stuff */
p_ptr->window |= (PW_INVEN | PW_EQUIP | PW_SPELL | PW_PLAYER);
}
* @param r_idx モンスター種族ID
* @return なし
* @details
- * XXX XXX XXX This function is rather dangerous
+ * This function is rather dangerous
*/
static void do_cmd_wiz_named(MONRACE_IDX r_idx)
{
* @param r_idx モンスター種族ID
* @return なし
* @details
- * XXX XXX XXX This function is rather dangerous
+ * This function is rather dangerous
*/
static void do_cmd_wiz_named_friendly(MONRACE_IDX r_idx)
{
/* Open the file */
fff = my_fopen(buf, "a");
- /* Oops */
if (!fff)
{
msg_format(_("ファイル %s を開けませんでした。", "Failed to open file %s."), buf);