|
1
|
if (!init)
|
|
2
|
exit;
|
|
3
|
draw_set_alpha(banner_alpha);
|
|
4
|
yy = cameray() + target_ypos;
|
|
5
|
ossafe_fill_rectangle_color(camerax(), yy - 2, camerax() + view_wport[0], yy, c_yellow, c_yellow, c_yellow, c_yellow, 0);
|
|
6
|
ossafe_fill_rectangle_color(camerax(), yy, camerax() + view_wport[0], yy + margin_top + 40, c_black, c_black, c_black, c_black, 0);
|
|
7
|
ossafe_fill_rectangle_color(camerax(), yy + margin_top + 40, camerax() + view_wport[0], yy + margin_top + 40 + 1, c_yellow, c_yellow, c_yellow, c_yellow, 0);
|
|
8
|
draw_set_color(c_yellow);
|
|
9
|
draw_set_font(scr_84_get_fontscr_84_get_font
function scr_84_get_font(arg0)
{
if (!variable_global_exists("chemg_last_get_font"))
global.chemg_last_get_font = "";
if (arg0 != global.chemg_last_get_font)
global.chemg_last_get_font = arg0;
return ds_map_find_value(global.font_map, arg0);
} ("mainbig"));
|
|
10
|
text_x_pos[0] += text_speed;
|
|
11
|
if (text_x_pos[0] < -string_width(scrolling_text))
|
|
12
|
text_x_pos[0] = text_x_pos[1] + string_width(scrolling_text);
|
|
13
|
text_x_pos[1] += text_speed;
|
|
14
|
if (text_x_pos[1] < -string_width(scrolling_text))
|
|
15
|
text_x_pos[1] = text_x_pos[0] + string_width(scrolling_text);
|
|
16
|
draw_text_ext_transformed(camerax() + text_x_pos[0], yy + margin_top, scrolling_text, 999, 9999, 1, 1, 0);
|
|
17
|
draw_text_ext_transformed(camerax() + text_x_pos[1], yy + margin_top, scrolling_text, 999, 9999, 1, 1, 0);
|
|
18
|
draw_set_color(c_white);
|
|
19
|
draw_set_alpha(1);
|