void restore_room_after_quick_load() { int temp1 = curr_guard_color; int temp2 = next_level; reset_level_unused_fields(false); load_lev_spr(current_level); curr_guard_color = temp1; next_level = temp2; //need_full_redraw = 1; different_room = 1; next_room = drawn_room; load_room_links(); //draw_level_first(); //gen_palace_wall_colors(); draw_game_frame(); // for falling //redraw_screen(1); // for room_L hitp_delta = guardhp_delta = 1; // force HP redraw draw_hp(); loadkid_and_opp(); // Get rid of "press button" message if kid was dead before quickload. text_time_total = text_time_remaining = 0; //next_sound = current_sound = -1; exit_room_timer = 0; }
/* * draws the snake and food to the screen */ void Window::draw_screen() { erase(); draw_game_frame(); draw_snake(); draw_food(); refresh(); }