summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r--crawl-ref/source/stuff.cc56
1 files changed, 0 insertions, 56 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc
index 9dac247e5f..11ea386d7a 100644
--- a/crawl-ref/source/stuff.cc
+++ b/crawl-ref/source/stuff.cc
@@ -88,62 +88,6 @@ string make_file_time(time_t when)
return "";
}
-void set_redraw_status(uint64_t flags)
-{
- you.redraw_status_flags |= flags;
-}
-
-void redraw_screen()
-{
- if (!crawl_state.need_save)
- {
- // If the game hasn't started, don't do much.
- clrscr();
- return;
- }
-
-#ifdef USE_TILE_WEB
- tiles.close_all_menus();
-#endif
-
- draw_border();
-
- you.redraw_title = true;
- you.redraw_hit_points = true;
- you.redraw_magic_points = true;
-#if TAG_MAJOR_VERSION == 34
- if (you.species == SP_LAVA_ORC)
- you.redraw_temperature = true;
-#endif
- you.redraw_stats.init(true);
- you.redraw_armour_class = true;
- you.redraw_evasion = true;
- you.redraw_experience = true;
- you.wield_change = true;
- you.redraw_quiver = true;
-
- set_redraw_status(
- REDRAW_LINE_1_MASK | REDRAW_LINE_2_MASK | REDRAW_LINE_3_MASK);
-
- print_stats();
-
- bool note_status = notes_are_active();
- activate_notes(false);
- print_stats_level();
-#ifdef DGL_SIMPLE_MESSAGING
- update_message_status();
-#endif
- update_turn_count();
- activate_notes(note_status);
-
- viewwindow();
-
- // Display the message window at the end because it places
- // the cursor behind possible prompts.
- display_message_window();
- update_screen();
-}
-
double stepdown(double value, double step)
{
return step * log2(1 + value / step);