Home
last modified time | relevance | path

Searched refs:destX (Results 1 – 25 of 823) sorted by relevance

12345678910>>...33

/dports/games/scummvm/scummvm-2.5.1/engines/dragons/
H A Dscreen.cpp74 if (destX < 0) { in copyRectToSurface()
75 destX = 0; in copyRectToSurface()
88 destX, destY, in copyRectToSurface8bpp()
98 if (destX < 0) { in copyRectToSurface8bpp()
99 destX = 0; in copyRectToSurface8bpp()
148 assert(destX >= 0 && destX < _backSurface->w); in copyRectToSurface()
178 assert(destX >= 0 && destX < _backSurface->w); in copyRectToSurface8bpp()
221 destX = 0; in drawScaledSprite()
240 int16 currX = flipX ? destX + (destWidth - 1) : destX; in drawScaledSprite()
288 w += destX; in clipRectToRect()
[all …]
H A Dscreen.h81 void copyRectToSurface(const Graphics::Surface &srcSurface, int destX, int destY);
82 …void copyRectToSurface(const Graphics::Surface &srcSurface, int destX, int destY, Common::Rect src…
83 …void copyRectToSurface8bpp(const Graphics::Surface &srcSurface, const byte *palette, int destX, in…
93 Common::Rect clipRectToScreen(int destX, int destY, const Common::Rect rect);
94 …Common::Rect clipRectToRect(int destX, int destY, const Common::Rect rect, const Common::Rect cont…
106 …void copyRectToSurface(const void *buffer, int srcPitch, int srcWidth, int srcXOffset, int destX, …
107 …fer, const byte* palette, int srcPitch, int srcWidth, int srcXOffset, int destX, int destY, int wi…
108 … *destSurface, const byte *source, int sourceWidth, int sourceHeight, int destX, int destY, int de…
/dports/games/7kaa/7kaa-2.15.4p1/src/
H A DOUNITAAC.cpp480 err_when(destX<0 || destY<0 || destX>MAX_WORLD_X_LOC-1 || destY>MAX_WORLD_Y_LOC-1); in assign()
494 destX = firmPtr->loc_x1; in assign()
504 destX = townPtr->loc_x1; in assign()
545 shortPtr[0] = destX; in assign()
618 unitPtr->assign(destX, destY); in assign()
820 shortPtr[0] = destX; in settle()
867 unitPtr->settle(destX, destY); in settle()
906 unitPtr->settle(destX, destY, i+1); in group_settle()
1106 shortPtr[0] = destX; in ship_to_beach()
1144 unitPtr->move_to(destX, destY, 1); in ship_to_beach()
[all …]
H A DOUNITS.cpp52 err_when(destX<0 || destX>=MAX_WORLD_X_LOC || destY<0 || destY>=MAX_WORLD_Y_LOC || shipRecno<=0); in assign_to_ship()
86 action_x_loc2 = destX; in assign_to_ship()
144 resultXLoc = destX+xShift; in assign_to_ship()
158 action_x_loc = destX; in assign_to_ship()
255 err_when(destX<0 || destX>=MAX_WORLD_X_LOC || destY<0 || destY>=MAX_WORLD_Y_LOC); in ship_to_beach()
263 move_to(destX, destY, 1); in ship_to_beach()
273 move_to(destX, destY, 1); in ship_to_beach()
299 int xStep = curXLoc-destX; in ship_to_beach()
309 x = destX + int((i*xStep)/count); in ship_to_beach()
327 resultXLoc = destX; in ship_to_beach()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bbvs/
H A Dgraphics.cpp78 int destX, destY, width, height, skipX = 0, skipY = 0; in drawSprite() local
80 destX = sprite.xOffs + x; in drawSprite()
83 if (destX >= _surface->w || destY >= _surface->h) in drawSprite()
98 if (destX < 0) { in drawSprite()
99 width += destX; in drawSprite()
102 skipX = -destX; in drawSprite()
103 destX = 0; in drawSprite()
105 if (destX + width >= _surface->w) in drawSprite()
106 width = _surface->w - destX; in drawSprite()
113 byte *dest = (byte*)_surface->getBasePtr(destX, destY + yc); in drawSprite()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/bbvs/
H A Dgraphics.cpp78 int destX, destY, width, height, skipX = 0, skipY = 0; in drawSprite() local
80 destX = sprite.xOffs + x; in drawSprite()
83 if (destX >= _surface->w || destY >= _surface->h) in drawSprite()
98 if (destX < 0) { in drawSprite()
99 width += destX; in drawSprite()
102 skipX = -destX; in drawSprite()
103 destX = 0; in drawSprite()
105 if (destX + width >= _surface->w) in drawSprite()
106 width = _surface->w - destX; in drawSprite()
113 byte *dest = (byte*)_surface->getBasePtr(destX, destY + yc); in drawSprite()
[all …]
/dports/textproc/uim-gtk/uim-d1ac9d9/qt4/candwin/
H A Dsubwindow.cpp118 int destX; in layoutWindow() local
120 destX = candX + rect.width(); in layoutWindow()
121 if (destX + w > screenW) in layoutWindow()
122 destX = candX - w; in layoutWindow()
124 destX = candX; in layoutWindow()
125 if (destX + w > screenW) in layoutWindow()
126 destX = screenW - w; in layoutWindow()
143 move(destX, destY); in layoutWindow()
/dports/textproc/uim-m17nlib/uim-d1ac9d9/qt4/candwin/
H A Dsubwindow.cpp118 int destX; in layoutWindow() local
120 destX = candX + rect.width(); in layoutWindow()
121 if (destX + w > screenW) in layoutWindow()
122 destX = candX - w; in layoutWindow()
124 destX = candX; in layoutWindow()
125 if (destX + w > screenW) in layoutWindow()
126 destX = screenW - w; in layoutWindow()
143 move(destX, destY); in layoutWindow()
/dports/textproc/uim-qt5/uim-d1ac9d9/qt4/candwin/
H A Dsubwindow.cpp118 int destX; in layoutWindow() local
120 destX = candX + rect.width(); in layoutWindow()
121 if (destX + w > screenW) in layoutWindow()
122 destX = candX - w; in layoutWindow()
124 destX = candX; in layoutWindow()
125 if (destX + w > screenW) in layoutWindow()
126 destX = screenW - w; in layoutWindow()
143 move(destX, destY); in layoutWindow()
/dports/textproc/uim-gtk3/uim-d1ac9d9/qt4/candwin/
H A Dsubwindow.cpp118 int destX; in layoutWindow() local
120 destX = candX + rect.width(); in layoutWindow()
121 if (destX + w > screenW) in layoutWindow()
122 destX = candX - w; in layoutWindow()
124 destX = candX; in layoutWindow()
125 if (destX + w > screenW) in layoutWindow()
126 destX = screenW - w; in layoutWindow()
143 move(destX, destY); in layoutWindow()
/dports/textproc/uim-el/uim-d1ac9d9/qt4/candwin/
H A Dsubwindow.cpp118 int destX; in layoutWindow() local
120 destX = candX + rect.width(); in layoutWindow()
121 if (destX + w > screenW) in layoutWindow()
122 destX = candX - w; in layoutWindow()
124 destX = candX; in layoutWindow()
125 if (destX + w > screenW) in layoutWindow()
126 destX = screenW - w; in layoutWindow()
143 move(destX, destY); in layoutWindow()
/dports/japanese/uim-anthy/uim-d1ac9d9/qt4/candwin/
H A Dsubwindow.cpp118 int destX; in layoutWindow() local
120 destX = candX + rect.width(); in layoutWindow()
121 if (destX + w > screenW) in layoutWindow()
122 destX = candX - w; in layoutWindow()
124 destX = candX; in layoutWindow()
125 if (destX + w > screenW) in layoutWindow()
126 destX = screenW - w; in layoutWindow()
143 move(destX, destY); in layoutWindow()
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/mapstuff/portal/
H A DPortal.java279 int destX = dest.getX(); in usePortal() local
287 destX = destX - 1; in usePortal()
294 destX = destX + 1; in usePortal()
298 destX = destX - 1; in usePortal()
301 destX = destX + 1; in usePortal()
304 destX = destX - 1; in usePortal()
311 destX = destX + 1; in usePortal()
319 if (player.teleport(destZone, destX, destY, null, null)) { in usePortal()
/dports/games/wizznic/Wizznic-1.1/src/
H A Dcursor.c36 int destX = c->dx*brickSize+boardOffsetX-4; in updateCursor() local
39 if(c->px != destX || c->py != destY) in updateCursor()
47 if(c->px > destX) in updateCursor()
50 if(c->px < destX) in updateCursor()
51 c->px=destX; in updateCursor()
52 } else if(c->px < destX) in updateCursor()
55 if(c->px > destX) in updateCursor()
56 c->px=destX; in updateCursor()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sky/
H A Dautoroute.cpp125 bool AutoRoute::calcWalkGrid(uint8 startX, uint8 startY, uint8 destX, uint8 destY) { in calcWalkGrid() argument
135 if (startX > destX) { in calcWalkGrid()
143 uint16 *walkDest = _routeGrid + (destY + 1) * ROUTE_GRID_WIDTH + destX + 1; in calcWalkGrid()
193 uint16 *routePos = _routeGrid + (destY + 1) * ROUTE_GRID_WIDTH + destX + 1; in makeRouteData()
237 uint8 startX, startY, destX, destY; in autoRoute() local
242 clipCoordX(cpt->arTargetX, destX, initDestX); in autoRoute()
247 if ((startX == destX) && (startY == destY)) in autoRoute()
250 if (_routeGrid[(destY + 1) * ROUTE_GRID_WIDTH + destX + 1]) { in autoRoute()
258 _routeGrid[(destY + 1) * ROUTE_GRID_WIDTH + destX + 1] = 0; in autoRoute()
264 if (!calcWalkGrid(startX, startY, destX, destY)) in autoRoute()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/sky/
H A Dautoroute.cpp125 bool AutoRoute::calcWalkGrid(uint8 startX, uint8 startY, uint8 destX, uint8 destY) { in calcWalkGrid() argument
135 if (startX > destX) { in calcWalkGrid()
143 uint16 *walkDest = _routeGrid + (destY + 1) * ROUTE_GRID_WIDTH + destX + 1; in calcWalkGrid()
193 uint16 *routePos = _routeGrid + (destY + 1) * ROUTE_GRID_WIDTH + destX + 1; in makeRouteData()
237 uint8 startX, startY, destX, destY; in autoRoute() local
242 clipCoordX(cpt->arTargetX, destX, initDestX); in autoRoute()
247 if ((startX == destX) && (startY == destY)) in autoRoute()
250 if (_routeGrid[(destY + 1) * ROUTE_GRID_WIDTH + destX + 1]) { in autoRoute()
258 _routeGrid[(destY + 1) * ROUTE_GRID_WIDTH + destX + 1] = 0; in autoRoute()
264 if (!calcWalkGrid(startX, startY, destX, destY)) in autoRoute()
[all …]
/dports/games/csmash/csmash-0.6.6/
H A DSound.cpp151 double destX, destY, destZ; local
154 Control::TheControl()->LookAt( srcX, srcY, srcZ, destX, destY, destZ );
156 destX -= srcX; destY -= srcY;
159 destAngle = acos( destX/hypot(destX, destY) );
185 double destX, destY, destZ; local
188 Control::TheControl()->LookAt( srcX, srcY, srcZ, destX, destY, destZ );
190 destX -= srcX; destY -= srcY;
193 destAngle = acos( destX/hypot(destX, destY) );
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/additions/
H A DimgPS.c214 destX, destY, width, height, srcX, srcY) in ChanReadPS() argument
220 int destX, destY;
234 destX, destY, width, height, srcX, srcY) in ObjReadPS() argument
239 int destX, destY;
248 destX, destY, width, height, srcX, srcY);
261 destX, destY, width, height, srcX, srcY) in CommonReadPS() argument
266 int destX, destY;
456 destX, destY, width, height, srcX, srcY) in ChanReadPDF() argument
462 int destX, destY;
471 destX, destY, width, height, srcX, srcY) in ObjReadPDF() argument
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/mads/
H A Dmsurface.cpp299 int destX = destPos.x, destY = destPos.y; in copyFrom() local
328 destX -= distXCount / 2; in copyFrom()
337 if (destX < 0) { in copyFrom()
338 copyRect.left += -destX; in copyFrom()
339 destX = 0; in copyFrom()
390 int widthAmount = destX + distXCount - 1; in copyFrom()
392 if (destX < 0) { in copyFrom()
393 spriteWidth += destX; in copyFrom()
394 spriteLeft -= destX; in copyFrom()
405 destX += distXCount - 1; in copyFrom()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/mads/
H A Dmsurface.cpp299 int destX = destPos.x, destY = destPos.y; in copyFrom() local
328 destX -= distXCount / 2; in copyFrom()
337 if (destX < 0) { in copyFrom()
338 copyRect.left += -destX; in copyFrom()
339 destX = 0; in copyFrom()
390 int widthAmount = destX + distXCount - 1; in copyFrom()
392 if (destX < 0) { in copyFrom()
393 spriteWidth += destX; in copyFrom()
394 spriteLeft -= destX; in copyFrom()
405 destX += distXCount - 1; in copyFrom()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/dm/
H A Dtext.cpp51 void TextMan::printTextToBitmap(byte *destBitmap, uint16 destByteWidth, int16 destX, int16 destY, in printTextToBitmap() argument
53 if ((destX -= 1) < 0) // fixes missalignment, to be checked in printTextToBitmap()
54 destX = 0; in printTextToBitmap()
61 uint16 nextX = destX; in printTextToBitmap()
73 nextX = destX; in printTextToBitmap()
81 …Box box((nextX == destX) ? (nextX + 1) : nextX, nextX + kDMFontLetterWidth + 1, nextY, nextY + kDM… in printTextToBitmap()
82 …_vm->_displayMan->blitToBitmap(srcBitmap, destBitmap, box, (nextX == destX) ? (srcX + 1) : srcX, 0… in printTextToBitmap()
89 void TextMan::printToLogicalScreen(uint16 destX, uint16 destY, Color textColor, Color bgColor, cons… in printToLogicalScreen() argument
90 …printTextToBitmap(_vm->_displayMan->_bitmapScreen, _vm->_displayMan->_screenWidth / 2, destX, dest… in printToLogicalScreen()
97 void TextMan::printWithTrailingSpaces(byte *destBitmap, int16 destByteWidth, int16 destX, int16 des… in printWithTrailingSpaces() argument
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/dm/
H A Dtext.cpp51 void TextMan::printTextToBitmap(byte *destBitmap, uint16 destByteWidth, int16 destX, int16 destY, in printTextToBitmap() argument
53 if ((destX -= 1) < 0) // fixes missalignment, to be checked in printTextToBitmap()
54 destX = 0; in printTextToBitmap()
61 uint16 nextX = destX; in printTextToBitmap()
73 nextX = destX; in printTextToBitmap()
81 …Box box((nextX == destX) ? (nextX + 1) : nextX, nextX + kDMFontLetterWidth + 1, nextY, nextY + kDM… in printTextToBitmap()
82 …_vm->_displayMan->blitToBitmap(srcBitmap, destBitmap, box, (nextX == destX) ? (srcX + 1) : srcX, 0… in printTextToBitmap()
89 void TextMan::printToLogicalScreen(uint16 destX, uint16 destY, Color textColor, Color bgColor, cons… in printToLogicalScreen() argument
90 …printTextToBitmap(_vm->_displayMan->_bitmapScreen, _vm->_displayMan->_screenWidth / 2, destX, dest… in printToLogicalScreen()
97 void TextMan::printWithTrailingSpaces(byte *destBitmap, int16 destByteWidth, int16 destX, int16 des… in printWithTrailingSpaces() argument
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/
H A DSnippet139.java39 int destX = 0, destY = 0, destIndex = 0, srcIndex = 0; in rotate() local
42 destX = srcY; in rotate()
48 destX = srcData.height - srcY - 1; in rotate()
54 destX = srcData.width - srcX - 1; in rotate()
60 destIndex = (destY * destBytesPerLine) + (destX * bytesPerPixel); in rotate()
74 int destX = 0, destY = 0, destIndex = 0, srcIndex = 0; in flip() local
76 destX = srcX; in flip()
79 destX = srcData.width - srcX - 1; in flip()
82 destIndex = (destY * destBytesPerLine) + (destX * bytesPerPixel); in flip()
/dports/misc/mnn/MNN-1.2.0/source/backend/cpu/x86_x64/avx/
H A DGemmCommonBF16.cpp73 auto destX = (int64_t*)(dest + x * eDest * 8); in _AVX_MNNPackC4ForMatMul_A_BF16() local
78 destX[2*y+0] = srcX0[y*offset]; in _AVX_MNNPackC4ForMatMul_A_BF16()
79 destX[2*y+1] = srcX1[y*offset]; in _AVX_MNNPackC4ForMatMul_A_BF16()
83 auto destX = (int64_t*)(dest + lC8 * eDest * 8); in _AVX_MNNPackC4ForMatMul_A_BF16() local
87 destX[2*y+0] = srcX0[y*offset]; in _AVX_MNNPackC4ForMatMul_A_BF16()
98 auto destX = dest + dlC * eDest * 8 + dlR; in _AVX_MNNPackC4ForMatMul_A_BF16() local
101 destX[y*8] = srcX[y*4*offset]; in _AVX_MNNPackC4ForMatMul_A_BF16()
/dports/games/scummvm/scummvm-2.5.1/engines/gob/
H A Dscenery.cpp594 int16 destX; in updateAnim() local
656 destX = 0; in updateAnim()
807 destX = framePtr->destX; in updateAnim()
814 if (destX >= 0) in updateAnim()
815 destX += ((uint16)highX) << 7; in updateAnim()
825 destX += layerPtr->posX; in updateAnim()
827 destX += drawDeltaX; in updateAnim()
872 if (destX < _toRedrawLeft) { in updateAnim()
874 destX = _toRedrawLeft; in updateAnim()
909 _toRedrawLeft = destX; in updateAnim()
[all …]

12345678910>>...33