handle_stuff(creature_ptr);
move_cursor_relative(creature_ptr->y, creature_ptr->x);
if (fresh_before)
- term_fresh();
+ term_fresh_force();
pack_overflow(creature_ptr);
if (!command_new)
move_cursor_relative(player_ptr->y, player_ptr->x);
if (fresh_after)
- term_fresh();
+ term_fresh_force();
if (!player_ptr->playing || player_ptr->is_dead)
break;
move_cursor_relative(player_ptr->y, player_ptr->x);
if (fresh_after)
- term_fresh();
+ term_fresh_force();
if (!player_ptr->playing || player_ptr->is_dead)
break;
move_cursor_relative(player_ptr->y, player_ptr->x);
if (fresh_after) {
- term_fresh();
+ term_fresh_force();
}
if (!player_ptr->playing || player_ptr->is_dead)
#include "game-option/map-screen-options.h"
#include "game-option/runtime-arguments.h"
#include "game-option/special-options.h"
-#include "io/input-key-requester.h"
#include "term/gameterm.h"
#include "term/term-color-types.h"
#include "term/z-virt.h"
return 0;
}
+
+/*
+ * @brief never_freshの値を無視して強制的にterm_freshを行う。
+ */
+errr term_fresh_force(void)
+{
+ bool old = Term->never_fresh;
+ Term->never_fresh = FALSE;
+ errr err = term_fresh();
+ Term->never_fresh = old;
+ return err;
+}
+
/*** Output routines ***/
/*
bool macro_running(void);
errr term_fresh(void);
+errr term_fresh_force(void);
errr term_set_cursor(int v);
errr term_gotoxy(TERM_LEN x, TERM_LEN y);
errr term_draw(TERM_LEN x, TERM_LEN y, TERM_COLOR a, char c);
#endif
if (fresh_message)
- term_fresh();
+ term_fresh_force();
}
/*