diff options
author | Eugene Sandulenko | 2006-05-17 23:52:45 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-05-17 23:52:45 +0000 |
commit | 14ec3f45fa08a0c0071693f4094fc088eb0062b5 (patch) | |
tree | 87e2af334bd1503eacc55c71cd5ccb94e5eb5751 /graphics/animation.h | |
parent | 65091f7370ee118b8f99c6106d8cad1fd0ee719e (diff) | |
download | scummvm-rg350-14ec3f45fa08a0c0071693f4094fc088eb0062b5.tar.gz scummvm-rg350-14ec3f45fa08a0c0071693f4094fc088eb0062b5.tar.bz2 scummvm-rg350-14ec3f45fa08a0c0071693f4094fc088eb0062b5.zip |
- Heavily modified patch #1214784: "Disable overlay scaling"
- Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes
is applied as is. It lacks resolution switch on-the-fly.
- GUI widgets are repositioned on the fly and use most space, even aspect
ratio corrected screen is used without scaling
- Heavy tesing is required, but works for me in all cases except for bug
#1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more
work.
- I probavly broke some backend or two
svn-id: r22505
Diffstat (limited to 'graphics/animation.h')
-rw-r--r-- | graphics/animation.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/animation.h b/graphics/animation.h index 9b7f49352c..42c1c899f3 100644 --- a/graphics/animation.h +++ b/graphics/animation.h @@ -78,6 +78,10 @@ protected: const int _movieWidth; const int _movieHeight; +#ifndef BACKEND_8BIT + int _movieScale; +#endif + Audio::Mixer *_snd; OSystem *_sys; @@ -141,6 +145,9 @@ protected: virtual void setPalette(byte *pal) = 0; #else void plotYUV(int width, int height, byte *const *dat); + void plotYUV1x(int width, int height, byte *const *dat); + void plotYUV2x(int width, int height, byte *const *dat); + void plotYUV3x(int width, int height, byte *const *dat); #endif }; |