Merge remote-tracking branch 'gzdoom/master' into qzdoom

# Conflicts:
#	src/v_video.cpp
This commit is contained in:
Magnus Norddahl 2017-02-19 03:49:13 +01:00
commit 42a7dbe33a
41 changed files with 2034 additions and 2432 deletions

View file

@ -337,6 +337,20 @@ void DCanvas::Dim (PalEntry color)
Dim (dimmer, amount, 0, 0, Width, Height);
}
DEFINE_ACTION_FUNCTION(_Screen, Dim)
{
PARAM_PROLOGUE;
PARAM_INT(color);
PARAM_FLOAT(amount);
PARAM_INT(x1);
PARAM_INT(y1);
PARAM_INT(w);
PARAM_INT(h);
screen->Dim(color, float(amount), x1, y1, w, h);
return 0;
}
//==========================================================================
//
// DCanvas :: GetScreenshotBuffer