IPHONE: Use VideoContext in OSystem_IPHONE.
This commit is contained in:
parent
ab15435ad0
commit
99ffbfedbc
4 changed files with 95 additions and 101 deletions
|
@ -55,18 +55,21 @@ SoundProc OSystem_IPHONE::s_soundCallback = NULL;
|
|||
void *OSystem_IPHONE::s_soundParam = NULL;
|
||||
|
||||
OSystem_IPHONE::OSystem_IPHONE() :
|
||||
_mixer(NULL), _gameScreenRaw(NULL),
|
||||
_overlayVisible(false), _gameScreenConverted(NULL),
|
||||
_mouseHeight(0), _mouseWidth(0), _mouseBuf(NULL), _lastMouseTap(0), _queuedEventTime(0),
|
||||
_mixer(NULL), _gameScreenRaw(NULL), _gameScreenConverted(NULL),
|
||||
_mouseBuf(NULL), _lastMouseTap(0), _queuedEventTime(0),
|
||||
_mouseNeedTextureUpdate(false), _secondaryTapped(false), _lastSecondaryTap(0),
|
||||
_screenOrientation(kScreenOrientationFlippedLandscape), _mouseClickAndDragEnabled(false),
|
||||
_gestureStartX(-1), _gestureStartY(-1), _fullScreenIsDirty(false), _fullScreenOverlayIsDirty(false),
|
||||
_mouseDirty(false), _timeSuspended(0), _lastDragPosX(-1), _lastDragPosY(-1), _screenChangeCount(0),
|
||||
_overlayHeight(0), _overlayWidth(0), _overlayBuffer(0), _mouseCursorPaletteEnabled(false),
|
||||
_currentGraphicsMode(kGraphicsModeLinear) {
|
||||
_overlayBuffer(0), _mouseCursorPaletteEnabled(false) {
|
||||
_queuedInputEvent.type = Common::EVENT_INVALID;
|
||||
_touchpadModeEnabled = !iPhone_isHighResDevice();
|
||||
_fsFactory = new POSIXFilesystemFactory();
|
||||
|
||||
_videoContext.mouseWidth = _videoContext.mouseHeight = 0;
|
||||
_videoContext.overlayWidth = _videoContext.overlayHeight = 0;
|
||||
_videoContext.overlayVisible = false;
|
||||
_videoContext.graphicsMode = kGraphicsModeLinear;
|
||||
}
|
||||
|
||||
OSystem_IPHONE::~OSystem_IPHONE() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue