Home
last modified time | relevance | path

Searched refs:_sceneWidth (Results 1 – 25 of 85) sorted by relevance

1234

/dports/games/scummvm/scummvm-2.5.1/engines/sludge/
H A Dbackdrop.cpp112 uint w = p->wrapS ? _sceneWidth : p->surface.w; in drawParallax()
119 for (uint x = 0; x < _sceneWidth; x += p->surface.w) { in drawParallax()
214 _sceneWidth = x; in resizeBackdrop()
272 if (x2 > (int)_sceneWidth) in blankScreen()
273 x2 = (int)_sceneWidth; in blankScreen()
286 blankScreen(0, 0, _sceneWidth, _sceneHeight); in blankAllScreen()
353 _lightMap.create(_sceneWidth, _sceneWidth, *_vm->getScreenPixelFormat()); in loadLightMap()
360 if (tmp.w != (int16)_sceneWidth || tmp.h != (int16)_sceneHeight) { in loadLightMap()
426 x = (_sceneWidth - realPicWidth) >> 1; in loadHSI()
455 x = (_sceneWidth - realPicWidth) >> 1; in mixHSI()
[all …]
H A Dgraphics.cpp48 _winWidth = _sceneWidth = 640; in init()
186 else if (_cameraX > _sceneWidth - (float)_winWidth / _cameraZoom) in aimCamera()
187 _cameraX = _sceneWidth - (float)_winWidth / _cameraZoom; in aimCamera()
199 if ((float)_winWidth / _cameraZoom > _sceneWidth) in zoomCamera()
200 _cameraZoom = (float)_winWidth / _sceneWidth; in zoomCamera()
H A Dzbuffer.cpp112 if (width != _sceneWidth || height != _sceneHeight) { in setZBuffer()
113 …p = Common::String::format("Z-w: %d Z-h:%d w: %d, h:%d", width, height, _sceneWidth, _sceneHeight); in setZBuffer()
128 int picWidth = _sceneWidth; in setZBuffer()
141 for (uint x = 0; x < _sceneWidth; x++) { in setZBuffer()
H A Dbg_effects.cpp276 sourceLine[y] = new byte[(s_matrixEffectWidth - 1 + _sceneWidth) * 4]; in blurScreen()
284 …Line(sourceLine[y], (byte *)_origBackdropSurface.getBasePtr(0, miniY), overlapOnLeft, _sceneWidth); in blurScreen()
302 …Line(sourceLine[h], (byte *)_origBackdropSurface.getBasePtr(0, miniY), overlapOnLeft, _sceneWidth); in blurScreen()
304 for (x = 0; x < (int)_sceneWidth; x++) { in blurScreen()
H A Dtransition.cpp132 for (uint x = 0; x < _sceneWidth; x += _transitionTexture->w) in transitionDisolve()
169 for (uint x = 0; x < _sceneWidth; x += _transitionTexture->w) in transitionTV()
198 for (uint x = 0; x < _sceneWidth; x += _transitionTexture->w) in transitionBlinds()
H A Dthumbnail.cpp114 if (fileWidth + atX > (int)_sceneWidth) in showThumbnail()
115 fileWidth = _sceneWidth - atX; in showThumbnail()
H A Dfreeze.cpp57 newFreezer->sceneWidth = _sceneWidth; in freeze()
115 _sceneWidth = _frozenStuff->sceneWidth; in unfreeze()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sludge/
H A Dbackdrop.cpp227 _backdropSurface.create(_sceneWidth, _sceneHeight, *_vm->getScreenPixelFormat()); in reserveBackdrop()
241 _sceneWidth = x; in resizeBackdrop()
299 if (x2 > (int)_sceneWidth) in blankScreen()
300 x2 = (int)_sceneWidth; in blankScreen()
313 blankScreen(0, 0, _sceneWidth, _sceneHeight); in blankAllScreen()
380 _lightMap.create(_sceneWidth, _sceneWidth, *_vm->getScreenPixelFormat()); in loadLightMap()
387 if (tmp.w != _sceneWidth || tmp.h != _sceneHeight) { in loadLightMap()
464 x = (_sceneWidth - realPicWidth) >> 1; in loadHSI()
493 x = (_sceneWidth - realPicWidth) >> 1; in mixHSI()
496 if (x < 0 || x + realPicWidth > _sceneWidth || y < 0 || y + realPicHeight > _sceneHeight) in mixHSI()
[all …]
H A Dgraphics.cpp49 _winWidth = _sceneWidth = 640; in init()
208 else if (_cameraX > _sceneWidth - (float)_winWidth / _cameraZoom) in aimCamera()
209 _cameraX = _sceneWidth - (float)_winWidth / _cameraZoom; in aimCamera()
221 if ((float)_winWidth / _cameraZoom > _sceneWidth) in zoomCamera()
222 _cameraZoom = (float)_winWidth / _sceneWidth; in zoomCamera()
H A Dzbuffer.cpp112 if (width != _sceneWidth || height != _sceneHeight) { in setZBuffer()
113 …p = Common::String::format("Z-w: %d Z-h:%d w: %d, h:%d", width, height, _sceneWidth, _sceneHeight); in setZBuffer()
128 int picWidth = _sceneWidth; in setZBuffer()
139 for (uint x = 0; x < _sceneWidth; x++) { in setZBuffer()
H A Dthumbnail.cpp118 if (fileWidth + atX > (int)_sceneWidth) in showThumbnail()
119 fileWidth = _sceneWidth - atX; in showThumbnail()
H A Dfreeze.cpp63 newFreezer->sceneWidth = _sceneWidth; in freeze()
120 _sceneWidth = _frozenStuff->sceneWidth; in unfreeze()
/dports/games/scummvm/scummvm-2.5.1/engines/toltecs/
H A Dtoltecs.cpp68 _sceneWidth = _sceneHeight = 0; in ToltecsEngine()
137 _sceneWidth = 0; in run()
269 _sceneWidth = READ_LE_UINT16(scene + 6); in loadScene()
277 byte *destEnd = destp + _sceneWidth * _sceneHeight; in loadScene()
290 debug(0, "_sceneWidth = %d; _sceneHeight = %d", _sceneWidth, _sceneHeight); in loadScene()
503 if (_newCameraX != _sceneWidth - 640) { in scrollCameraRight()
504 if (_sceneWidth - 640 < delta + _newCameraX) in scrollCameraRight()
505 delta += (_sceneWidth - 640) - (delta + _newCameraX); in scrollCameraRight()
H A Drender.cpp155 byte *srcp = _vm->_screen->_backScreen + _vm->_cameraX + _vm->_cameraY * _vm->_sceneWidth; in update()
156 int16 w = MIN<int16>(640, _vm->_sceneWidth); in update()
161 srcp += _vm->_sceneWidth; in update()
288 …>_backScreen + (_vm->_cameraX + rects[i].left) + (_vm->_cameraY + rects[i].top) * _vm->_sceneWidth; in restoreDirtyBackground()
294 srcp += _vm->_sceneWidth; in restoreDirtyBackground()
H A Dmovie.cpp56 int16 savedSceneWidth = _vm->_sceneWidth; in playMovie()
83 _vm->_sceneWidth = 640; in playMovie()
198 _vm->_sceneWidth = savedSceneWidth; in playMovie()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/fullpipe/scenes/
H A Dscene21.cpp110 …(g_fp->_sceneRect.right - cmd->_sceneClickX < 47 && g_fp->_sceneRect.right < g_fp->_sceneWidth - 1) in sceneHandler21()
123 if (x <= g_fp->_sceneWidth - 460) { in sceneHandler21()
127 g_fp->_currentScene->_x = g_fp->_sceneWidth - x; in sceneHandler21()
H A Dscene22.cpp350 …(g_fp->_sceneRect.right - cmd->_sceneClickX < 47 && g_fp->_sceneRect.right < g_fp->_sceneWidth - 1) in sceneHandler22()
374 if (x <= g_fp->_sceneWidth - 460) { in sceneHandler22()
378 g_fp->_currentScene->_x = g_fp->_sceneWidth - x; in sceneHandler22()
/dports/games/scummvm/scummvm-2.5.1/engines/ngi/fullpipe/
H A Dscene21.cpp110 …nmi->_sceneRect.right - cmd->_sceneClickX < 47 && g_nmi->_sceneRect.right < g_nmi->_sceneWidth - 1) in sceneHandler21()
122 if (x <= g_nmi->_sceneWidth - 460) { in sceneHandler21()
126 g_nmi->_currentScene->_x = g_nmi->_sceneWidth - x; in sceneHandler21()
H A Dscene22.cpp350 …nmi->_sceneRect.right - cmd->_sceneClickX < 47 && g_nmi->_sceneRect.right < g_nmi->_sceneWidth - 1) in sceneHandler22()
374 if (x <= g_nmi->_sceneWidth - 460) { in sceneHandler22()
378 g_nmi->_currentScene->_x = g_nmi->_sceneWidth - x; in sceneHandler22()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/toltecs/
H A Dtoltecs.cpp92 _sceneWidth = 0; in run()
225 _sceneWidth = READ_LE_UINT16(scene + 6); in loadScene()
233 byte *destEnd = destp + _sceneWidth * _sceneHeight; in loadScene()
246 debug(0, "_sceneWidth = %d; _sceneHeight = %d", _sceneWidth, _sceneHeight); in loadScene()
463 if (_newCameraX != _sceneWidth - 640) { in scrollCameraRight()
464 if (_sceneWidth - 640 < delta + _newCameraX) in scrollCameraRight()
465 delta += (_sceneWidth - 640) - (delta + _newCameraX); in scrollCameraRight()
H A Drender.cpp155 byte *srcp = _vm->_screen->_backScreen + _vm->_cameraX + _vm->_cameraY * _vm->_sceneWidth; in update()
156 int16 w = MIN<int16>(640, _vm->_sceneWidth); in update()
161 srcp += _vm->_sceneWidth; in update()
286 …>_backScreen + (_vm->_cameraX + rects[i].left) + (_vm->_cameraY + rects[i].top) * _vm->_sceneWidth; in restoreDirtyBackground()
292 srcp += _vm->_sceneWidth; in restoreDirtyBackground()
H A Dmovie.cpp56 int16 savedSceneWidth = _vm->_sceneWidth; in playMovie()
83 _vm->_sceneWidth = 640; in playMovie()
198 _vm->_sceneWidth = savedSceneWidth; in playMovie()
H A Dsaveload.cpp112 out->writeUint16LE(_sceneWidth); in savegame()
166 _sceneWidth = in->readUint16LE(); in loadgame()
/dports/games/scummvm/scummvm-2.5.1/engines/petka/interfaces/
H A Dinterface.cpp127 _savedSceneWidth = sys->_sceneWidth; in start()
130 sys->_sceneWidth = 640; in start()
142 sys->_sceneWidth = _savedSceneWidth; in stop()
H A Dmain.cpp103 sys->_sceneWidth = MAX<int>(surface->w, 640); in loadRoom()
288 …if (xOff != reqOffset && ((xOff != sys->_sceneWidth - 640 && xOff < reqOffset) || (xOff > 0 && xOf… in update()
296 sys->_xOffset = CLIP(xOff, 0, sys->_sceneWidth - 640); in update()

1234