|
1
|
if (!show_scribble)
|
|
2
|
exit;
|
|
3
|
depth = 0;
|
|
4
|
var x_offset = 26;
|
|
5
|
var y_offset = 70;
|
|
6
|
gpu_set_blendenable(false);
|
|
7
|
gpu_set_colorwriteenable(false, false, false, true);
|
|
8
|
draw_set_alpha(0);
|
|
9
|
draw_rectangle(camerax() + 414 + x_offset, cameray() + 306 + 20 + y_offset, camerax() + 414 + 20 + x_offset, cameray() + 306 + 40 + y_offset, 0);
|
|
10
|
draw_set_alpha(1);
|
|
11
|
gpu_set_blendenable(true);
|
|
12
|
gpu_set_colorwriteenable(true, true, true, true);
|
|
13
|
gpu_set_blendmode_ext(bm_dest_alpha, bm_inv_dest_alpha);
|
|
14
|
gpu_set_alphatestenable(true);
|
|
15
|
draw_set_color(c_white);
|
|
16
|
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"));
|
|
17
|
draw_text_transformed(camerax() + 414 + x_offset, cameray() + 306 + y_offset, "s", 1, 1, 0);
|
|
18
|
gpu_set_alphatestenable(false);
|
|
19
|
gpu_set_blendmode(bm_normal);
|
|
20
|
draw_line_width(camerax() + 422 + x_offset, cameray() + 326 + y_offset, ((camerax() + view_wport[0]) - 80) + x_offset, ((cameray() + view_hport[0]) - 82) + y_offset, 4);
|