Home
last modified time | relevance | path

Searched refs:sScreenCenterX (Results 1 – 3 of 3) sorted by relevance

/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Tactical/
H A DSoldier_Find.cc426 INT16 sScreenCenterX, sScreenCenterY; in SoldierLocationRelativeToScreen() local
438 FromCellToScreenCoordinates( sDistToCenterX , sDistToCenterY, &sScreenCenterX, &sScreenCenterY ); in SoldierLocationRelativeToScreen()
441 sScreenCenterX += gsCX; in SoldierLocationRelativeToScreen()
445 sScreenCenterX += 0; in SoldierLocationRelativeToScreen()
453 if ( sWorldX > ( sScreenCenterX + 20 ) ) in SoldierLocationRelativeToScreen()
457 if ( sWorldX < ( sScreenCenterX - 20 ) ) in SoldierLocationRelativeToScreen()
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/TileEngine/
H A DIsometric_Utils.cc256 INT16 sScreenCenterX, sScreenCenterY; in GetAbsoluteScreenXYFromMapPos() local
271 sScreenCenterX = ( 2 * sDistToCenterX ) - ( 2 * sDistToCenterY ); in GetAbsoluteScreenXYFromMapPos()
275 *psWorldScreenX = sScreenCenterX + gsCX - gsLeftX; in GetAbsoluteScreenXYFromMapPos()
H A DRenderWorld.cc2270 INT16 sScreenCenterX; in ApplyScrolling() local
2272 …FromCellToScreenCoordinates(sTempRenderCenterX, sTempRenderCenterY, &sScreenCenterX, &sScreenCente… in ApplyScrolling()
2275 sScreenCenterX -= 0; in ApplyScrolling()
2282 const INT16 sTopLeftWorldX = sScreenCenterX - sX_S; in ApplyScrolling()
2285 const INT16 sBottomRightWorldX = sScreenCenterX + sX_S; in ApplyScrolling()
2343 INT16 newScreenCenterX = sScreenCenterX; in ApplyScrolling()