You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-Multitroid-Fair-Team-PVP/Export_Code/gml_Object_oLogScreenContro...

19 lines
516 B

logtext = txt[logobj[global.curropt].logid, (global.log[logobj[global.curropt].logid] - 1)]
currentline = 0
draw_set_font(global.fontMenuSmall2)
height = string_height_ext(logtext, 12, (148 + widescreen_space))
if (height > 136)
{
scroll = 1
lines = floor(((height - 134) / 12))
}
else
scroll = 0
surface_set_target(surf)
draw_set_font(global.fontMenuSmall2)
draw_set_color(c_white)
draw_set_alpha(1)
draw_clear(c_black)
draw_text_ext(2, -2, logtext, 12, (148 + widescreen_space))
surface_reset_target()