p_ptr->oldpx = p_ptr->x;
}
- /* Forget the lite */
forget_lite();
-
- /* Forget the view */
forget_view();
/* Hack -- Increase "icky" depth */
/* Unique */
/* Hack -- "unique" monsters must be "unique" */
- if ((r_ptr->flags1 & RF1_UNIQUE) &&
- (0 == r_ptr->max_num))
+ if ((r_ptr->flags1 & RF1_UNIQUE) && (0 == r_ptr->max_num))
{
msg_print(_("この階は以前は誰かによって守られていたようだ…。", "It seems that this level was protected by someone before..."));
/* The unique is already dead */
/* Cancel the health bar */
health_track(0);
-
- /* Forget the lite */
forget_lite();
-
- /* Forget the view */
forget_view();
-
- /* Forget the view */
clear_mon_lite();
/* Handle "quit and save" */
/* Record the last visit turn of current floor */
sf_ptr->last_visit = turn;
- /* Forget the lite */
forget_lite();
-
- /* Forget the view */
forget_view();
-
- /* Forget the view */
clear_mon_lite();
/* Save current floor */
saved_floor_type *cur_sf_ptr;
int i;
- /* Forget the lite */
forget_lite();
-
- /* Forget the view */
forget_view();
-
- /* Forget the view */
clear_mon_lite();
/* Update lite/view */
p_ptr->update |= (PU_VIEW | PU_LITE | PU_MON_LITE);
p_ptr->update |= (PU_MONSTERS | PU_DISTANCE | PU_FLOW);
-
/*** Meta info ***/
/* Number of floor_id used from birth */
*/
void do_cmd_store(void)
{
- int which;
- int maintain_num;
- int i;
- cave_type *c_ptr;
- bool need_redraw_store_inv; /* To redraw missiles damage and prices in store */
+ int which;
+ int maintain_num;
+ int i;
+ cave_type *c_ptr;
+ bool need_redraw_store_inv; /* To redraw missiles damage and prices in store */
int w, h;
/* Get term size */
town[p_ptr->town_num].store[which].last_visit = turn;
}
- /* Forget the lite */
forget_lite();
-
- /* Forget the view */
forget_view();
-
/* Hack -- Character is in "icky" mode */
character_icky = TRUE;
-
- /* No command argument */
+ /* command reset */
command_arg = 0;
-
- /* No repeated command */
command_rep = 0;
-
- /* No automatic command */
command_new = 0;
/* Do not expand macros */
st_ptr = &town[p_ptr->town_num].store[cur_store_num];
ot_ptr = &owners[cur_store_num][st_ptr->owner];
-
/* Start at the beginning */
store_top = 0;
play_music(TERM_XTRA_MUSIC_BASIC, MUSIC_BASIC_BUILD);
- /* Display the store */
display_store();
/* Do not leave */