diff options
author | Filippos Karapetis | 2015-01-10 21:32:15 +0200 |
---|---|---|
committer | Filippos Karapetis | 2015-01-10 21:32:15 +0200 |
commit | 899cf4813c7e009e1dbee56be8ad10d20650cf10 (patch) | |
tree | 32bb9645bdfd07d1bc362704ae1b6c17fd05a6b8 /engines/zvision/zvision.h | |
parent | 616b34e629686d7bfc3e5a74658c6a76b4a45c94 (diff) | |
download | scummvm-rg350-899cf4813c7e009e1dbee56be8ad10d20650cf10.tar.gz scummvm-rg350-899cf4813c7e009e1dbee56be8ad10d20650cf10.tar.bz2 scummvm-rg350-899cf4813c7e009e1dbee56be8ad10d20650cf10.zip |
ZVISION: Change screen resolution for the hires DVD videos to 800x600
Also, this hooks up the MPEG-PS decoder, but only if libmpeg2 is
compiled in. The DVD videos are still disabled until AC3 audio support
is implemented.
The hires DVD videos are encoded a 720x480 resolution, with double the
frame rate of the lowres ones (29.97FPS up from 15FPS)
Diffstat (limited to 'engines/zvision/zvision.h')
-rw-r--r-- | engines/zvision/zvision.h | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/engines/zvision/zvision.h b/engines/zvision/zvision.h index a3bcb384d1..854cd77bb8 100644 --- a/engines/zvision/zvision.h +++ b/engines/zvision/zvision.h @@ -67,6 +67,27 @@ class TextRenderer; class Subtitle; class MidiManager; +enum { + WINDOW_WIDTH = 640, + WINDOW_HEIGHT = 480, + + HIRES_WINDOW_WIDTH = 800, + HIRES_WINDOW_HEIGHT = 600, + + // Zork nemesis working window sizes + ZNM_WORKING_WINDOW_WIDTH = 512, + ZNM_WORKING_WINDOW_HEIGHT = 320, + + // ZGI working window sizes + ZGI_WORKING_WINDOW_WIDTH = 640, + ZGI_WORKING_WINDOW_HEIGHT = 344, + + ROTATION_SCREEN_EDGE_OFFSET = 60, + MAX_ROTATION_SPEED = 400, // Pixels per second + + KEYBUF_SIZE = 20 +}; + class ZVision : public Engine { public: ZVision(OSystem *syst, const ZVisionGameDescription *gameDesc); @@ -83,24 +104,6 @@ public: const Graphics::PixelFormat _screenPixelFormat; private: - enum { - WINDOW_WIDTH = 640, - WINDOW_HEIGHT = 480, - - // Zork nemesis working window sizes - ZNM_WORKING_WINDOW_WIDTH = 512, - ZNM_WORKING_WINDOW_HEIGHT = 320, - - // ZGI working window sizes - ZGI_WORKING_WINDOW_WIDTH = 640, - ZGI_WORKING_WINDOW_HEIGHT = 344, - - ROTATION_SCREEN_EDGE_OFFSET = 60, - MAX_ROTATION_SPEED = 400, // Pixels per second - - KEYBUF_SIZE = 20 - }; - Console *_console; const ZVisionGameDescription *_gameDescription; @@ -195,6 +198,7 @@ public: } void initScreen(); + void initHiresScreen(); /** * Play a video until it is finished. This is a blocking call. It will call |