- final update of menu code from Raze.
This commit is contained in:
parent
fa4ab53e7c
commit
4deb7593b5
11 changed files with 1431 additions and 1141 deletions
|
|
@ -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)));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue