Searched refs:xy_pct (Results 1 – 1 of 1) sorted by relevance
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/parse/ |
H A D | sexp.cpp | 22284 std::array<int, 2> xy_pct; in sexp_show_subtitle_text() local 22285 eval_array<int>(xy_pct, n, is_nan, is_nan_forever, [](int num)->int { in sexp_show_subtitle_text() 22337 int x_pos = fl2i(gr_screen.center_w * (xy_pct[0] / 100.0f)); in sexp_show_subtitle_text() 22338 int y_pos = fl2i(gr_screen.center_h * (xy_pct[1] / 100.0f)); in sexp_show_subtitle_text() 22346 Current_sexp_network_packet.send_int(xy_pct[0]); in sexp_show_subtitle_text() 22347 Current_sexp_network_packet.send_int(xy_pct[1]); in sexp_show_subtitle_text() 22418 std::array<int, 2> xy_pct; in sexp_show_subtitle_image() local 22419 eval_array<int>(xy_pct, n, is_nan, is_nan_forever, [](int num)->int { in sexp_show_subtitle_image() 22453 int x_pos = fl2i(gr_screen.center_w * (xy_pct[0] / 100.0f)); in sexp_show_subtitle_image() 22454 int y_pos = fl2i(gr_screen.center_h * (xy_pct[1] / 100.0f)); in sexp_show_subtitle_image()
|