Home
last modified time | relevance | path

Searched refs:rPosY (Results 1 – 9 of 9) sorted by relevance

/RvlSDK-3.2/build/demos/gxdemo/src/G2D/
DG2D-testPhy.c85 f32 rPosY; member
167 poCam.rPosY = poShip.rPosY + (VELOCITY_LOOKAHEAD * rVelY); in CameraInit()
196 poShip.rPosX, poShip.rPosY, rVelX, rVelY, rAng, rAngV, poCam.rPosX, poCam.rPosY); in CameraUpdate()
223 poCam.rPosY = poShip.rPosY + rRelCamY; in CameraUpdate()
227 if (poCam.rPosY >= rWorldHeight) { poCam.rPosY -= rWorldHeight; } in CameraUpdate()
228 else if (poCam.rPosY < 0) { poCam.rPosY += rWorldHeight; } in CameraUpdate()
520 … rPy = poShip.rPosY / lyrBack.nTileHeight; // correct unless TILE_WIDTH_LYR1 == TILE_HEIGHT_LYR1 in UpdatePosition()
536 … poShip.rPosY = rPy * lyrBack.nTileHeight; // correct unless TILE_WIDTH_LYR1 == TILE_HEIGHT_LYR1 in UpdatePosition()
620 if (poShip.rPosY >= rWorldHeight) { poShip.rPosY -= rWorldHeight; } in MoveShip()
621 else if (poShip.rPosY < 0) { poShip.rPosY += rWorldHeight; } in MoveShip()
[all …]
DG2D-test.c156 poCloudCam.rPosY += rCloudY; in MoveClouds()
166 if (poCloudCam.rPosY >= rWorldHeight) { poCloudCam.rPosY -= rWorldHeight; } in MoveClouds()
167 else if (poCloudCam.rPosY < 0) { poCloudCam.rPosY += rWorldHeight; } in MoveClouds()
200 poShadow.rPosY += 9.0F; in DrawTick()
DG2D-testEditor.c93 poShip.rPosY += (f32)(nDY * layer->nTileHeight); in MapEditor()
104 poShip.rPosY += (f32)(nDY * layer->nTileHeight); in MapEditor()
113 if (poShip.rPosY >= rWorldHeight) { poShip.rPosY -= rWorldHeight; } in MapEditor()
114 else if (poShip.rPosY < 0) { poShip.rPosY += rWorldHeight; } in MapEditor()
117 nMapY = (s32)(poShip.rPosY / layer->nTileHeight); in MapEditor()
DG2D-testLevel1.c340 poShip.rPosY = (f32)(nJ<<TILE_VSHIFT_LYR1); in MapInit()
/RvlSDK-3.2/build/demos/gxdemo/src/Indirect/
Dind-tile-test.c42 f32 rPosY; // Position vector Y component (measured in tile coordinates) member
126 poShip.rPosY = 0.0F; in ParameterInit()
351 poShip.rPosY += dx; in AnimTick()
357 poShip.rPosY -= dx; in AnimTick()
363 poShip.rPosY -= dy; in AnimTick()
369 poShip.rPosY += dy; in AnimTick()
374 if (poShip.rPosY > 0.5f) poShip.rPosY -= 1.0f; in AnimTick()
375 if (poShip.rPosY < -0.5f) poShip.rPosY += 1.0f; in AnimTick()
378 MTXTrans(tmpMtx, poShip.rPosX, poShip.rPosY, 0.0f); in AnimTick()
Dind-tile-data.c45 f32 rPosY; // Position vector Y component (measured in tile coordinates) member
267 poShip.rPosY = (f32) nJ/HEIGHT_LYR1; in MapInit()
/RvlSDK-3.2/include/revolution/
DG2D.h103 f32 rPosY; // Position vector Y component (measured in tile coordinates) member
/RvlSDK-3.2/include/
DG2D.h100 f32 rPosY; // Position vector Y component (measured in tile coordinates) member
/RvlSDK-3.2/build/libraries/G2D/src/
DG2D.c127 rRelY = po->rPosY - glob.poCam.rPosY; in G2DDrawSprite()
135 rRelY += glob.poCam.rPosY; in G2DDrawSprite()
425 rFrcY = glob.poCam.rPosY * rInvTileHeight; in G2DDrawLayer()
558 f32 rLocalPosY = glob.poCam.rPosY; in G2DDrawLayer()
885 vPos.y = po->rPosY + (vUp.x * rX) - (vUp.y * rY); in G2DSetCamera()