Home
last modified time | relevance | path

Searched refs:scriptWidth (Results 1 – 25 of 28) sorted by relevance

12

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sci/graphics/
H A Dtext32.h142 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in scaleRect() local
144 const Ratio scaleX(_xResolution, scriptWidth); in scaleRect()
194 const int scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in scaleUpWidth() local
195 return (value * scriptWidth + _xResolution - 1) / _xResolution; in scaleUpWidth()
H A Dtext32.cpp76 int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in createFontBitmap() local
79 Ratio scaleX(_xResolution, scriptWidth); in createFontBitmap()
118 int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in createFontBitmap() local
121 mulinc(_textRect, Ratio(_xResolution, scriptWidth), Ratio(_yResolution, scriptHeight)); in createFontBitmap()
569 int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in getTextSize() local
572 maxWidth = maxWidth * _xResolution / scriptWidth; in getTextSize()
622 result.right = ((result.right - 1) * scriptWidth + _xResolution - 1) / _xResolution + 1; in getTextSize()
641 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in getTextCount() local
646 mulinc(scaledRect, Ratio(_xResolution, scriptWidth), Ratio(_yResolution, scriptHeight)); in getTextCount()
H A Dscreen_item32.cpp254 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in calcRects() local
277 …int num = _scale.max * (_position.y - plane._vanishingPoint.y) / (scriptWidth - plane._vanishingPo… in calcRects()
300 const Ratio scriptToCelX(celObj._xResolution, scriptWidth); in calcRects()
325 if (scriptWidth == kLowResX) { in calcRects()
352 const Ratio scriptToScreenX = Ratio(screenWidth, scriptWidth); in calcRects()
588 const uint16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in getNowSeenRect() local
596 …int num = _scale.max * (_position.y - plane._vanishingPoint.y) / (scriptWidth - plane._vanishingPo… in getNowSeenRect()
617 const Ratio scriptToCelX(celObj._xResolution, scriptWidth); in getNowSeenRect()
634 if (scriptWidth == kLowResX) { in getNowSeenRect()
661 celToScriptX = Ratio(scriptWidth, celObj._xResolution); in getNowSeenRect()
H A Dpaint32.cpp129 const uint16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in makeLineBitmap() local
138 outRect.clip(Common::Rect(scriptWidth, scriptHeight)); in makeLineBitmap()
141 …eBitmap(&bitmapId, outRect.width(), outRect.height(), skipColor, 0, 0, scriptWidth, scriptHeight, … in makeLineBitmap()
H A Dcursor32.cpp159 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in setRestrictedArea() local
162 mulru(_restrictedArea, Ratio(screenWidth, scriptWidth), Ratio(screenHeight, scriptHeight), 0); in setRestrictedArea()
318 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in setPosition() local
324 newPosition.x = (position.x * Ratio(screenWidth, scriptWidth)).toInt(); in setPosition()
H A Dcache.cpp90 return getView(viewId)->getCelInfo(loopNo, celNo)->scriptWidth; in kernelViewGetCelWidth()
H A Dview.h32 int16 scriptWidth, scriptHeight; member
H A Dcontrols32.cpp394 const uint16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in ScrollWindow() local
398 …mulinc(bitmapRect, Ratio(_gfxText32._xResolution, scriptWidth), Ratio(_gfxText32._yResolution, scr… in ScrollWindow()
H A Dview.cpp205 cel->scriptWidth = cel->width = celData.getUint16LEAt(0); in initData()
312 cel->scriptWidth = cel->width = celData.getInt16SEAt(0); in initData()
H A Dvideo32.cpp323 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in play() local
328 const int16 scaledWidth = (_decoder->getWidth() * Ratio(screenWidth, scriptWidth)).toInt(); in play()
H A Dplane32.cpp142 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in convertGameRectToPlaneRect() local
145 const Ratio ratioX = Ratio(screenWidth, scriptWidth); in convertGameRectToPlaneRect()
/dports/games/scummvm/scummvm-2.5.1/engines/sci/graphics/
H A Dtext32.h148 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in scaleRect() local
150 const Ratio scaleX(_xResolution, scriptWidth); in scaleRect()
205 const int scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in scaleUpWidth() local
206 return (value * scriptWidth + _xResolution - 1) / _xResolution; in scaleUpWidth()
H A Dtext32.cpp82 int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in createFontBitmap() local
85 Ratio scaleX(_xResolution, scriptWidth); in createFontBitmap()
124 int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in createFontBitmap() local
127 mulinc(_textRect, Ratio(_xResolution, scriptWidth), Ratio(_yResolution, scriptHeight)); in createFontBitmap()
181 int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in createTitledFontBitmap() local
183 Ratio scaleX(_xResolution, scriptWidth); in createTitledFontBitmap()
705 int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in getTextSize() local
708 maxWidth = maxWidth * _xResolution / scriptWidth; in getTextSize()
763 result.right = ((result.right - 1) * scriptWidth + _xResolution - 1) / _xResolution + 1; in getTextSize()
782 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in getTextCount() local
[all …]
H A Dscreen_item32.cpp254 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in calcRects() local
277 …int num = _scale.max * (_position.y - plane._vanishingPoint.y) / (scriptWidth - plane._vanishingPo… in calcRects()
300 const Ratio scriptToCelX(celObj._xResolution, scriptWidth); in calcRects()
325 if (scriptWidth == kLowResX) { in calcRects()
352 const Ratio scriptToScreenX = Ratio(screenWidth, scriptWidth); in calcRects()
590 const uint16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in getNowSeenRect() local
598 …int num = _scale.max * (_position.y - plane._vanishingPoint.y) / (scriptWidth - plane._vanishingPo… in getNowSeenRect()
619 const Ratio scriptToCelX(celObj._xResolution, scriptWidth); in getNowSeenRect()
636 if (scriptWidth == kLowResX) { in getNowSeenRect()
663 celToScriptX = Ratio(scriptWidth, celObj._xResolution); in getNowSeenRect()
H A Dpaint32.cpp129 const uint16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in makeLineBitmap() local
138 outRect.clip(Common::Rect(scriptWidth, scriptHeight)); in makeLineBitmap()
141 …eBitmap(&bitmapId, outRect.width(), outRect.height(), skipColor, 0, 0, scriptWidth, scriptHeight, … in makeLineBitmap()
H A Dcursor32.cpp159 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in setRestrictedArea() local
162 mulru(_restrictedArea, Ratio(screenWidth, scriptWidth), Ratio(screenHeight, scriptHeight), 0); in setRestrictedArea()
274 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in setPosition() local
280 newPosition.x = (position.x * Ratio(screenWidth, scriptWidth)).toInt(); in setPosition()
H A Dcache.cpp94 return getView(viewId)->getCelInfo(loopNo, celNo)->scriptWidth; in kernelViewGetCelWidth()
H A Dview.h32 int16 scriptWidth, scriptHeight; member
H A Dvideo32.cpp325 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in play() local
330 const int16 scaledWidth = (_decoder->getWidth() * Ratio(screenWidth, scriptWidth)).toInt(); in play()
523 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in play() local
528 const int16 scaledWidth = (_decoder->getWidth() * Ratio(screenWidth, scriptWidth)).toInt(); in play()
H A Dcontrols32.cpp501 const uint16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in ScrollWindow() local
505 …mulinc(bitmapRect, Ratio(_gfxText32._xResolution, scriptWidth), Ratio(_gfxText32._yResolution, scr… in ScrollWindow()
H A Dview.cpp208 cel->scriptWidth = cel->width = celData.getUint16LEAt(0); in initData()
314 cel->scriptWidth = cel->width = celData.getInt16SEAt(0); in initData()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sci/video/
H A Drobot_decoder.cpp680 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in showFrame() local
685 if (scriptWidth == kLowResX && scriptHeight == kLowResY) { in showFrame()
1462 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in createCel5() local
1468 if (scriptWidth == kLowResX && scriptHeight == kLowResY) { in createCel5()
1486 …%d s: %d/%d %d/%d x: %d y: %d", celPosition.x, celPosition.y, lowResX, scriptWidth, lowResY, scrip… in createCel5()
/dports/games/scummvm/scummvm-2.5.1/engines/sci/video/
H A Drobot_decoder.cpp687 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in showFrame() local
692 if (scriptWidth == kLowResX && scriptHeight == kLowResY) { in showFrame()
1469 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in createCel5() local
1475 if (scriptWidth == kLowResX && scriptHeight == kLowResY) { in createCel5()
1493 …%d s: %d/%d %d/%d x: %d y: %d", celPosition.x, celPosition.y, lowResX, scriptWidth, lowResY, scrip… in createCel5()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sci/engine/
H A Dkvideo.cpp465 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in kPlayVMDSetBlackoutArea() local
471 blackoutArea.right = MIN<int16>(scriptWidth, argv[2].toSint16() + 1); in kPlayVMDSetBlackoutArea()
/dports/games/scummvm/scummvm-2.5.1/engines/sci/engine/
H A Dkvideo.cpp477 const int16 scriptWidth = g_sci->_gfxFrameout->getScriptWidth(); in kPlayVMDSetBlackoutArea() local
483 blackoutArea.right = MIN<int16>(scriptWidth, argv[2].toSint16() + 1); in kPlayVMDSetBlackoutArea()

12