diff options
author | Johannes Schickel | 2012-02-23 02:25:26 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-23 02:25:26 +0100 |
commit | 99ffbfedbcee50d46c49fdd2f78a409a51c91e3b (patch) | |
tree | 6e5e313c80cb5117610ed1b628784d9e10bcf2a0 /backends/platform/iphone/osys_main.h | |
parent | ab15435ad0aac842ab8321b833cae4e7459df01d (diff) | |
download | scummvm-rg350-99ffbfedbcee50d46c49fdd2f78a409a51c91e3b.tar.gz scummvm-rg350-99ffbfedbcee50d46c49fdd2f78a409a51c91e3b.tar.bz2 scummvm-rg350-99ffbfedbcee50d46c49fdd2f78a409a51c91e3b.zip |
IPHONE: Use VideoContext in OSystem_IPHONE.
Diffstat (limited to 'backends/platform/iphone/osys_main.h')
-rw-r--r-- | backends/platform/iphone/osys_main.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/backends/platform/iphone/osys_main.h b/backends/platform/iphone/osys_main.h index e4b3d358d5..f654537ac6 100644 --- a/backends/platform/iphone/osys_main.h +++ b/backends/platform/iphone/osys_main.h @@ -59,15 +59,13 @@ protected: static SoundProc s_soundCallback; static void *s_soundParam; - int _currentGraphicsMode; - Audio::MixerImpl *_mixer; + VideoContext _videoContext; + Graphics::Surface _framebuffer; byte *_gameScreenRaw; OverlayColor *_overlayBuffer; - uint16 _overlayHeight; - uint16 _overlayWidth; uint16 *_gameScreenConverted; @@ -75,21 +73,14 @@ protected: uint16 _gamePalette[256]; // For use with the mouse texture uint16 _gamePaletteRGBA5551[256]; - bool _overlayVisible; - uint16 _screenWidth; - uint16 _screenHeight; struct timeval _startTime; uint32 _timeSuspended; - bool _mouseVisible; bool _mouseCursorPaletteEnabled; uint16 _mouseCursorPalette[256]; byte *_mouseBuf; byte _mouseKeyColor; - uint _mouseWidth, _mouseHeight; - uint _mouseX, _mouseY; - int _mouseHotspotX, _mouseHotspotY; bool _mouseDirty; bool _mouseNeedTextureUpdate; long _lastMouseDown; |