mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 07:57:58 +00:00
- fixed: For cutscenes the alternative clean scaling factors need to be activated.
This setting was at odds with the internals of the intermission and summary screen handlers.
This commit is contained in:
parent
2397b9c117
commit
c5eec7b8bb
1 changed files with 4 additions and 0 deletions
|
@ -212,6 +212,7 @@ bool ScreenJobResponder(event_t* ev)
|
||||||
FInputEvent evt = ev;
|
FInputEvent evt = ev;
|
||||||
if (cutscene.runner)
|
if (cutscene.runner)
|
||||||
{
|
{
|
||||||
|
ScaleOverrider ovr(twod);
|
||||||
IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, OnEvent)
|
IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, OnEvent)
|
||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
@ -235,6 +236,7 @@ bool ScreenJobTick()
|
||||||
ticks++;
|
ticks++;
|
||||||
if (cutscene.runner)
|
if (cutscene.runner)
|
||||||
{
|
{
|
||||||
|
ScaleOverrider ovr(twod);
|
||||||
IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, OnTick)
|
IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, OnTick)
|
||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
@ -260,6 +262,7 @@ void ScreenJobDraw()
|
||||||
if (cutscene.runner)
|
if (cutscene.runner)
|
||||||
{
|
{
|
||||||
twod->ClearScreen();
|
twod->ClearScreen();
|
||||||
|
ScaleOverrider ovr(twod);
|
||||||
IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, RunFrame)
|
IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, RunFrame)
|
||||||
{
|
{
|
||||||
VMValue parm[] = { cutscene.runner, smoothratio };
|
VMValue parm[] = { cutscene.runner, smoothratio };
|
||||||
|
@ -278,6 +281,7 @@ bool ScreenJobValidate()
|
||||||
{
|
{
|
||||||
if (cutscene.runner)
|
if (cutscene.runner)
|
||||||
{
|
{
|
||||||
|
ScaleOverrider ovr(twod);
|
||||||
IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, Validate)
|
IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, Validate)
|
||||||
{
|
{
|
||||||
int res;
|
int res;
|
||||||
|
|
Loading…
Reference in a new issue