/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/n64/ |
H A D | osys_n64_base.cpp | 66 _screenWidth = 320; in OSystem_N64() 259 _screenWidth = 320; in switchGraphicModeId() 272 _screenWidth = 320; in switchGraphicModeId() 285 _screenWidth = 320; in switchGraphicModeId() 298 _screenWidth = 320; in switchGraphicModeId() 311 _screenWidth = 320; in switchGraphicModeId() 325 _screenWidth = 320; in switchGraphicModeId() 356 return _screenWidth; in getWidth() 462 w = _screenWidth - x; in copyRectToScreen() 485 dst_pal += _screenWidth; in copyRectToScreen() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/backends/platform/n64/ |
H A D | osys_n64_base.cpp | 67 _screenWidth = 320; in OSystem_N64() 243 _screenWidth = 320; in switchGraphicModeId() 256 _screenWidth = 320; in switchGraphicModeId() 269 _screenWidth = 320; in switchGraphicModeId() 282 _screenWidth = 320; in switchGraphicModeId() 295 _screenWidth = 320; in switchGraphicModeId() 309 _screenWidth = 320; in switchGraphicModeId() 340 return _screenWidth; in getWidth() 446 w = _screenWidth - x; in copyRectToScreen() 469 dst_pal += _screenWidth; in copyRectToScreen() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ags/plugins/ags_creditz/ |
H A D | ags_creditz1.cpp | 43 _engine->GetScreenDimensions(&_screenWidth, in AGS_EngineStartup() 86 xpos = (_screenWidth - creditW) / 2; in SetCredit() 106 xpos = (_screenWidth - gfx->w) / 2; in SetCreditImage() 130 if (_screenWidth == 320) { in ScrollCredits() 132 } else if (_screenWidth == 640) { in ScrollCredits() 186 x = (_screenWidth - creditW) / 2; in SetStaticCredit() 215 _engine->GetScreenDimensions(&_screenWidth, in StartEndStaticCredits() 219 _staticWidthMatches = _screenWidth == _staticScreenWidth; in StartEndStaticCredits() 265 _engine->GetScreenDimensions(&_screenWidth, in ShowStaticCredit() 269 _staticWidthMatches = _screenWidth == _staticScreenWidth; in ShowStaticCredit() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ags/plugins/ags_snow_rain/ |
H A D | weather.cpp | 72 _mParticles[i].x += _screenWidth; in Update() 74 if (_mParticles[i].x > _screenWidth - 1) in Update() 75 _mParticles[i].x -= _screenWidth; in Update() 79 _mParticles[i].x = ::AGS::g_vm->getRandomNumber(0x7fffffff) % _screenWidth; in Update() 87 _engine->MarkRegionDirty(0, 0, _screenWidth, _screenHeight); in Update() 111 _mParticles[i].x += _screenWidth; in UpdateWithDrift() 113 if (_mParticles[i].x > _screenWidth - 1) in UpdateWithDrift() 114 _mParticles[i].x -= _screenWidth; in UpdateWithDrift() 118 _mParticles[i].x = ::AGS::g_vm->getRandomNumber(0x7fffffff) % _screenWidth; in UpdateWithDrift() 128 _engine->MarkRegionDirty(0, 0, _screenWidth, _screenHeight); in UpdateWithDrift() [all …]
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Linux/ |
H A D | SdlRenderer.cpp | 79 SDL_SetWindowSize(_sdlWindow, _screenWidth, _screenHeight); in Init() 118 …if(_screenHeight != (uint32_t)screenSize.Height || _screenWidth != (uint32_t)screenSize.Width || _… in SetScreenSize() 128 _screenWidth = screenSize.Width; in SetScreenSize() 133 _screenBufferSize = _screenHeight*_screenWidth; in SetScreenSize() 188 SDL_Rect dest = {0, 0, (int)_screenWidth, (int)_screenHeight }; in Render() 217 SDL_Rect dest = { 0, 0, (int)_screenWidth, (int)_screenHeight }; in DrawPauseScreen() 225 …_largeFont->DrawString(_sdlRenderer, L"PAUSE", (int)(_screenWidth / 2 - size.x / 2), (int)(_screen… in DrawPauseScreen() 231 DrawString(message, _screenWidth - width - 20, _screenHeight - 40); in DrawPauseScreen()
|
/dports/games/openxcom/OpenXcom-1.0/src/Battlescape/ |
H A D | Camera.cpp | 41 … _mapsize_x(mapsize_x), _mapsize_y(mapsize_y), _mapsize_z(mapsize_z), _screenWidth(map->getWidth()… in Camera() 124 || (posX > (_screenWidth - SCROLL_BORDER) * action->getXScale()) in mouseRelease() 169 else if (posX > (_screenWidth - SCROLL_BORDER) * action->getXScale()) in mouseOver() 202 else if (posX > (_screenWidth - SCROLL_DIAGONAL_EDGE) * action->getXScale()) in mouseOver() 220 else if (posX > (_screenWidth - SCROLL_DIAGONAL_EDGE) * action->getXScale()) in mouseOver() 352 convertScreenToMap((_screenWidth / 2), (_visibleMapHeight / 2), &_center.x, &_center.y); in scrollXY() 379 convertScreenToMap((_screenWidth / 2), (_visibleMapHeight / 2), &_center.x, &_center.y); in jumpXY() 434 _mapOffset.x = -(screenPos.x - (_screenWidth / 2)); in centerOnPosition() 585 && screenPos.x <= _screenWidth + 24 in isOnScreen() 592 && screenPos.x <= _screenWidth - 10 in isOnScreen() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/lab/ |
H A D | image.cpp | 70 int destWidth = (imgDest) ? imgDest->_width : _vm->_graphics->_screenWidth; in blitBitmap() 118 if (x + clipWidth > _vm->_graphics->_screenWidth) in readScreenImage() 119 clipWidth = _vm->_graphics->_screenWidth - x; in readScreenImage() 126 byte *screen = _vm->_graphics->getCurrentDrawingBuffer() + y * _vm->_graphics->_screenWidth + x; in readScreenImage() 131 screen += _vm->_graphics->_screenWidth; in readScreenImage()
|
H A D | dispman.cpp | 58 _screenWidth = 0; in DisplayMan() 392 d += _screenWidth; in rectFill() 416 _vm->_system->copyRectToScreen(_displayBuffer, _screenWidth, 0, 0, _screenWidth, _screenHeight); in screenUpdate() 423 _screenWidth = 640; in createScreen() 426 _screenWidth = 320; in createScreen() 477 if (x1 + w > _screenWidth) in checkerBoardEffect() 478 w = _screenWidth - x1; in checkerBoardEffect() 501 d += _screenWidth; in checkerBoardEffect() 596 vgaTempLine += _screenWidth; in drawText() 784 imgSource._width = _screenWidth; in doTransWipe() [all …]
|
H A D | special.cpp | 187 for (int i = 0; i < _graphics->_screenWidth; i += 8) { in turnPage() 193 for (int i = (_graphics->_screenWidth - 8); i > 0; i -= 8) { in turnPage() 208 …_journalBackImage->blitBitmap(0, 0, nullptr, 0, 0, _graphics->_screenWidth, _graphics->_screenHeig… in drawJournal() 268 _journalBackImage->_width = _graphics->_screenWidth; in doJournal() 289 _graphics->rectFill(0, 0, _graphics->_screenWidth - 1, _graphics->_screenHeight - 1, 0); in doJournal() 314 _graphics->rectFill(0, 0, _graphics->_screenWidth - 1, textRect.bottom, 0); in drawMonText() 319 _graphics->rectFill(0, 0, _graphics->_screenWidth - 1, textRect.bottom, 0); in drawMonText() 472 _graphics->rectFill(0, 0, _graphics->_screenWidth - 1, _graphics->_screenHeight - 1, 0); in doMonitor()
|
/dports/games/scummvm/scummvm-2.5.1/engines/lab/ |
H A D | image.cpp | 70 int destWidth = (imgDest) ? imgDest->_width : _vm->_graphics->_screenWidth; in blitBitmap() 118 if (x + clipWidth > _vm->_graphics->_screenWidth) in readScreenImage() 119 clipWidth = _vm->_graphics->_screenWidth - x; in readScreenImage() 126 byte *screen = _vm->_graphics->getCurrentDrawingBuffer() + y * _vm->_graphics->_screenWidth + x; in readScreenImage() 131 screen += _vm->_graphics->_screenWidth; in readScreenImage()
|
H A D | dispman.cpp | 58 _screenWidth = 0; in DisplayMan() 392 d += _screenWidth; in rectFill() 416 _vm->_system->copyRectToScreen(_displayBuffer, _screenWidth, 0, 0, _screenWidth, _screenHeight); in screenUpdate() 422 _screenWidth = 640; in createScreen() 425 _screenWidth = 320; in createScreen() 476 if (x1 + w > _screenWidth) in checkerBoardEffect() 477 w = _screenWidth - x1; in checkerBoardEffect() 500 d += _screenWidth; in checkerBoardEffect() 595 vgaTempLine += _screenWidth; in drawText() 783 imgSource._width = _screenWidth; in doTransWipe() [all …]
|
H A D | special.cpp | 187 for (int i = 0; i < _graphics->_screenWidth; i += 8) { in turnPage() 193 for (int i = (_graphics->_screenWidth - 8); i > 0; i -= 8) { in turnPage() 208 …_journalBackImage->blitBitmap(0, 0, nullptr, 0, 0, _graphics->_screenWidth, _graphics->_screenHeig… in drawJournal() 268 _journalBackImage->_width = _graphics->_screenWidth; in doJournal() 289 _graphics->rectFill(0, 0, _graphics->_screenWidth - 1, _graphics->_screenHeight - 1, 0); in doJournal() 314 _graphics->rectFill(0, 0, _graphics->_screenWidth - 1, textRect.bottom, 0); in drawMonText() 319 _graphics->rectFill(0, 0, _graphics->_screenWidth - 1, textRect.bottom, 0); in drawMonText() 472 _graphics->rectFill(0, 0, _graphics->_screenWidth - 1, _graphics->_screenHeight - 1, 0); in doMonitor()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/ |
H A D | camera.cpp | 42 if (camera._mode != kFollowActorCameraMode || ABS(pos_x - camera._cur.x) > (_screenWidth / 2)) { in setCameraAt() 173 assert(camera._cur.x >= (_screenWidth / 2) && camera._cur.y >= (_screenHeight / 2)); in cameraMoved() 175 if (camera._cur.x < (_screenWidth / 2)) { in cameraMoved() 176 camera._cur.x = (_screenWidth / 2); in cameraMoved() 177 } else if (camera._cur.x > _roomWidth - (_screenWidth / 2)) { in cameraMoved() 178 camera._cur.x = _roomWidth - (_screenWidth / 2); in cameraMoved() 187 screenLeft = camera._cur.x - (_screenWidth / 2); in cameraMoved() 229 assert(camera._cur.x >= (_screenWidth / 2) && camera._cur.y >= (_screenHeight / 2)); in setCameraAt() 261 …if (ax > VAR(VAR_CAMERA_THRESHOLD_X) || ay > VAR(VAR_CAMERA_THRESHOLD_Y) || ax > (_screenWidth / 2… in setCameraFollows() 293 assert(camera._cur.x >= (_screenWidth / 2) && camera._cur.y >= (_screenHeight / 2)); in moveCamera()
|
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/ |
H A D | camera.cpp | 42 if (camera._mode != kFollowActorCameraMode || ABS(pos_x - camera._cur.x) > (_screenWidth / 2)) { in setCameraAt() 173 assert(camera._cur.x >= (_screenWidth / 2) && camera._cur.y >= (_screenHeight / 2)); in cameraMoved() 175 if (camera._cur.x < (_screenWidth / 2)) { in cameraMoved() 176 camera._cur.x = (_screenWidth / 2); in cameraMoved() 177 } else if (camera._cur.x > _roomWidth - (_screenWidth / 2)) { in cameraMoved() 178 camera._cur.x = _roomWidth - (_screenWidth / 2); in cameraMoved() 187 screenLeft = camera._cur.x - (_screenWidth / 2); in cameraMoved() 229 assert(camera._cur.x >= (_screenWidth / 2) && camera._cur.y >= (_screenHeight / 2)); in setCameraAt() 261 …if (ax > VAR(VAR_CAMERA_THRESHOLD_X) || ay > VAR(VAR_CAMERA_THRESHOLD_Y) || ax > (_screenWidth / 2… in setCameraFollows() 293 assert(camera._cur.x >= (_screenWidth / 2) && camera._cur.y >= (_screenHeight / 2)); in moveCamera()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/agos/ |
H A D | animation.cpp | 317 copyFrameToBuffer(_vm->getBackBuf(), 465, 222, _vm->_screenWidth); in nextFrame() 328 copyFrameToBuffer(_vm->getBackBuf(), 465, 222, _vm->_screenWidth); in nextFrame() 330 …Buffer(_vm->getBackBuf(), (_vm->_screenWidth - getWidth()) / 2, (_vm->_screenHeight - getHeight())… in nextFrame() 348 …copyFrameToBuffer((byte *)screen->getPixels(), (_vm->_screenWidth - getWidth()) / 2, (_vm->_screen… in processFrame() 486 copyFrameToBuffer(_vm->getBackBuf(), 465, 222, _vm->_screenWidth); in nextFrame() 488 …Buffer(_vm->getBackBuf(), (_vm->_screenWidth - getWidth()) / 2, (_vm->_screenHeight - getHeight())… in nextFrame() 499 …copyFrameToBuffer((byte *)screen->getPixels(), (_vm->_screenWidth - getWidth()) / 2, (_vm->_screen… in processFrame()
|
H A D | draw.cpp | 629 uint screenSize = 8 * _screenWidth; in scrollScreen() 639 dst += _screenHeight * _screenWidth - screenSize; in scrollScreen() 652 memmove(dst + 8, dst, _screenWidth * _scrollHeight - 8); in scrollScreen() 661 dst += _screenWidth - 8; in scrollScreen() 678 memcpy(dst, src, _screenWidth); in scrollScreen() 683 fillBackFromBackGround(_scrollHeight, _screenWidth); in scrollScreen() 732 memcpy(dst, src, _screenWidth); in fillBackFromFront() 743 memcpy(dst, src, _screenWidth); in fillBackGroundFromBack() 755 memcpy(dst, src, _screenWidth); in fillBackGroundFromFront() 790 memcpy(dst, src, _screenWidth); in displayScreen() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/agos/ |
H A D | animation.cpp | 317 copyFrameToBuffer(_vm->getBackBuf(), 465, 222, _vm->_screenWidth); in nextFrame() 328 copyFrameToBuffer(_vm->getBackBuf(), 465, 222, _vm->_screenWidth); in nextFrame() 330 …Buffer(_vm->getBackBuf(), (_vm->_screenWidth - getWidth()) / 2, (_vm->_screenHeight - getHeight())… in nextFrame() 348 …copyFrameToBuffer((byte *)screen->getPixels(), (_vm->_screenWidth - getWidth()) / 2, (_vm->_screen… in processFrame() 486 copyFrameToBuffer(_vm->getBackBuf(), 465, 222, _vm->_screenWidth); in nextFrame() 488 …Buffer(_vm->getBackBuf(), (_vm->_screenWidth - getWidth()) / 2, (_vm->_screenHeight - getHeight())… in nextFrame() 499 …copyFrameToBuffer((byte *)screen->getPixels(), (_vm->_screenWidth - getWidth()) / 2, (_vm->_screen… in processFrame()
|
H A D | draw.cpp | 629 uint screenSize = 8 * _screenWidth; in scrollScreen() 639 dst += _screenHeight * _screenWidth - screenSize; in scrollScreen() 652 memmove(dst + 8, dst, _screenWidth * _scrollHeight - 8); in scrollScreen() 661 dst += _screenWidth - 8; in scrollScreen() 678 memcpy(dst, src, _screenWidth); in scrollScreen() 683 fillBackFromBackGround(_scrollHeight, _screenWidth); in scrollScreen() 732 memcpy(dst, src, _screenWidth); in fillBackFromFront() 743 memcpy(dst, src, _screenWidth); in fillBackGroundFromBack() 755 memcpy(dst, src, _screenWidth); in fillBackGroundFromFront() 790 memcpy(dst, src, _screenWidth); in displayScreen() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/gob/minigames/geisha/ |
H A D | evilfish.cpp | 32 ANIObject(ani), _screenWidth(screenWidth), in EvilFish() 52 setPosition(left ? -width : _screenWidth, y); in enter() 98 if (!_shouldLeave && (x >= _screenWidth - width)) { in advance() 104 if (_shouldLeave && (x >= _screenWidth)) { in advance()
|
/dports/games/scummvm/scummvm-2.5.1/engines/gob/minigames/geisha/ |
H A D | evilfish.cpp | 32 ANIObject(ani), _screenWidth(screenWidth), in EvilFish() 52 setPosition(left ? -width : _screenWidth, y); in enter() 99 if (!_shouldLeave && (x >= _screenWidth - width)) { in advance() 105 if (_shouldLeave && (x >= _screenWidth)) { in advance()
|
/dports/games/scummvm/scummvm-2.5.1/engines/grim/ |
H A D | gfx_base.cpp | 51 _screenWidth(0), _screenHeight(0), in GfxBase() 174 int i1 = (_screenWidth * w - 1) / _screenWidth + 1; in createScreenshotBitmap() 179 int x0 = i * _screenWidth / w; in createScreenshotBitmap() 180 int x1 = ((i + 1) * _screenWidth - 1) / w + 1; in createScreenshotBitmap() 187 src.getRGBAt(y * _screenWidth + x, r, g, b); in createScreenshotBitmap()
|
/dports/games/residualvm/residualvm-0.3.1/engines/grim/ |
H A D | gfx_base.cpp | 51 _screenWidth(0), _screenHeight(0), in GfxBase() 181 int i1 = (_screenWidth * w - 1) / _screenWidth + 1; in createScreenshotBitmap() 186 int x0 = i * _screenWidth / w; in createScreenshotBitmap() 187 int x1 = ((i + 1) * _screenWidth - 1) / w + 1; in createScreenshotBitmap() 194 src.getRGBAt(y * _screenWidth + x, r, g, b); in createScreenshotBitmap()
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/ |
H A D | BaseRenderer.cpp | 107 …std::wstring wrappedText = WrapText(text, (float)(_screenWidth - textLeftMargin * 2 - 20), lineCou… in DrawToast() 143 DrawString(fpsString, _screenWidth - 125, yPos, 250, 235, 215); in ShowFpsCounter() 161 DrawString(ss.str(), _screenWidth - 95, yPos, 250, 235, 215); in ShowGameTimer() 168 DrawString(lagCounter, _screenWidth - 123, yPos, 250, 235, 215); in ShowLagCounter() 175 DrawString(lagCounter, _screenWidth - 146, yPos, 250, 235, 215); in ShowFrameCounter()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/gob/ |
H A D | map_v2.cpp | 108 _screenWidth = 640; in loadMapObjects() 112 _screenWidth = 640; in loadMapObjects() 116 _screenWidth = 320; in loadMapObjects() 128 _screenWidth = mapData.readSint16LE(); in loadMapObjects() 132 _mapWidth = _screenWidth / _tilesWidth; in loadMapObjects() 164 mapWidth = _screenWidth / _tilesWidth; in loadMapObjects()
|
/dports/games/scummvm/scummvm-2.5.1/engines/gob/ |
H A D | map_v2.cpp | 108 _screenWidth = 640; in loadMapObjects() 112 _screenWidth = 640; in loadMapObjects() 116 _screenWidth = 320; in loadMapObjects() 128 _screenWidth = mapData.readSint16LE(); in loadMapObjects() 132 _mapWidth = _screenWidth / _tilesWidth; in loadMapObjects() 164 mapWidth = _screenWidth / _tilesWidth; in loadMapObjects()
|