/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/vulkan/ |
H A D | vulkan_stubs.cpp | 236 gr_screen.gf_set_clip = stub_set_clip; in init_stub_pointers() 237 gr_screen.gf_reset_clip = stub_reset_clip; in init_stub_pointers() 239 gr_screen.gf_clear = stub_clear; in init_stub_pointers() 256 gr_screen.gf_get_region = stub_get_region; in init_stub_pointers() 260 gr_screen.gf_bm_create = stub_bm_create; in init_stub_pointers() 261 gr_screen.gf_bm_init = stub_bm_init; in init_stub_pointers() 263 gr_screen.gf_bm_data = stub_bm_data; in init_stub_pointers() 267 gr_screen.gf_set_cull = stub_set_cull; in init_stub_pointers() 272 gr_screen.gf_preload = stub_preload; in init_stub_pointers() 275 gr_screen.gf_zbias = stub_zbias_stub; in init_stub_pointers() [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/ |
H A D | grstub.cpp | 417 if (gr_screen.res != GR_640) { in gr_stub_init() 418 gr_screen.res = GR_640; in gr_stub_init() 419 gr_screen.max_w = 640; in gr_stub_init() 420 gr_screen.max_h = 480; in gr_stub_init() 442 gr_screen.gf_flip = gr_stub_flip; in gr_stub_init() 443 gr_screen.gf_set_clip = gr_stub_set_clip; in gr_stub_init() 446 gr_screen.gf_clear = gr_stub_clear; in gr_stub_init() 472 gr_screen.gf_bm_init = gr_stub_bm_init; in gr_stub_init() 474 gr_screen.gf_bm_data = gr_stub_bm_data; in gr_stub_init() 483 gr_screen.gf_preload = gr_stub_preload; in gr_stub_init() [all …]
|
H A D | 2d.cpp | 1103 …gr_screen.save_center_w = gr_screen.center_w = gr_screen.save_max_w = gr_screen.max_w = gr_screen.… in gr_screen_resize() 1104 …gr_screen.save_center_h = gr_screen.center_h = gr_screen.save_max_h = gr_screen.max_h = gr_screen.… in gr_screen_resize() 1111 gr_screen.clip_right = gr_screen.clip_right_unscaled = gr_screen.max_w - 1; in gr_screen_resize() 1112 gr_screen.clip_bottom = gr_screen.clip_bottom_unscaled = gr_screen.max_h - 1; in gr_screen_resize() 1113 gr_screen.clip_width = gr_screen.clip_width_unscaled = gr_screen.max_w; in gr_screen_resize() 1114 gr_screen.clip_height = gr_screen.clip_height_unscaled = gr_screen.max_h; in gr_screen_resize() 1252 …gr_screen.save_max_w = gr_screen.max_w = gr_screen.max_w_unscaled = gr_screen.max_w_unscaled_zoome… in gr_init_sub() 1253 …gr_screen.save_max_h = gr_screen.max_h = gr_screen.max_h_unscaled = gr_screen.max_h_unscaled_zoome… in gr_init_sub() 1318 gr_screen.clip_right = gr_screen.clip_right_unscaled = gr_screen.max_w - 1; in gr_init_sub() 1320 gr_screen.clip_width = gr_screen.clip_width_unscaled = gr_screen.max_w; in gr_init_sub() [all …]
|
H A D | matrix.cpp | 120 if (gr_screen.rendering_to_texture != -1) { in gr_set_proj_matrix() 121 …gr_set_viewport(gr_screen.offset_x, gr_screen.offset_y, gr_screen.clip_width, gr_screen.clip_heigh… in gr_set_proj_matrix() 123 …gr_set_viewport(gr_screen.offset_x, (gr_screen.max_h - gr_screen.offset_y - gr_screen.clip_height)… in gr_set_proj_matrix() 132 if (gr_screen.rendering_to_texture != -1) { in gr_set_proj_matrix() 144 gr_set_viewport(0, 0, gr_screen.max_w, gr_screen.max_h); in gr_end_proj_matrix() 149 if (gr_screen.rendering_to_texture != -1) { in gr_end_proj_matrix() 222 gr_set_viewport(0, 0, gr_screen.max_w, gr_screen.max_h); in gr_set_2d_matrix() 227 if (gr_screen.rendering_to_texture != -1) { in gr_set_2d_matrix() 258 …gr_set_viewport(gr_screen.offset_x, (gr_screen.max_h - gr_screen.offset_y - gr_screen.clip_height)… in gr_end_2d_matrix() 313 gr_set_viewport(0, 0, gr_screen.max_w, gr_screen.max_h); in gr_setup_viewport() [all …]
|
H A D | render.cpp | 22 int x1 = (gr_screen.clip_left + gr_screen.offset_x); in gr_flash_internal() 23 int y1 = (gr_screen.clip_top + gr_screen.offset_y); in gr_flash_internal() 24 int x2 = (gr_screen.clip_right + gr_screen.offset_x) + 1; in gr_flash_internal() 25 int y2 = (gr_screen.clip_bottom + gr_screen.offset_y) + 1; in gr_flash_internal() 118 x1 = i2fl(x + ((do_resize) ? gr_screen.offset_x_unscaled : gr_screen.offset_x)); in bitmap_ex_internal() 119 y1 = i2fl(y + ((do_resize) ? gr_screen.offset_y_unscaled : gr_screen.offset_y)); in bitmap_ex_internal() 175 int clip_top = ((do_resize) ? gr_screen.clip_top_unscaled : gr_screen.clip_top); in gr_aabitmap() 248 int clip_top = ((do_resize) ? gr_screen.clip_top_unscaled : gr_screen.clip_top); in gr_aabitmap_ex() 374 int clip_top = ((do_resize) ? gr_screen.clip_top_unscaled : gr_screen.clip_top); in gr_bitmap_ex() 613 x1 = xc + ((do_resize) ? gr_screen.offset_x_unscaled : gr_screen.offset_x); in gr_string_old() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/graphics/ |
H A D | grstub.cpp | 453 gr_screen.recording_state_block = false; in gr_stub_start_state_block() 715 if (gr_screen.res != GR_640) { in gr_stub_init() 716 gr_screen.res = GR_640; in gr_stub_init() 717 gr_screen.max_w = 640; in gr_stub_init() 718 gr_screen.max_h = 480; in gr_stub_init() 740 gr_screen.gf_flip = gr_stub_flip; in gr_stub_init() 744 gr_screen.gf_clear = gr_stub_clear; in gr_stub_init() 755 gr_screen.gf_curve = gr_stub_curve; in gr_stub_init() 757 gr_screen.gf_line = gr_stub_line; in gr_stub_init() 759 gr_screen.gf_pixel = gr_stub_pixel; in gr_stub_init() [all …]
|
H A D | gropengl.cpp | 437 gr_screen.clip_center_x = (gr_screen.clip_left + gr_screen.clip_right) * 0.5f; in gr_opengl_set_clip() 438 gr_screen.clip_center_y = (gr_screen.clip_top + gr_screen.clip_bottom) * 0.5f; in gr_opengl_set_clip() 456 gr_screen.offset_x = gr_screen.offset_x_unscaled = 0; in gr_opengl_reset_clip() 457 gr_screen.offset_y = gr_screen.offset_y_unscaled = 0; in gr_opengl_reset_clip() 460 gr_screen.clip_right = gr_screen.clip_right_unscaled = gr_screen.max_w - 1; in gr_opengl_reset_clip() 461 gr_screen.clip_bottom = gr_screen.clip_bottom_unscaled = gr_screen.max_h - 1; in gr_opengl_reset_clip() 462 gr_screen.clip_width = gr_screen.clip_width_unscaled = gr_screen.max_w; in gr_opengl_reset_clip() 463 gr_screen.clip_height = gr_screen.clip_height_unscaled = gr_screen.max_h; in gr_opengl_reset_clip() 470 gr_screen.clip_aspect = i2fl(gr_screen.clip_width) / i2fl(gr_screen.clip_height); in gr_opengl_reset_clip() 471 gr_screen.clip_center_x = (gr_screen.clip_left + gr_screen.clip_right) * 0.5f; in gr_opengl_reset_clip() [all …]
|
H A D | 2d.cpp | 425 gr_screen.save_max_w = gr_screen.max_w = gr_screen.max_w_unscaled = width; in gr_screen_resize() 426 gr_screen.save_max_h = gr_screen.max_h = gr_screen.max_h_unscaled = height; in gr_screen_resize() 433 gr_screen.clip_right = gr_screen.clip_right_unscaled = gr_screen.max_w - 1; in gr_screen_resize() 434 gr_screen.clip_bottom = gr_screen.clip_bottom_unscaled = gr_screen.max_h - 1; in gr_screen_resize() 435 gr_screen.clip_width = gr_screen.clip_width_unscaled = gr_screen.max_w; in gr_screen_resize() 436 gr_screen.clip_height = gr_screen.clip_height_unscaled = gr_screen.max_h; in gr_screen_resize() 509 gr_screen.save_max_w = gr_screen.max_w = gr_screen.max_w_unscaled = width; in gr_init_sub() 510 gr_screen.save_max_h = gr_screen.max_h = gr_screen.max_h_unscaled = height; in gr_init_sub() 517 gr_screen.clip_right = gr_screen.clip_right_unscaled = gr_screen.max_w - 1; in gr_init_sub() 519 gr_screen.clip_width = gr_screen.clip_width_unscaled = gr_screen.max_w; in gr_init_sub() [all …]
|
H A D | 2d.h | 610 extern screen gr_screen; 683 (*gr_screen.gf_set_clip)(x,y,w,h,resize_mode); 689 #define gr_clear GR_CALL(gr_screen.gf_clear) 711 (*gr_screen.gf_string)(x,y,string,resize_mode); 716 (*gr_screen.gf_circle)(xc,yc,d,resize_mode); 729 #define gr_curve GR_CALL(gr_screen.gf_curve) 736 #define gr_aaline GR_CALL(gr_screen.gf_aaline) 740 (*gr_screen.gf_pixel)(x, y, resize_mode); 742 #define gr_scaler GR_CALL(gr_screen.gf_scaler) 745 #define gr_render GR_CALL(gr_screen.gf_render) [all …]
|
H A D | gropengldraw.cpp | 113 …GL_state.Color(gr_screen.current_color.red, gr_screen.current_color.green, gr_screen.current_color… in opengl_aabitmap_ex_internal() 350 …GL_state.Color(gr_screen.current_color.red, gr_screen.current_color.green, gr_screen.current_color… in gr_opengl_string() 564 …GL_state.Color(gr_screen.current_color.red, gr_screen.current_color.green, gr_screen.current_color… in gr_opengl_line() 601 …GL_state.Color(gr_screen.current_color.red, gr_screen.current_color.green, gr_screen.current_color… in gr_opengl_line() 683 …GL_state.Color(gr_screen.current_color.red, gr_screen.current_color.green, gr_screen.current_color… in gr_opengl_aaline() 717 …GL_state.Color(gr_screen.current_color.red, gr_screen.current_color.green, gr_screen.current_color… in gr_opengl_aaline() 782 gr_screen.current_color.red, gr_screen.current_color.green, gr_screen.current_color.blue, ba, in gr_opengl_gradient() 783 gr_screen.current_color.red, gr_screen.current_color.green, gr_screen.current_color.blue, aa in gr_opengl_gradient() 1313 if (gr_screen.offset_x || gr_screen.offset_y) { in opengl_tmapper_internal() 2730 (float)gr_screen.max_w, (float)gr_screen.max_h, in gr_opengl_update_distortion() [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/opengl/ |
H A D | gropengl.cpp | 196 gr_screen.clip_center_x = (gr_screen.clip_left + gr_screen.clip_right) * 0.5f; in gr_opengl_set_clip() 197 gr_screen.clip_center_y = (gr_screen.clip_top + gr_screen.clip_bottom) * 0.5f; in gr_opengl_set_clip() 215 gr_screen.offset_x = gr_screen.offset_x_unscaled = 0; in gr_opengl_reset_clip() 216 gr_screen.offset_y = gr_screen.offset_y_unscaled = 0; in gr_opengl_reset_clip() 219 gr_screen.clip_right = gr_screen.clip_right_unscaled = gr_screen.max_w - 1; in gr_opengl_reset_clip() 220 gr_screen.clip_bottom = gr_screen.clip_bottom_unscaled = gr_screen.max_h - 1; in gr_opengl_reset_clip() 221 gr_screen.clip_width = gr_screen.clip_width_unscaled = gr_screen.max_w; in gr_opengl_reset_clip() 222 gr_screen.clip_height = gr_screen.clip_height_unscaled = gr_screen.max_h; in gr_opengl_reset_clip() 229 gr_screen.clip_aspect = i2fl(gr_screen.clip_width) / i2fl(gr_screen.clip_height); in gr_opengl_reset_clip() 230 gr_screen.clip_center_x = (gr_screen.clip_left + gr_screen.clip_right) * 0.5f; in gr_opengl_reset_clip() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/menuui/ |
H A D | optionsmenu.cpp | 527 …if ( ((Buttons[gr_screen.res][i].tab == Tab) || (Buttons[gr_screen.res][i].tab == -1)) && !flags[B… in options_tab_setup() 914 Backgrounds[gr_screen.res][tab].bitmap = bm_load(Backgrounds[gr_screen.res][tab].filename); in options_load_background_and_mask() 915 Backgrounds[gr_screen.res][tab].mask = bm_load(Backgrounds[gr_screen.res][tab].mask_filename); in options_load_background_and_mask() 936 Ui_window.create(0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0); in options_menu_init() 939 b = &Buttons[gr_screen.res][i]; in options_menu_init() 998 …Options_sliders[gr_screen.res][i].slider.create(&Ui_window, Options_sliders[gr_screen.res][i].x, O… in options_menu_init() 1000 …gr_screen.res][i].hotspot, Options_sliders[gr_screen.res][i].right_filename, Options_sliders[gr_sc… in options_menu_init() 1001 …ers[gr_screen.res][i].left_filename, Options_sliders[gr_screen.res][i].left_mask, Options_sliders[… in options_menu_init() 1343 …Detail_sliders[gr_screen.res][i].slider.create(&Ui_window, Detail_sliders[gr_screen.res][i].x, Det… in options_detail_init() 1345 …gr_screen.res][i].hotspot, Detail_sliders[gr_screen.res][i].right_filename, Detail_sliders[gr_scre… in options_detail_init() [all …]
|
H A D | optionsmenumulti.cpp | 685 …Om_pro_buttons[gr_screen.res][idx].button.create(Om_window, "", Om_pro_buttons[gr_screen.res][idx]… in options_multi_load_protocol_controls() 691 Om_pro_buttons[gr_screen.res][idx].button.set_bmaps(Om_pro_buttons[gr_screen.res][idx].filename); in options_multi_load_protocol_controls() 708 …, "", Ip_list_coords[gr_screen.res][0], Ip_list_coords[gr_screen.res][1], Ip_list_coords[gr_screen… in options_multi_load_protocol_controls() 1359 …Om_gen_buttons[gr_screen.res][idx].button.create(Om_window, "", Om_gen_buttons[gr_screen.res][idx]… in options_multi_load_gen_controls() 1365 Om_gen_buttons[gr_screen.res][idx].button.set_bmaps(Om_gen_buttons[gr_screen.res][idx].filename); in options_multi_load_gen_controls() 1643 …Om_vox_buttons[gr_screen.res][idx].button.create(Om_window, "", Om_vox_buttons[gr_screen.res][idx]… in options_multi_load_vox_controls() 1662 …Om_vox_sliders[gr_screen.res][idx].slider.create(Om_window, Om_vox_sliders[gr_screen.res][idx].x, … in options_multi_load_vox_controls() 1664 …gr_screen.res][idx].hotspot, Om_vox_sliders[gr_screen.res][idx].right_filename, Om_vox_sliders[gr_… in options_multi_load_vox_controls() 1665 …s[gr_screen.res][idx].left_filename, Om_vox_sliders[gr_screen.res][idx].left_mask, Om_vox_sliders[… in options_multi_load_vox_controls() 1670 …plist_coords[gr_screen.res][0], Om_vox_plist_coords[gr_screen.res][1], Om_vox_plist_coords[gr_scre… in options_multi_load_vox_controls() [all …]
|
H A D | barracks.cpp | 1331 Ui_window.create(0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0); in barracks_init() 1345 …Buttons[gr_screen.res][i].button.create(&Ui_window, "", Buttons[gr_screen.res][i].x, Buttons[gr_sc… in barracks_init() 1351 Buttons[gr_screen.res][i].button.set_bmaps(Buttons[gr_screen.res][i].filename); in barracks_init() 1354 Buttons[gr_screen.res][i].button.link_hotspot(Buttons[gr_screen.res][i].hotspot); in barracks_init() 1358 …w->add_XSTR("Create", 1034, Buttons[gr_screen.res][0].text_x, Buttons[gr_screen.res][0].text_y, &… in barracks_init() 1359 …w->add_XSTR("Accept", 1035, Buttons[gr_screen.res][5].text_x, Buttons[gr_screen.res][5].text_y, &… in barracks_init() 1360 …w->add_XSTR("Help", 928, Buttons[gr_screen.res][6].text_x, Buttons[gr_screen.res][6].text_y, &B… in barracks_init() 1361 …w->add_XSTR("Options",1036, Buttons[gr_screen.res][7].text_x, Buttons[gr_screen.res][7].text_y, &… in barracks_init() 1362 …w->add_XSTR("Medals", 1037, Buttons[gr_screen.res][8].text_x, Buttons[gr_screen.res][8].text_y, &… in barracks_init() 1363 …w->add_XSTR("Remove", 1038, Buttons[gr_screen.res][11].text_x, Buttons[gr_screen.res][11].text_y,… in barracks_init() [all …]
|
H A D | playermenu.cpp | 235 Player_select_window.create(0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0); in player_select_init() 240 b = &Player_select_buttons[gr_screen.res][i]; in player_select_init() 258 …_select_buttons[gr_screen.res][CLONE_BUTTON].xt, Player_select_buttons[gr_screen.res][CLONE_BUTTON… in player_select_init() 261 …select_buttons[gr_screen.res][ACCEPT_BUTTON].xt, Player_select_buttons[gr_screen.res][ACCEPT_BUTTO… in player_select_init() 263 …_select_buttons[gr_screen.res][MULTI_BUTTON].xt, Player_select_buttons[gr_screen.res][MULTI_BUTTON… in player_select_init() 265 w->add_XSTR(&Player_select_text[gr_screen.res][i]); in player_select_init() 270 …se_list_coords[gr_screen.res][0], Choose_list_coords[gr_screen.res][1], Choose_list_coords[gr_scre… in player_select_init() 713 …ate_dimensions(Choose_list_coords[gr_screen.res][0], Choose_list_coords[gr_screen.res][1], Choose_… in player_select_create_new_pilot() 901 if (gr_screen.res == 1) { in player_select_draw_list() 1140 w = (gr_screen.max_w_unscaled - w) / 2; in player_select_display_all_text() [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/menuui/ |
H A D | optionsmenu.cpp | 527 …if ( ((Buttons[gr_screen.res][i].tab == Tab) || (Buttons[gr_screen.res][i].tab == -1)) && !flags[B… in options_tab_setup() 885 Backgrounds[gr_screen.res][tab].bitmap = bm_load(Backgrounds[gr_screen.res][tab].filename); in options_load_background_and_mask() 886 Backgrounds[gr_screen.res][tab].mask = bm_load(Backgrounds[gr_screen.res][tab].mask_filename); in options_load_background_and_mask() 903 Ui_window.create(0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0); in options_menu_init() 965 …Options_sliders[gr_screen.res][i].slider.create(&Ui_window, Options_sliders[gr_screen.res][i].x, O… in options_menu_init() 968 …s[gr_screen.res][i].right_filename, Options_sliders[gr_screen.res][i].right_mask, Options_sliders[… in options_menu_init() 969 …ers[gr_screen.res][i].left_filename, Options_sliders[gr_screen.res][i].left_mask, Options_sliders[… in options_menu_init() 1305 …Detail_sliders[gr_screen.res][i].slider.create(&Ui_window, Detail_sliders[gr_screen.res][i].x, Det… in options_detail_init() 1306 Detail_sliders[gr_screen.res][i].dots, Detail_sliders[gr_screen.res][i].filename, in options_detail_init() 1307 …gr_screen.res][i].hotspot, Detail_sliders[gr_screen.res][i].left_filename, Detail_sliders[gr_scree… in options_detail_init() [all …]
|
H A D | optionsmenumulti.cpp | 688 …Om_pro_buttons[gr_screen.res][idx].button.create(Om_window, "", Om_pro_buttons[gr_screen.res][idx]… in options_multi_load_protocol_controls() 694 Om_pro_buttons[gr_screen.res][idx].button.set_bmaps(Om_pro_buttons[gr_screen.res][idx].filename); in options_multi_load_protocol_controls() 711 …, "", Ip_list_coords[gr_screen.res][0], Ip_list_coords[gr_screen.res][1], Ip_list_coords[gr_screen… in options_multi_load_protocol_controls() 1353 …Om_gen_buttons[gr_screen.res][idx].button.create(Om_window, "", Om_gen_buttons[gr_screen.res][idx]… in options_multi_load_gen_controls() 1359 Om_gen_buttons[gr_screen.res][idx].button.set_bmaps(Om_gen_buttons[gr_screen.res][idx].filename); in options_multi_load_gen_controls() 1637 …Om_vox_buttons[gr_screen.res][idx].button.create(Om_window, "", Om_vox_buttons[gr_screen.res][idx]… in options_multi_load_vox_controls() 1656 …Om_vox_sliders[gr_screen.res][idx].slider.create(Om_window, Om_vox_sliders[gr_screen.res][idx].x, … in options_multi_load_vox_controls() 1659 …s[gr_screen.res][idx].left_filename, Om_vox_sliders[gr_screen.res][idx].left_mask, Om_vox_sliders[… in options_multi_load_vox_controls() 1660 …[gr_screen.res][idx].right_filename, Om_vox_sliders[gr_screen.res][idx].right_mask, Om_vox_sliders… in options_multi_load_vox_controls() 1665 …plist_coords[gr_screen.res][0], Om_vox_plist_coords[gr_screen.res][1], Om_vox_plist_coords[gr_scre… in options_multi_load_vox_controls() [all …]
|
H A D | barracks.cpp | 1376 Ui_window.create(0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0); in barracks_init() 1390 …Buttons[gr_screen.res][i].button.create(&Ui_window, "", Buttons[gr_screen.res][i].x, Buttons[gr_sc… in barracks_init() 1396 Buttons[gr_screen.res][i].button.set_bmaps(Buttons[gr_screen.res][i].filename); in barracks_init() 1399 Buttons[gr_screen.res][i].button.link_hotspot(Buttons[gr_screen.res][i].hotspot); in barracks_init() 1403 …w->add_XSTR("Create", 1034, Buttons[gr_screen.res][0].text_x, Buttons[gr_screen.res][0].text_y, &… in barracks_init() 1404 …w->add_XSTR("Accept", 1035, Buttons[gr_screen.res][5].text_x, Buttons[gr_screen.res][5].text_y, &… in barracks_init() 1405 …w->add_XSTR("Help", 928, Buttons[gr_screen.res][6].text_x, Buttons[gr_screen.res][6].text_y, &B… in barracks_init() 1406 …w->add_XSTR("Options",1036, Buttons[gr_screen.res][7].text_x, Buttons[gr_screen.res][7].text_y, &… in barracks_init() 1407 …w->add_XSTR("Medals", 1037, Buttons[gr_screen.res][8].text_x, Buttons[gr_screen.res][8].text_y, &… in barracks_init() 1408 …w->add_XSTR("Remove", 1038, Buttons[gr_screen.res][11].text_x, Buttons[gr_screen.res][11].text_y,… in barracks_init() [all …]
|
H A D | techmenu.cpp | 425 …er_desc(Tech_desc_coords[gr_screen.res][SHIP_X_COORD], Tech_desc_coords[gr_screen.res][SHIP_Y_COOR… in tech_common_render() 527 …gr_screen.res][SHIP_X_COORD], Tech_ship_display_coords[gr_screen.res][SHIP_Y_COORD], Tech_ship_dis… in techroom_ships_render() 566 …gr_screen.res][SHIP_X_COORD], Tech_ship_display_coords[gr_screen.res][SHIP_Y_COORD], Tech_ship_dis… in techroom_ships_render() 986 if (gr_screen.res == GR_1024) { in techroom_load_ani() 1072 Ui_window.create(0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0); in techroom_init() 1089 b = &Buttons[gr_screen.res][i]; in techroom_init() 1106 …R("Cutscenes", 1057, Buttons[gr_screen.res][CUTSCENES_TAB].xt, Buttons[gr_screen.res][CUTSCENES_T… in techroom_init() 1107 …_XSTR("Credits", 1058, Buttons[gr_screen.res][CREDITS_TAB].xt, Buttons[gr_screen.res][CREDITS_TAB… in techroom_init() 1110 …_XSTR("Ships", 293, Buttons[gr_screen.res][SHIPS_DATA_TAB].xt, Buttons[gr_screen.res][SHIPS_DATA_… in techroom_init() 1115 …add_XSTR("Exit", 1418, Buttons[gr_screen.res][EXIT_BUTTON].xt, Buttons[gr_screen.res][EXIT_BUTTON… in techroom_init() [all …]
|
H A D | readyroom.cpp | 1029 Ui_window.create(0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0); in sim_room_init() 1033 b = &Buttons[gr_screen.res][i]; in sim_room_init() 1043 …ingle Missions", 1060, Buttons[gr_screen.res][MISSION_TAB].xt, Buttons[gr_screen.res][MISSION_TAB]… in sim_room_init() 1045 ….add_XSTR("Help", 928, Buttons[gr_screen.res][HELP_BUTTON].xt, Buttons[gr_screen.res][HELP_BUTTON]… in sim_room_init() 1046 …XSTR("Commit", 1062, Buttons[gr_screen.res][COMMIT_BUTTON].xt, Buttons[gr_screen.res][COMMIT_BUTTO… in sim_room_init() 1047 …TR("Options", 1036, Buttons[gr_screen.res][OPTIONS_BUTTON].xt, Buttons[gr_screen.res][OPTIONS_BUTT… in sim_room_init() 1680 Ui_window.create(0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0); in campaign_room_init() 1690 b = &Cr_buttons[gr_screen.res][i]; in campaign_room_init() 1881 …gr_line(Cr_list_coords[gr_screen.res][0] - 10, i, Cr_list_coords[gr_screen.res][0] - 8, i, GR_RESI… in campaign_room_do_frame() 1883 …gr_line(Cr_list_coords[gr_screen.res][0] - 4, i, Cr_list_coords[gr_screen.res][0] - 2, i, GR_RESIZ… in campaign_room_do_frame() [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/missionui/ |
H A D | chatbox.cpp | 345 Chatbox_max_lines = Chatbox_small_max_lines[gr_screen.res]; in chatbox_set_mode() 361 Chatbox_max_lines = Chatbox_big_max_lines[gr_screen.res]; in chatbox_set_mode() 376 Chatbox_max_lines = Chatbox_p_max_lines[gr_screen.res]; in chatbox_set_mode() 534 Chat_window.create( 0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0 ); in chatbox_create() 546 …Chatbox_buttons[gr_screen.res][idx].button.create(&Chat_window, "", Chatbox_buttons[gr_screen.res]… in chatbox_create() 552 …Chatbox_buttons[gr_screen.res][idx].button.set_bmaps(Chatbox_buttons[gr_screen.res][idx].filename); in chatbox_create() 555 …Chatbox_buttons[gr_screen.res][idx].button.link_hotspot(Chatbox_buttons[gr_screen.res][idx].hotspo… in chatbox_create() 560 …Chatbox_buttons[gr_screen.res][CHATBOX_TOGGLE_SIZE].button.set_bmaps(Chatbox_buttons[gr_screen.res… in chatbox_create() 562 …Chatbox_buttons[gr_screen.res][CHATBOX_TOGGLE_SIZE].button.set_bmaps(Chatbox_buttons[gr_screen.res… in chatbox_create() 1038 …Chatbox_buttons[gr_screen.res][CHATBOX_TOGGLE_SIZE].button.set_bmaps(Chatbox_buttons[gr_screen.res… in chatbox_force_small() [all …]
|
H A D | missionbrief.cpp | 742 …_background_load(Briefing->background[gr_screen.res], Brief_filename[gr_screen.res], Brief_multi_f… in brief_ui_init() 896 …t(&Fade_anim, Brief_static_coords[gr_screen.res][0], Brief_static_coords[gr_screen.res][1], Brief_… in brief_init() 921 Brief_ui_window.create( 0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0 ); in brief_init() 959 …gr_screen.res][BRIEF_X_COORD], Brief_goals_coords[gr_screen.res][BRIEF_Y_COORD], Brief_goals_coord… in brief_init() 1043 w = Closeup_region[gr_screen.res][2]; in brief_render_closeup() 1044 h = Closeup_region[gr_screen.res][3]; in brief_render_closeup() 1045 …gr_set_clip(Closeup_region[gr_screen.res][0], Closeup_region[gr_screen.res][1], w, h, GR_RESIZE_ME… in brief_render_closeup() 1080 …gr_set_clip(Closeup_region[gr_screen.res][0], Closeup_region[gr_screen.res][1], w, h, GR_RESIZE_ME… in brief_render_closeup() 1144 …gr_bitmap(Brief_bmap_coords[gr_screen.res][0], Brief_bmap_coords[gr_screen.res][1], GR_RESIZE_MENU… in brief_render() 1155 …brief_text_line, Brief_text_coords[gr_screen.res][0], Brief_text_coords[gr_screen.res][1], Brief_t… in brief_render() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/missionui/ |
H A D | chatbox.cpp | 345 Chatbox_max_lines = Chatbox_small_max_lines[gr_screen.res]; in chatbox_set_mode() 361 Chatbox_max_lines = Chatbox_big_max_lines[gr_screen.res]; in chatbox_set_mode() 376 Chatbox_max_lines = Chatbox_p_max_lines[gr_screen.res]; in chatbox_set_mode() 533 Chat_window.create( 0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0 ); in chatbox_create() 545 …Chatbox_buttons[gr_screen.res][idx].button.create(&Chat_window, "", Chatbox_buttons[gr_screen.res]… in chatbox_create() 551 …Chatbox_buttons[gr_screen.res][idx].button.set_bmaps(Chatbox_buttons[gr_screen.res][idx].filename); in chatbox_create() 554 …Chatbox_buttons[gr_screen.res][idx].button.link_hotspot(Chatbox_buttons[gr_screen.res][idx].hotspo… in chatbox_create() 559 …Chatbox_buttons[gr_screen.res][CHATBOX_TOGGLE_SIZE].button.set_bmaps(Chatbox_buttons[gr_screen.res… in chatbox_create() 561 …Chatbox_buttons[gr_screen.res][CHATBOX_TOGGLE_SIZE].button.set_bmaps(Chatbox_buttons[gr_screen.res… in chatbox_create() 1036 …Chatbox_buttons[gr_screen.res][CHATBOX_TOGGLE_SIZE].button.set_bmaps(Chatbox_buttons[gr_screen.res… in chatbox_force_small() [all …]
|
H A D | missionbrief.cpp | 894 …t(&Fade_anim, Brief_static_coords[gr_screen.res][0], Brief_static_coords[gr_screen.res][1], Brief_… in brief_init() 921 Brief_ui_window.create( 0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0 ); in brief_init() 959 …gr_screen.res][BRIEF_X_COORD], Brief_goals_coords[gr_screen.res][BRIEF_Y_COORD], Brief_goals_coord… in brief_init() 1040 w = Closeup_region[gr_screen.res][2]; in brief_render_closeup() 1041 h = Closeup_region[gr_screen.res][3]; in brief_render_closeup() 1042 …gr_set_clip(Closeup_region[gr_screen.res][0], Closeup_region[gr_screen.res][1], w, h, GR_RESIZE_ME… in brief_render_closeup() 1119 …gr_bitmap(Brief_bmap_coords[gr_screen.res][0], Brief_bmap_coords[gr_screen.res][1], GR_RESIZE_MENU… in brief_render() 1125 …gr_bitmap(Brief_infobox_coords[gr_screen.res][0], Brief_infobox_coords[gr_screen.res][1], GR_RESIZ… in brief_render() 1130 …brief_text_line, Brief_text_coords[gr_screen.res][0], Brief_text_coords[gr_screen.res][1], Brief_t… in brief_render() 1135 if (gr_screen.res == 1) { in brief_render() [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/network/ |
H A D | multiui.cpp | 878 Multi_join_window.create(0,0,gr_screen.max_w_unscaled,gr_screen.max_h_unscaled,0); in multi_join_game_init() 2324 Multi_sg_window.create(0,0,gr_screen.max_w_unscaled,gr_screen.max_h_unscaled,0); in multi_start_game_init() 2346 …lti_sg_buttons[gr_screen.res][idx].button.create(&Multi_sg_window, "", Multi_sg_buttons[gr_screen.… in multi_start_game_init() 3576 Multi_create_window.create(0,0,gr_screen.max_w_unscaled,gr_screen.max_h_unscaled,0); in multi_create_game_init() 5868 Multi_ho_window.create(0,0,gr_screen.max_w_unscaled,gr_screen.max_h_unscaled,0); in multi_host_options_init() 5910 …gr_screen.res][idx].slider.create(&Multi_ho_window, Multi_ho_sliders[gr_screen.res][idx].x, Multi_… in multi_host_options_init() 6706 Multi_jw_window.create(0,0,gr_screen.max_w_unscaled,gr_screen.max_h_unscaled,0); in multi_game_client_setup_init() 7576 Multi_sync_window.create(0, 0, gr_screen.max_w_unscaled, gr_screen.max_h_unscaled, 0); in multi_sync_common_init() 8404 …rds[gr_screen.res][MS_X_COORD] - Ms_status_coords[gr_screen.res][MS_X_COORD] - 20 - Ms_cd_icon_off… in multi_sync_display_name() 8414 …(Ms_status_coords[gr_screen.res][0] + Ms_cd_icon_offset[gr_screen.res] + Ms_team_icon_offset[gr_sc… in multi_sync_display_name() [all …]
|