Home
last modified time | relevance | path

Searched refs:_screenHeight (Results 1 – 25 of 185) sorted by relevance

12345678

/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/n64/
H A Dosys_n64_base.cpp67 _screenHeight = 240; in OSystem_N64()
260 _screenHeight = 240; in switchGraphicModeId()
273 _screenHeight = 240; in switchGraphicModeId()
286 _screenHeight = 240; in switchGraphicModeId()
299 _screenHeight = 240; in switchGraphicModeId()
312 _screenHeight = 240; in switchGraphicModeId()
326 _screenHeight = 240; in switchGraphicModeId()
345 _gameHeight = _screenHeight; in initSize()
352 return _screenHeight; in getHeight()
465 if (h > _screenHeight - y) { in copyRectToScreen()
[all …]
/dports/games/scummvm/scummvm-2.5.1/backends/platform/n64/
H A Dosys_n64_base.cpp68 _screenHeight = 240; in OSystem_N64()
244 _screenHeight = 240; in switchGraphicModeId()
257 _screenHeight = 240; in switchGraphicModeId()
270 _screenHeight = 240; in switchGraphicModeId()
283 _screenHeight = 240; in switchGraphicModeId()
296 _screenHeight = 240; in switchGraphicModeId()
310 _screenHeight = 240; in switchGraphicModeId()
329 _gameHeight = _screenHeight; in initSize()
336 return _screenHeight; in getHeight()
449 if (h > _screenHeight - y) { in copyRectToScreen()
[all …]
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Linux/
H A DSdlRenderer.cpp79 SDL_SetWindowSize(_sdlWindow, _screenWidth, _screenHeight); in Init()
118 …if(_screenHeight != (uint32_t)screenSize.Height || _screenWidth != (uint32_t)screenSize.Width || _… in SetScreenSize()
127 _screenHeight = screenSize.Height; 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 …g(_sdlRenderer, L"PAUSE", (int)(_screenWidth / 2 - size.x / 2), (int)(_screenHeight / 2 - size.y /… in DrawPauseScreen()
231 DrawString(message, _screenWidth - width - 20, _screenHeight - 40); in DrawPauseScreen()
/dports/games/scummvm/scummvm-2.5.1/engines/ags/plugins/ags_snow_rain/
H A Dweather.cpp53 _mIsSnow(IsSnow), _screenWidth(scrWidth), _screenHeight(scrHeight), _engine(engine) { in Weather()
78 _mParticles[i].y = -1 * (::AGS::g_vm->getRandomNumber(0x7fffffff) % _screenHeight); in Update()
87 _engine->MarkRegionDirty(0, 0, _screenWidth, _screenHeight); in Update()
117 _mParticles[i].y = -1 * (::AGS::g_vm->getRandomNumber(0x7fffffff) % _screenHeight); in UpdateWithDrift()
128 _engine->MarkRegionDirty(0, 0, _screenWidth, _screenHeight); in UpdateWithDrift()
237 _mParticles[i].y = ::AGS::g_vm->getRandomNumber(0x7fffffff) % (_screenHeight * 2) - _screenHeight; in InitializeParticles()
337 if (_screenHeight > 0) { in SetBaseline()
338 ClipToRange(top, 0, _screenHeight); in SetBaseline()
339 ClipToRange(bottom, 0, _screenHeight); in SetBaseline()
H A Dags_snow_rain.cpp30 _rain(false, _screenWidth, _screenHeight, _engine), in AGSSnowRain()
31 _snow(true, _screenWidth, _screenHeight, _engine) { in AGSSnowRain()
98 _engine->GetScreenDimensions(&_screenWidth, &_screenHeight , &_screenColorDepth); in AGS_EngineOnEvent()
118 if (_screenHeight == 400) { in srSetBaseline()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/gob/
H A Dmap_v2.cpp38 _screenHeight = 200; in Map_v2()
109 _screenHeight = 400; in loadMapObjects()
113 _screenHeight = 200; in loadMapObjects()
117 _screenHeight = 200; in loadMapObjects()
129 _screenHeight = mapData.readSint16LE(); in loadMapObjects()
133 _mapHeight = _screenHeight / _tilesHeight; in loadMapObjects()
163 mapHeight = _screenHeight / _tilesHeight; in loadMapObjects()
/dports/games/scummvm/scummvm-2.5.1/engines/gob/
H A Dmap_v2.cpp38 _screenHeight = 200; in Map_v2()
109 _screenHeight = 400; in loadMapObjects()
113 _screenHeight = 200; in loadMapObjects()
117 _screenHeight = 200; in loadMapObjects()
129 _screenHeight = mapData.readSint16LE(); in loadMapObjects()
133 _mapHeight = _screenHeight / _tilesHeight; in loadMapObjects()
163 mapHeight = _screenHeight / _tilesHeight; in loadMapObjects()
/dports/games/openxcom/OpenXcom-1.0/src/Battlescape/
H A DCamera.cpp41 …e_y(mapsize_y), _mapsize_z(mapsize_z), _screenWidth(map->getWidth()), _screenHeight(map->getHeight… in Camera()
126 || (posY > (_screenHeight - SCROLL_BORDER) * action->getYScale())) in mouseRelease()
162 else if (posY > (_screenHeight - SCROLL_DIAGONAL_EDGE) * action->getYScale()) in mouseOver()
179 else if (posY > (_screenHeight - SCROLL_DIAGONAL_EDGE) * action->getYScale()) in mouseOver()
209 else if (posY > (_screenHeight- SCROLL_BORDER) * action->getYScale()) in mouseOver()
587 && screenPos.y <= _screenHeight + 12; in isOnScreen()
594 && screenPos.y <= _screenHeight - 10; in isOnScreen()
604 _screenHeight = _map->getHeight(); in resize()
/dports/games/residualvm/residualvm-0.3.1/engines/grim/
H A Dgfx_opengl.cpp133 _screenHeight = screenH; in setupScreen()
135 _scaleH = _screenHeight / (float)_gameHeight; in setupScreen()
144 int screenSize = _screenWidth * _screenHeight * 4; in setupScreen()
150 glViewport(0, 0, _screenWidth, _screenHeight); in setupScreen()
1193 glOrtho(0, _screenWidth, _screenHeight, 0, 0, 1); in drawBitmap()
1557 glRasterPos2i(x, _screenHeight - 1); in drawDepthBitmap()
1764 glRasterPos2i(0, _screenHeight - 1); in copyStoredToDisplay()
1790 int y = _screenHeight - yReal - h; in dimRegion()
1802 glViewport(0, 0, _screenWidth, _screenHeight); in dimRegion()
1849 y = _screenHeight - yReal; in dimRegion()
[all …]
H A Dgfx_base.cpp51 _screenWidth(0), _screenHeight(0), in GfxBase()
182 int j1 = (_screenHeight * h - 1) / _screenHeight + 1; in createScreenshotBitmap()
188 int y0 = j * _screenHeight / h; in createScreenshotBitmap()
189 int y1 = ((j + 1) * _screenHeight - 1) / h + 1; in createScreenshotBitmap()
/dports/games/scummvm/scummvm-2.5.1/engines/grim/
H A Dgfx_base.cpp51 _screenWidth(0), _screenHeight(0), in GfxBase()
175 int j1 = (_screenHeight * h - 1) / _screenHeight + 1; in createScreenshotBitmap()
181 int y0 = j * _screenHeight / h; in createScreenshotBitmap()
182 int y1 = ((j + 1) * _screenHeight - 1) / h + 1; in createScreenshotBitmap()
H A Dgfx_opengl.cpp129 _screenHeight = screenH; in setupScreen()
131 _scaleH = _screenHeight / (float)_gameHeight; in setupScreen()
141 int screenSize = _screenWidth * _screenHeight * 4; in setupScreen()
147 glViewport(0, 0, _screenWidth, _screenHeight); in setupScreen()
1237 glOrtho(0, _screenWidth, _screenHeight, 0, 0, 1); in drawBitmap()
1703 glRasterPos2i(x, _screenHeight - 1); in drawDepthBitmap()
1948 glRasterPos2i(0, _screenHeight - 1); in copyStoredToDisplay()
1974 int y = _screenHeight - yReal - h; in dimRegion()
1986 glViewport(0, 0, _screenWidth, _screenHeight); in dimRegion()
2033 y = _screenHeight - yReal; in dimRegion()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/lab/
H A Dimage.cpp71 int destHeight = (imgDest) ? imgDest->_height : _vm->_graphics->_screenHeight; in blitBitmap()
121 if (y + clipHeight > _vm->_graphics->_screenHeight) in readScreenImage()
122 clipHeight = _vm->_graphics->_screenHeight - y; in readScreenImage()
H A Dspecial.cpp190 _journalBackImage->blitBitmap(i, 0, nullptr, i, 0, 8, _graphics->_screenHeight, false); in turnPage()
196 _journalBackImage->blitBitmap(i, 0, nullptr, i, 0, 8, _graphics->_screenHeight, false); in turnPage()
208 …ckImage->blitBitmap(0, 0, nullptr, 0, 0, _graphics->_screenWidth, _graphics->_screenHeight, false); in drawJournal()
269 _journalBackImage->_height = _graphics->_screenHeight; in doJournal()
289 _graphics->rectFill(0, 0, _graphics->_screenWidth - 1, _graphics->_screenHeight - 1, 0); in doJournal()
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 Dimage.cpp71 int destHeight = (imgDest) ? imgDest->_height : _vm->_graphics->_screenHeight; in blitBitmap()
121 if (y + clipHeight > _vm->_graphics->_screenHeight) in readScreenImage()
122 clipHeight = _vm->_graphics->_screenHeight - y; in readScreenImage()
H A Dspecial.cpp190 _journalBackImage->blitBitmap(i, 0, nullptr, i, 0, 8, _graphics->_screenHeight, false); in turnPage()
196 _journalBackImage->blitBitmap(i, 0, nullptr, i, 0, 8, _graphics->_screenHeight, false); in turnPage()
208 …ckImage->blitBitmap(0, 0, nullptr, 0, 0, _graphics->_screenWidth, _graphics->_screenHeight, false); in drawJournal()
269 _journalBackImage->_height = _graphics->_screenHeight; in doJournal()
289 _graphics->rectFill(0, 0, _graphics->_screenWidth - 1, _graphics->_screenHeight - 1, 0); in doJournal()
472 _graphics->rectFill(0, 0, _graphics->_screenWidth - 1, _graphics->_screenHeight - 1, 0); in doMonitor()
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/examples/osgframerenderer/
H A DCaptureSettings.h57 void setScreenHeight(float height) { _screenHeight = height; } in setScreenHeight()
58 float getScreenHeight() const { return _screenHeight; } in getScreenHeight()
131 float _screenHeight; variable
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/examples/osgframerenderer/
H A DCaptureSettings.h57 void setScreenHeight(float height) { _screenHeight = height; } in setScreenHeight()
58 float getScreenHeight() const { return _screenHeight; } in getScreenHeight()
131 float _screenHeight; variable
/dports/accessibility/py-atspi/pyatspi-2.38.1/examples/
H A DmagFocusTracker.py49 _screenHeight = 0 variable
121 self.top = min(_screenHeight, self.top + self.edgeMarginY)
226 global _screenHeight
233 _screenHeight = screen.height()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/agos/
H A Ddraw.cpp631 memmove(dst + screenSize, dst, _scrollWidth * _screenHeight - screenSize); in scrollScreen()
633 memmove(dst, dst + screenSize, _scrollWidth * _screenHeight - screenSize); in scrollScreen()
639 dst += _screenHeight * _screenWidth - screenSize; in scrollScreen()
649 fillBackFromBackGround(_screenHeight, _scrollWidth); in scrollScreen()
731 for (int i = 0; i < _screenHeight; i++) { in fillBackFromFront()
742 for (int i = 0; i < _screenHeight; i++) { in fillBackGroundFromBack()
754 for (int i = 0; i < _screenHeight; i++) { in fillBackGroundFromFront()
789 for (int i = 0; i < _screenHeight; i++) { in displayScreen()
795 fillBackFromBackGround(_screenHeight, _screenWidth); in displayScreen()
H A Dagos.cpp571 _screenHeight = 400; in init()
574 _screenHeight = 480; in init()
577 _screenHeight = 200; in init()
580 initGraphics(_screenWidth, _screenHeight); in init()
605 _backGroundBuf->create(_screenWidth, _screenHeight, Graphics::PixelFormat::createFormatCLUT8()); in init()
609 _backBuf->create(_screenWidth, _screenHeight, Graphics::PixelFormat::createFormatCLUT8()); in init()
611 _scaleBuf->create(_screenWidth, _screenHeight, Graphics::PixelFormat::createFormatCLUT8()); in init()
616 _window4BackScn->create(_screenWidth, _screenHeight, Graphics::PixelFormat::createFormatCLUT8()); in init()
/dports/games/scummvm/scummvm-2.5.1/engines/agos/
H A Ddraw.cpp631 memmove(dst + screenSize, dst, _scrollWidth * _screenHeight - screenSize); in scrollScreen()
633 memmove(dst, dst + screenSize, _scrollWidth * _screenHeight - screenSize); in scrollScreen()
639 dst += _screenHeight * _screenWidth - screenSize; in scrollScreen()
649 fillBackFromBackGround(_screenHeight, _scrollWidth); in scrollScreen()
731 for (int i = 0; i < _screenHeight; i++) { in fillBackFromFront()
742 for (int i = 0; i < _screenHeight; i++) { in fillBackGroundFromBack()
754 for (int i = 0; i < _screenHeight; i++) { in fillBackGroundFromFront()
789 for (int i = 0; i < _screenHeight; i++) { in displayScreen()
795 fillBackFromBackGround(_screenHeight, _screenWidth); in displayScreen()
/dports/games/scummvm/scummvm-2.5.1/engines/hdb/
H A Dgfx.cpp197 _eBottom = g_hdb->_screenHeight; in init()
432 for (int y = 0; y < g_hdb->_screenHeight; y++) { in updateFade()
450 for (int y = 0; y < g_hdb->_screenHeight; y++) { in updateFade()
499 for (int y = 0; y < g_hdb->_screenHeight; y++) { in updateFade()
517 for (int y = 0; y < g_hdb->_screenHeight; y++) { in updateFade()
582 _snowInfo.y[i] = g_hdb->_rnd->getRandomNumber(g_hdb->_screenHeight - 1); in turnOnSnow()
823 _stars3D[i].y = g_hdb->_rnd->getRandomNumber(g_hdb->_screenHeight - 1); in setup3DStars()
857 if (_stars3D[i].y > g_hdb->_screenHeight) in draw3DStars()
884 for (int j = -64; j < g_hdb->_screenHeight; j += 64) { in drawSky()
919 if (_snowInfo.y[i] > g_hdb->_screenHeight - 1) in drawSnow()
[all …]
H A Dinput.cpp39 _mouseY = g_hdb->_screenHeight / 2; in init()
372 …g_hdb->_window->centerTextOut("Running Speed", g_hdb->_screenHeight - 32, kRunToggleDelay * kGameF… in stylusDown()
374 …g_hdb->_window->centerTextOut("Walking Speed", g_hdb->_screenHeight - 32, kRunToggleDelay * kGameF… in stylusDown()
390 …g_hdb->_window->centerTextOut("Running Speed", g_hdb->_screenHeight - 32, kRunToggleDelay * kGameF… in stylusDown()
392 …g_hdb->_window->centerTextOut("Walking Speed", g_hdb->_screenHeight - 32, kRunToggleDelay * kGameF… in stylusDown()
426 _mouseY = CLIP(newY, 0, g_hdb->_screenHeight - 1); in updateMouse()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/hdb/
H A Dgfx.cpp198 _eBottom = g_hdb->_screenHeight; in init()
433 for (int y = 0; y < g_hdb->_screenHeight; y++) { in updateFade()
451 for (int y = 0; y < g_hdb->_screenHeight; y++) { in updateFade()
500 for (int y = 0; y < g_hdb->_screenHeight; y++) { in updateFade()
518 for (int y = 0; y < g_hdb->_screenHeight; y++) { in updateFade()
583 _snowInfo.y[i] = g_hdb->_rnd->getRandomNumber(g_hdb->_screenHeight - 1); in turnOnSnow()
824 _stars3D[i].y = g_hdb->_rnd->getRandomNumber(g_hdb->_screenHeight - 1); in setup3DStars()
858 if (_stars3D[i].y > g_hdb->_screenHeight) in draw3DStars()
885 for (int j = -64; j < g_hdb->_screenHeight; j += 64) { in drawSky()
920 if (_snowInfo.y[i] > g_hdb->_screenHeight - 1) in drawSnow()
[all …]

12345678