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.
AM2Rogue/Export_Code/gml_Object_oLogScreenContro...

21 lines
802 B

draw_background(pic[logobj[global.curropt].logid, (global.log[logobj[global.curropt].logid] - 1)], (((view_wview[0] / 2) + 1) + widescreen_space), (view_yview[0] + 52))
if (expanded || ((!expanded) && x > (targetx + 1)))
{
if surface_exists(surf)
{
draw_set_alpha(((x - drawtarg) / drawtarg))
draw_surface(surf, (((view_wview[0] / 2) + 150) + widescreen_space), (view_yview[0] + 52))
draw_set_alpha(1)
}
}
if expanded
{
if scroll
{
if (currentline > 0)
draw_sprite_ext(sLogScroll, 1, (((view_wview[0] / 2) + 294) + (2 * widescreen_space)), (view_yview[0] + 56), 1, -1, 0, -1, 1)
if (currentline < lines)
draw_sprite(sLogScroll, 1, (((view_wview[0] / 2) + 294) + (2 * widescreen_space)), (view_yview[0] + 185))
}
}