|
1
|
function scr_marker_fogblendscr_marker_fogblend
function scr_marker_fogblend(arg0, arg1, arg2, arg3 = 1, arg4 = 32768, arg5 = 1, arg6 = 1, arg7 = 0, arg8 = 0, arg9 = 16777215, arg10 = depth, arg11 = false, arg12 = -1, arg13 = 1)
{
var thismarker = instance_create(arg0, arg1, obj_marker_fogblend);
with (thismarker)
{
depth = arg10;
sprite_index = arg2;
image_speed = arg7;
image_xscale = arg5;
image_yscale = arg6;
image_index = arg8;
image_blend = arg9;
image_alpha = arg13;
if (arg11)
scr_depth_alt();
blend = arg3;
color = arg4;
}
if (arg12 > 0)
scr_doom(thismarker, arg12);
return thismarker;
}
function scr_afterimage_fogblend(arg0 = 1, arg1 = 32768, arg2 = 30)
{
var _fogblend = instance_create(x, y, obj_marker_fogblend);
_fogblend.sprite_index = sprite_index;
_fogblend.image_alpha = image_alpha;
_fogblend.image_angle = image_angle;
_fogblend.image_blend = image_blend;
_fogblend.image_index = image_index;
_fogblend.image_speed = image_speed;
_fogblend.image_xscale = image_xscale;
_fogblend.image_yscale = image_yscale;
_fogblend.mask_index = mask_index;
_fogblend.blend = arg0;
_fogblend.color = arg1;
with (_fogblend)
scr_lerpvar("image_alpha", image_alpha, 0, arg2);
scr_doom(_fogblend, arg2 + 1);
return _fogblend;
} (arg0, arg1, arg2, arg3 = 1, arg4 = 32768, arg5 = 1, arg6 = 1, arg7 = 0, arg8 = 0, arg9 = 16777215, arg10 = depth, arg11 = false, arg12 = -1, arg13 = 1)
|
|
39
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
var _id = self;
if (!is_struct(self))
_id = id;
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpcol()
{
if (argument_count < 6)
___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
} ("image_alpha", image_alpha, 0, arg2);
|