diff options
author | Andre Heider | 2009-08-22 08:49:23 +0000 |
---|---|---|
committer | Andre Heider | 2009-08-22 08:49:23 +0000 |
commit | 5b2a1a766212d44ef4bc7329bd2e59f9f7f0b5ce (patch) | |
tree | 85fc99c6ace171a4057f752c325460f9cfe55e14 /backends/platform/wii/osystem.h | |
parent | 66d8adef9f875be8fc82e2fd305cbadc22ed02a6 (diff) | |
download | scummvm-rg350-5b2a1a766212d44ef4bc7329bd2e59f9f7f0b5ce.tar.gz scummvm-rg350-5b2a1a766212d44ef4bc7329bd2e59f9f7f0b5ce.tar.bz2 scummvm-rg350-5b2a1a766212d44ef4bc7329bd2e59f9f7f0b5ce.zip |
16bit support for the Wii port
svn-id: r43631
Diffstat (limited to 'backends/platform/wii/osystem.h')
-rw-r--r-- | backends/platform/wii/osystem.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/backends/platform/wii/osystem.h b/backends/platform/wii/osystem.h index 2eb53f26a3..72263af5a8 100644 --- a/backends/platform/wii/osystem.h +++ b/backends/platform/wii/osystem.h @@ -75,6 +75,11 @@ private: u16 _currentWidth, _currentHeight; s32 _activeGraphicsMode; +#ifdef USE_RGB_COLOR + const Graphics::PixelFormat _texturePF; + Graphics::PixelFormat _screenPF; + Graphics::PixelFormat _cursorPF; +#endif bool _fullscreen; @@ -82,7 +87,7 @@ private: s32 _mouseX, _mouseY; u32 _mouseWidth, _mouseHeight; s32 _mouseHotspotX, _mouseHotspotY; - u8 _mouseKeyColor; + u16 _mouseKeyColor; u8 *_mouseCursor; bool _kbd_active; @@ -119,6 +124,10 @@ public: virtual const GraphicsMode *getSupportedGraphicsModes() const; virtual int getDefaultGraphicsMode() const; virtual bool setGraphicsMode(int mode); +#ifdef USE_RGB_COLOR + virtual Graphics::PixelFormat getScreenFormat() const; + virtual Common::List<Graphics::PixelFormat> getSupportedFormats(); +#endif virtual int getGraphicsMode() const; virtual void initSize(uint width, uint height, const Graphics::PixelFormat *format); |