Lines Matching refs:hudctx

630 	hud_draw_context_hs(const hud_draw_context_hs_mr &hudctx) :  in hud_draw_context_hs()
631 hud_draw_context_canvas(hudctx.canvas), hud_draw_context_xyscale(hudctx) in hud_draw_context_hs()
870 static void hud_bitblt_scaled_xy(const hud_draw_context_hs hudctx, const unsigned x, const unsigned… in hud_bitblt_scaled_xy() argument
872 hud_bitblt_free(hudctx.canvas, x, y, hudctx.xscale(bm.bm_w), hudctx.yscale(bm.bm_h), bm); in hud_bitblt_scaled_xy()
875 static void hud_bitblt(const hud_draw_context_hs hudctx, const unsigned x, const unsigned y, grs_bi… in hud_bitblt() argument
877 hud_bitblt_scaled_xy(hudctx, hudctx.xscale(x), hudctx.yscale(y), bm); in hud_bitblt()
893 static void hud_gauge_bitblt(const hud_gauge_bitblt_draw_context hudctx, const unsigned x, const un… in hud_gauge_bitblt() argument
896 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in hud_gauge_bitblt()
899 hud_bitblt(hudctx, x, y, GameBitmaps[GET_GAUGE_INDEX(gauge)]); in hud_gauge_bitblt()
904 const hud_draw_context_hs_mr hudctx; member in dsx::__anon808099050411::draw_keys_state
908 hudctx(hc), player_key_flags(f) in draw_keys_state()
916 hud_gauge_bitblt(hudctx, x, y, (player_key_flags & flag) ? gauge : (gauge + 3)); in draw_one_key()
1023 static void sb_show_score(const hud_draw_context_hs_mr hudctx, const player_info &player_info, cons… in sb_show_score() argument
1027 auto &canvas = hudctx.canvas; in sb_show_score()
1030 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in sb_show_score()
1031 const auto y = hudctx.yscale(SB_SCORE_Y); in sb_show_score()
1033 …gr_printf(canvas, game_font, hudctx.xscale(SB_SCORE_LABEL_X), y, "%s:", is_multiplayer_non_coopera… in sb_show_score()
1041 const auto scaled_score_right = hudctx.xscale(SB_SCORE_RIGHT); in sb_show_score()
1051 static void sb_show_score_added(const hud_draw_context_hs_mr hudctx) in sb_show_score_added() argument
1059 auto &canvas = hudctx.canvas; in sb_show_score_added()
1060 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in sb_show_score_added()
1080 x = hudctx.xscale(SB_SCORE_ADDED_RIGHT) - w - FSPACX(1); in sb_show_score_added()
1082 gr_string(canvas, game_font, x, hudctx.yscale(SB_SCORE_ADDED_Y), score_str, w, h); in sb_show_score_added()
1086 const auto scaled_score_y = hudctx.yscale(SB_SCORE_ADDED_Y); in sb_show_score_added()
1087 …gr_rect(canvas, x, scaled_score_y, hudctx.xscale(SB_SCORE_ADDED_RIGHT), scaled_score_y + LINE_SPAC… in sb_show_score_added()
1126 static void show_homing_warning(const hud_draw_context_hs_mr hudctx, const int homing_object_dist) in show_homing_warning() argument
1139 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in show_homing_warning()
1140 hud_gauge_bitblt(hudctx, HOMING_WARNING_X, HOMING_WARNING_Y, gauge); in show_homing_warning()
1155 static void hud_show_keys(const hud_draw_context_mr hudctx, const hud_ar_scale_float hud_scale_ar, … in hud_show_keys() argument
1177 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in hud_show_keys()
1183 auto &canvas = hudctx.canvas; in hud_show_keys()
1360 static void draw_primary_ammo_info(const hud_draw_context_hs_mr hudctx, const unsigned ammo_count) in draw_primary_ammo_info() argument
1363 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_primary_ammo_info()
1368 draw_ammo_info(hudctx.canvas, hudctx.xscale(x), hudctx.yscale(y), ammo_count); in draw_primary_ammo_info()
1874 static void hud_show_lives(const hud_draw_context_hs_mr hudctx, const hud_ar_scale_float hud_scale_… in hud_show_lives() argument
1882 ? static_cast<int>(hudctx.xscale(7)) in hud_show_lives()
1885 auto &canvas = hudctx.canvas; in hud_show_lives()
1897 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in hud_show_lives()
1908 static void sb_show_lives(const hud_draw_context_hs_mr hudctx, const hud_ar_scale_float hud_scale_a… in sb_show_lives() argument
1912 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in sb_show_lives()
1915 auto &canvas = hudctx.canvas; in sb_show_lives()
1917 const auto scaled_y = hudctx.yscale(y); in sb_show_lives()
1919 …gr_printf(canvas, game_font, hudctx.xscale(SB_LIVES_LABEL_X), scaled_y, "%s:", is_multiplayer ? TX… in sb_show_lives()
1922 const auto scaled_score_right = hudctx.xscale(SB_SCORE_RIGHT); in sb_show_lives()
1939 const auto scaled_x = hudctx.xscale(x); in sb_show_lives()
1940 gr_rect(canvas, scaled_x, scaled_y, scaled_score_right, hudctx.yscale(y + bm.bm_h), color); in sb_show_lives()
2029 static void cockpit_decode_alpha(const hud_draw_context_mr hudctx, grs_bitmap *const bm) in cockpit_decode_alpha() argument
2090 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in cockpit_decode_alpha()
2120 …ogl_ubitmapm_cs(hudctx.canvas, 0, 0, opengl_bitmap_use_dst_canvas, opengl_bitmap_use_dst_canvas, W… in cockpit_decode_alpha()
2143 static void draw_wbu_overlay(const hud_draw_context_hs_mr hudctx) in draw_wbu_overlay() argument
2145 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_wbu_overlay()
2154 cockpit_decode_alpha(hudctx, bm); in draw_wbu_overlay()
2163 hud_bitblt(hudctx, PRIMARY_W_BOX_LEFT - 2, PRIMARY_W_BOX_TOP - 2, *WinBoxOverlay[0].get()); in draw_wbu_overlay()
2165 hud_bitblt(hudctx, SECONDARY_W_BOX_LEFT - 2, SECONDARY_W_BOX_TOP - 2, *WinBoxOverlay[1].get()); in draw_wbu_overlay()
2186 static void draw_energy_bar(grs_canvas &canvas, const hud_draw_context_hs_mr hudctx, const int ener… in draw_energy_bar() argument
2188 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_energy_bar()
2189 …const int not_energy = hudctx.xscale(multires_gauge_graphic.is_hires() ? (125 - (energy * 125) / 1… in draw_energy_bar()
2190 …const double aplitscale = static_cast<double>(hudctx.xscale(65) / hudctx.yscale(8)) / (65 / 8); //… in draw_energy_bar()
2193 hud_gauge_bitblt(hudctx, LEFT_ENERGY_GAUGE_X, LEFT_ENERGY_GAUGE_Y, GAUGE_ENERGY_LEFT); in draw_energy_bar()
2199 const auto xscale_energy_gauge_x = hudctx.xscale(LEFT_ENERGY_GAUGE_X); in draw_energy_bar()
2200 const auto xscale_energy_gauge_w = hudctx.xscale(LEFT_ENERGY_GAUGE_W); in draw_energy_bar()
2201 const auto xscale_energy_gauge_h2 = hudctx.xscale(LEFT_ENERGY_GAUGE_H - 2); in draw_energy_bar()
2202 const auto yscale_energy_gauge_y = hudctx.yscale(LEFT_ENERGY_GAUGE_Y); in draw_energy_bar()
2203 const auto yscale_energy_gauge_h = hudctx.yscale(LEFT_ENERGY_GAUGE_H); in draw_energy_bar()
2219 hud_gauge_bitblt(hudctx, RIGHT_ENERGY_GAUGE_X, RIGHT_ENERGY_GAUGE_Y, GAUGE_ENERGY_RIGHT); in draw_energy_bar()
2223 const auto xscale_energy_gauge_x = hudctx.xscale(RIGHT_ENERGY_GAUGE_X); in draw_energy_bar()
2224 const auto yscale_energy_gauge_y = hudctx.yscale(RIGHT_ENERGY_GAUGE_Y); in draw_energy_bar()
2225 const auto yscale_energy_gauge_h = hudctx.yscale(RIGHT_ENERGY_GAUGE_H); in draw_energy_bar()
2226 const auto xscale_right_energy = hudctx.xscale(RIGHT_ENERGY_GAUGE_W - RIGHT_ENERGY_GAUGE_H + 2); in draw_energy_bar()
2250 static void draw_afterburner_bar(const hud_draw_context_hs_mr hudctx, const int afterburner) in draw_afterburner_bar() argument
2359 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_afterburner_bar()
2365 hud_gauge_bitblt(hudctx, afterburner_gauge_x, afterburner_gauge_y, GAUGE_AFTERBURNER); in draw_afterburner_bar()
2370 const int base_top = hudctx.yscale(afterburner_gauge_y - 1); in draw_afterburner_bar()
2371 const int base_bottom = hudctx.yscale(afterburner_gauge_y); in draw_afterburner_bar()
2375 const int left = hudctx.xscale(afterburner_gauge_x + ab.l); in draw_afterburner_bar()
2376 const int right = hudctx.xscale(afterburner_gauge_x + ab.r + 1); in draw_afterburner_bar()
2377 for (int i = hudctx.yscale(y), j = hudctx.yscale(++y); i < j; ++i) in draw_afterburner_bar()
2379 gr_rect(hudctx.canvas, left, base_top + i, right, base_bottom + i, color); in draw_afterburner_bar()
2390 static void draw_shield_bar(const hud_draw_context_hs_mr hudctx, const int shield) in draw_shield_bar() argument
2393 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_shield_bar()
2394 hud_gauge_bitblt(hudctx, SHIELD_GAUGE_X, SHIELD_GAUGE_Y, GAUGE_SHIELDS + 9 - bm_num); in draw_shield_bar()
2418 static void draw_player_ship(const hud_draw_context_hs_mr hudctx, const player_info &player_info, c… in draw_player_ship() argument
2470 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_player_ship()
2474 hud_bitblt(hudctx, x, y, bm); in draw_player_ship()
2475 auto &canvas = hudctx.canvas; in draw_player_ship()
2477 …gr_rect(canvas, hudctx.xscale(x - 3), hudctx.yscale(y - 3), hudctx.xscale(x + bm.bm_w + 3), hudctx in draw_player_ship()
2481 …nvul_timer(canvas, player_info.cloak_time + CLOAK_TIME_MAX - GameTime64, hudctx.yscale(y + (bm.bm_… in draw_player_ship()
2510 static void draw_numerical_display(const draw_numerical_display_draw_context hudctx, const int shie… in draw_numerical_display() argument
2512 auto &canvas = hudctx.canvas; in draw_numerical_display()
2514 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_numerical_display()
2515 hud_gauge_bitblt(hudctx, NUMERICAL_GAUGE_X, NUMERICAL_GAUGE_Y, GAUGE_NUMERICAL); in draw_numerical_display()
2537 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_all_cockpit_keys()
2547 static void draw_weapon_info_sub(const hud_draw_context_hs_mr hudctx, const player_info &player_inf… in draw_weapon_info_sub() argument
2557 …gr_rect(hudctx.canvas, hudctx.xscale(box->left), hudctx.yscale(box->top), hudctx.xscale(box->right… in draw_weapon_info_sub()
2562 (Piggy_hamfile_version >= 3 && hudctx.multires_gauge_graphic.is_hires()) ? in draw_weapon_info_sub()
2569 hud_bitblt(hudctx, pic_x, pic_y, bm); in draw_weapon_info_sub()
2573 auto &canvas = hudctx.canvas; in draw_weapon_info_sub()
2593 static void draw_primary_weapon_info(const hud_draw_context_hs_mr hudctx, const player_info &player… in draw_primary_weapon_info() argument
2612 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_primary_weapon_info()
2635 …weapon_info_sub(hudctx, player_info, info_index, box, pic_x, pic_y, PRIMARY_WEAPON_NAMES_SHORT(wea… in draw_primary_weapon_info()
2641 … hud_show_primary_weapons_mode(hudctx.canvas, player_info, 1, hudctx.xscale(x), hudctx.yscale(y)); in draw_primary_weapon_info()
2646 static void draw_secondary_weapon_info(const hud_draw_context_hs_mr hudctx, const player_info &play… in draw_secondary_weapon_info() argument
2655 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_secondary_weapon_info()
2678 …eapon_info_sub(hudctx, player_info, info_index, box, pic_x, pic_y, SECONDARY_WEAPON_NAMES_SHORT(we… in draw_secondary_weapon_info()
2684 …hud_show_secondary_weapons_mode(hudctx.canvas, player_info, 1, hudctx.xscale(x), hudctx.yscale(y)); in draw_secondary_weapon_info()
2689 static void draw_weapon_info(const hud_draw_context_hs_mr hudctx, const player_info &player_info, c… in draw_weapon_info() argument
2692 draw_primary_weapon_info(hudctx, player_info, weapon_num.primary, laser_level); in draw_weapon_info()
2694 draw_secondary_weapon_info(hudctx, player_info, weapon_num.secondary); in draw_weapon_info()
2712 static void draw_secondary_ammo_info(const hud_draw_context_hs_mr hudctx, const unsigned ammo_count) in draw_secondary_ammo_info() argument
2715 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_secondary_ammo_info()
2720 draw_ammo_info(hudctx.canvas, hudctx.xscale(x), hudctx.yscale(y), ammo_count); in draw_secondary_ammo_info()
2723 static void draw_weapon_box(const hud_draw_context_hs_mr hudctx, const player_info &player_info, co… in draw_weapon_box() argument
2725 auto &canvas = hudctx.canvas; in draw_weapon_box()
2740 draw_weapon_info(hudctx, player_info, weapon_num, player_info.laser_level, wt); in draw_weapon_box()
2747 draw_weapon_info(hudctx, player_info, inset.old_weapon, old_laser_level, wt); in draw_weapon_box()
2763 draw_weapon_info(hudctx, player_info, weapon_num, player_info.laser_level, wt); in draw_weapon_box()
2773 draw_weapon_info(hudctx, player_info, weapon_num, player_info.laser_level, wt); in draw_weapon_box()
2786 auto &canvas = hudctx.canvas; in draw_weapon_box()
2787 …gr_rect(canvas, hudctx.xscale(g.left), hudctx.yscale(g.top), hudctx.xscale(g.right), hudctx.yscale… in draw_weapon_box()
2798 static void draw_static(const d_vclip_array &Vclip, const hud_draw_context_hs_mr hudctx, const gaug… in draw_static() argument
2802 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_static()
2825 gr_bitmap(hudctx.canvas, x, y, bmp); in draw_static()
2829 const auto scaled_left = hudctx.xscale(box.left); in draw_static()
2830 const auto scaled_top = hudctx.yscale(box.top); in draw_static()
2831 const auto scaled_bottom = hudctx.yscale(box.bot - bmp.bm_h); in draw_static()
2832 hud_bitblt_scaled_xy(hudctx, scaled_left, scaled_top, bmp); in draw_static()
2833 hud_bitblt_scaled_xy(hudctx, scaled_left, scaled_bottom, bmp); in draw_static()
2834 const auto scaled_right = hudctx.xscale(box.right - bmp.bm_w); in draw_static()
2835 hud_bitblt_scaled_xy(hudctx, scaled_right, scaled_top, bmp); in draw_static()
2836 hud_bitblt_scaled_xy(hudctx, scaled_right, scaled_bottom, bmp); in draw_static()
2842 static void draw_weapon_box0(const hud_draw_context_hs_mr hudctx, const player_info &player_info) in draw_weapon_box0() argument
2850 …draw_weapon_box(hudctx, player_info, Primary_weapon.get_active(), gauge_inset_window_view::primary… in draw_weapon_box0()
2873 draw_primary_ammo_info(hudctx, ammo_count); in draw_weapon_box0()
2878 draw_static(Vclip, hudctx, gauge_inset_window_view::primary); in draw_weapon_box0()
2882 static void draw_weapon_box1(const hud_draw_context_hs_mr hudctx, const player_info &player_info) in draw_weapon_box1() argument
2889 …draw_weapon_box(hudctx, player_info, Secondary_weapon.get_active(), gauge_inset_window_view::secon… in draw_weapon_box1()
2895 draw_secondary_ammo_info(hudctx, ammo); in draw_weapon_box1()
2900 draw_static(Vclip, hudctx, gauge_inset_window_view::secondary); in draw_weapon_box1()
2904 static void draw_weapon_boxes(const hud_draw_context_hs_mr hudctx, const player_info &player_info) in draw_weapon_boxes() argument
2906 draw_weapon_box0(hudctx, player_info); in draw_weapon_boxes()
2907 draw_weapon_box1(hudctx, player_info); in draw_weapon_boxes()
2910 static void sb_draw_energy_bar(const hud_draw_context_hs_mr hudctx, const unsigned energy) in sb_draw_energy_bar() argument
2913 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in sb_draw_energy_bar()
2914 hud_gauge_bitblt(hudctx, SB_ENERGY_GAUGE_X, SB_ENERGY_GAUGE_Y, SB_GAUGE_ENERGY); in sb_draw_energy_bar()
2916 auto &canvas = hudctx.canvas; in sb_draw_energy_bar()
2920 const int erase_x0 = i2f(hudctx.xscale(SB_ENERGY_GAUGE_X)); in sb_draw_energy_bar()
2921 const int erase_x1 = i2f(hudctx.xscale(SB_ENERGY_GAUGE_X + SB_ENERGY_GAUGE_W)); in sb_draw_energy_bar()
2922 const int erase_y_base = hudctx.yscale(SB_ENERGY_GAUGE_Y); in sb_draw_energy_bar()
2923 for (int i = hudctx.yscale((100 - energy) * SB_ENERGY_GAUGE_H / 100); i-- > 0;) in sb_draw_energy_bar()
2938 …gr_printf(canvas, *canvas.cv_font, (grd_curscreen->get_screen_width() / 3) - (ew / 2), hudctx.ysca… in sb_draw_energy_bar()
2942 static void sb_draw_afterburner(const hud_draw_context_hs_mr hudctx, const player_info &player_info) in sb_draw_afterburner() argument
2946 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in sb_draw_afterburner()
2947 hud_gauge_bitblt(hudctx, SB_AFTERBURNER_GAUGE_X, SB_AFTERBURNER_GAUGE_Y, SB_GAUGE_AFTERBURNER); in sb_draw_afterburner()
2950 const int erase_x0 = i2f(hudctx.xscale(SB_AFTERBURNER_GAUGE_X)); in sb_draw_afterburner()
2951 const int erase_x1 = i2f(hudctx.xscale(SB_AFTERBURNER_GAUGE_X + (SB_AFTERBURNER_GAUGE_W))); in sb_draw_afterburner()
2952 const int erase_y_base = hudctx.yscale(SB_AFTERBURNER_GAUGE_Y); in sb_draw_afterburner()
2953 for (int i = hudctx.yscale(fixmul((f1_0 - Afterburner_charge), SB_AFTERBURNER_GAUGE_H)); i-- > 0;) in sb_draw_afterburner()
2956 gr_uline(hudctx.canvas, erase_x0, erase_y, erase_x1, erase_y, color); in sb_draw_afterburner()
2965 auto &canvas = hudctx.canvas; in sb_draw_afterburner()
2969 …tring(canvas, *canvas.cv_font, hudctx.xscale(SB_AFTERBURNER_GAUGE_X + (SB_AFTERBURNER_GAUGE_W + 1)… in sb_draw_afterburner()
2978 static void sb_draw_shield_num(const hud_draw_context_hs_mr hudctx, const unsigned shield) in sb_draw_shield_num() argument
2981 auto &canvas = hudctx.canvas; in sb_draw_shield_num()
2986 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in sb_draw_shield_num()
2987 …gr_printf(canvas, game_font, (grd_curscreen->get_screen_width() / 2.266) - (sw / 2), hudctx.yscale… in sb_draw_shield_num()
2990 static void sb_draw_shield_bar(const hud_draw_context_hs_mr hudctx, const int shield) in sb_draw_shield_bar() argument
2993 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in sb_draw_shield_bar()
2994 hud_gauge_bitblt(hudctx, SB_SHIELD_GAUGE_X, SB_SHIELD_GAUGE_Y, GAUGE_SHIELDS+9-bm_num); in sb_draw_shield_bar()
3005 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_all_statusbar_keys()
3012 static void draw_invulnerable_ship(const hud_draw_context_hs_mr hudctx, const object &plrobj) in draw_invulnerable_ship() argument
3030 auto &multires_gauge_graphic = hudctx.multires_gauge_graphic; in draw_invulnerable_ship()
3041 hud_gauge_bitblt(hudctx, x, y, GAUGE_INVULNERABLE + old_invulnerable_frame); in draw_invulnerable_ship()
3045 …show_cockpit_cloak_invul_timer(hudctx.canvas, t + INVULNERABLE_TIME_MAX - GameTime64, hudctx.yscal… in draw_invulnerable_ship()
3051 sb_draw_shield_bar(hudctx, shields_ir); in draw_invulnerable_ship()
3053 draw_shield_bar(hudctx, shields_ir); in draw_invulnerable_ship()
3150 …const hud_draw_context_hs_mr hudctx(canvas, grd_curscreen->get_screen_width(), grd_curscreen->get_… in show_reticle() local
3156 const auto &&hud_scale_ar = HUD_SCALE_AR(hudctx.xscale, hudctx.yscale); in show_reticle()
3673 …const hud_draw_context_hs_mr hudctx(canvas, grd_curscreen->get_screen_width(), grd_curscreen->get_… in draw_hud() local
3697 hud_show_keys(hudctx, HUD_SCALE_AR(hudctx.xscale, hudctx.yscale), player_info); in draw_hud()
3720 …hud_show_lives(hudctx, HUD_SCALE_AR(grd_curscreen->get_screen_width(), grd_curscreen->get_screen_h… in draw_hud()
3768 …const hud_draw_context_hs_mr hudctx(canvas, grd_curscreen->get_screen_width(), grd_curscreen->get_… in render_gauges() local
3769 draw_weapon_boxes(hudctx, player_info); in render_gauges()
3773 draw_energy_bar(*grd_curcanv, hudctx, energy); in render_gauges()
3780 draw_afterburner_bar(hudctx, Afterburner_charge); in render_gauges()
3782 …show_bomb_count(hudctx.canvas, player_info, hudctx.xscale(BOMB_COUNT_X), hudctx.yscale(BOMB_COUNT_… in render_gauges()
3783 draw_player_ship(hudctx, player_info, cloak, SHIP_GAUGE_X, SHIP_GAUGE_Y); in render_gauges()
3786 draw_invulnerable_ship(hudctx, plrobj); in render_gauges()
3788 draw_shield_bar(hudctx, shields); in render_gauges()
3789 draw_numerical_display(hudctx, shields, energy); in render_gauges()
3796 draw_keys_state(hudctx, player_info.powerup_flags).draw_all_cockpit_keys(); in render_gauges()
3798 show_homing_warning(hudctx, player_info.homing_object_dist); in render_gauges()
3799 draw_wbu_overlay(hudctx); in render_gauges()
3805 sb_draw_energy_bar(hudctx, energy); in render_gauges()
3811 sb_draw_afterburner(hudctx, player_info); in render_gauges()
3814 …show_bomb_count(hudctx.canvas, player_info, hudctx.xscale(SB_BOMB_COUNT_X), hudctx.yscale(SB_BOMB_… in render_gauges()
3816 draw_player_ship(hudctx, player_info, cloak, SB_SHIP_GAUGE_X, SB_SHIP_GAUGE_Y); in render_gauges()
3819 draw_invulnerable_ship(hudctx, plrobj); in render_gauges()
3821 sb_draw_shield_bar(hudctx, shields); in render_gauges()
3822 sb_draw_shield_num(hudctx, shields); in render_gauges()
3829 draw_keys_state(hudctx, player_info.powerup_flags).draw_all_statusbar_keys(); in render_gauges()
3831 …sb_show_lives(hudctx, HUD_SCALE_AR(grd_curscreen->get_screen_width(), grd_curscreen->get_screen_he… in render_gauges()
3833 sb_show_score(hudctx, player_info, is_multiplayer_non_cooperative); in render_gauges()
3837 sb_show_score_added(hudctx); in render_gauges()
3842 draw_player_ship(hudctx, player_info, cloak, SB_SHIP_GAUGE_X, SB_SHIP_GAUGE_Y); in render_gauges()
3894 …const hud_draw_context_hs_mr hudctx(window_canv, grd_curscreen->get_screen_width(), grd_curscreen-… in do_cockpit_window_view() local
3897 …const unsigned w = HUD_SCALE_AR(hudctx.xscale, hudctx.yscale)(multires_gauge_graphic.get(106, 44)); in do_cockpit_window_view()
3914 …nvas(window_canv, canvas, hudctx.xscale(box->left), hudctx.yscale(box->top), hudctx.xscale(box->ri… in do_cockpit_window_view()