mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-25 11:15:00 +00:00
DIRECTOR: Implement kTransCenterOutSquare
This commit is contained in:
parent
e01fe2a2c4
commit
5f8d882172
@ -187,6 +187,15 @@ void Frame::playTransition(Score *score) {
|
||||
rfrom = rto;
|
||||
break;
|
||||
|
||||
case kTransCenterOutSquare: // 9
|
||||
t.ypos += t.yStepSize;
|
||||
rto.setHeight(t.ypos * 2);
|
||||
t.xpos += t.xStepSize;
|
||||
rto.setWidth(t.xpos * 2);
|
||||
rto.moveTo(clipRect.width() / 2 - t.xpos, clipRect.height() / 2 - t.ypos);
|
||||
rfrom = rto;
|
||||
break;
|
||||
|
||||
case kTransCoverDown: // 29
|
||||
rto.setHeight(clipRect.height());
|
||||
rto.moveTo(0, -clipRect.height() + t.yStepSize * i);
|
||||
|
Loading…
Reference in New Issue
Block a user