- final update of menu code from Raze.

This commit is contained in:
Christoph Oelckers 2020-10-09 22:44:34 +02:00
commit 4deb7593b5
11 changed files with 1431 additions and 1141 deletions

View file

@ -1553,3 +1553,11 @@ void V_CalcCleanFacs(int designwidth, int designheight, int realwidth, int realh
*cleanx = *cleany = std::min(realwidth / designwidth, realheight / designheight);
}
DEFINE_ACTION_FUNCTION(_Screen, SetOffset)
{
PARAM_PROLOGUE;
PARAM_FLOAT(x);
PARAM_FLOAT(y);
ACTION_RETURN_VEC2(twod->SetOffset(DVector2(x, y)));
}