Home
last modified time | relevance | path

Searched refs:yVel (Results 1 – 25 of 46) sorted by relevance

12

/dports/games/maelstrom/Maelstrom-3.0.6/netlogic/
H A Dmake.cpp54 xVel = yVel = 0; in MakePrize()
62 while (yVel == 0) in MakePrize()
64 if (yVel > 0) in MakePrize()
169 xVel = yVel = 0; in MakeBonus()
174 yVel = xVel; in MakeBonus()
198 xVel = yVel = 0; in MakeDamagedShip()
208 if (yVel > 0) in MakeDamagedShip()
296 if (yVel > 0) in MakeHoming()
323 xVel = yVel = 0; in MakeLargeRock()
333 if (yVel > 0) in MakeLargeRock()
[all …]
H A Dobjects.h215 xVel = yVel = 0; in Explode()
219 while (yVel == 0) in Explode()
221 if (yVel > 0) in Explode()
231 xVel = yVel = 0; in Explode()
236 while (yVel == 0) in Explode()
238 if (yVel > 0) in Explode()
407 xVel = yVel = 0; in Explode()
415 while (yVel == 0) in Explode()
417 if (yVel > 0) in Explode()
464 xVel = yVel = 0; in Explode()
[all …]
H A Dobjects.cpp12 Prize::Prize(int X, int Y, int xVel, int yVel) : in Prize() argument
13 Object(X, Y, xVel, yVel, gPrize, 2) in Prize()
46 Object(X, Y, xVel, yVel, gBonusBlit, 2) in Bonus()
58 Object(X, Y, xVel, yVel, blit, 2) in Shrapnel()
70 Object(X, Y, xVel, yVel, gDamagedShip, 1) in DamagedShip()
88 Homing::Homing(int X, int Y, int xVel, int yVel) : in Homing() argument
89 Object(X, Y, xVel, yVel, in Homing()
102 Object(X, Y, xVel, yVel, in SmallRock()
113 Object(X, Y, xVel, yVel, in MediumRock()
124 Object(X, Y, xVel, yVel, in LargeRock()
[all …]
H A Dplayer.cpp225 int newsprite, xVel, yVel, rx; in Explode() local
233 xVel = yVel = 0; in Explode()
237 while (yVel == 0) in Explode()
239 if (yVel > 0) in Explode()
240 yVel += SCALE_FACTOR; in Explode()
242 yVel -= SCALE_FACTOR; in Explode()
249 xVel = yVel = 0; in Explode()
254 while (yVel == 0) in Explode()
256 if (yVel > 0) in Explode()
257 yVel += SCALE_FACTOR; in Explode()
[all …]
/dports/games/meandmyshadow/meandmyshadow-0.5a/src/
H A DPlayer.cpp78 yVel=0; in Player()
701 if(yVel>0){ in move()
709 if(yVel>0){ in move()
756 yVel+=1; in collision()
759 if(yVel>13) in collision()
760 yVel=13; in collision()
1016 yVel=0; in collision()
1023 yVel=1; in collision()
1315 yVel=2; in otherCheck()
1484 yVel=0; in reset()
[all …]
H A DBlock.cpp215 r.y=yVel; in getBox()
235 yVel+=delta; in moveTo()
250 yVel+=delta; in growTo()
268 yVelSave=yVel; in saveState()
300 yVel=yVelSave; in loadState()
1011 xVel=yVel=dx=dy=0; in move()
1064 yVel+=1; in move()
1067 if(yVel>13) in move()
1068 yVel=13; in move()
1264 yVel=0; in move()
[all …]
H A DPlayer.h100 int xVel, yVel; variable
H A DBlock.h100 int xVel,yVel; variable
/dports/games/scummvm/scummvm-2.5.1/engines/hdb/
H A Dai-waypoint.cpp267 int yVel = *y2 - y1; in traceStraightPath() local
268 if (yVel < 0) in traceStraightPath()
269 yVel = -1; in traceStraightPath()
270 if (yVel > 0) in traceStraightPath()
271 yVel = 1; in traceStraightPath()
352 *y2 = y1 - yVel; in traceStraightPath()
367 *y2 = y1 - yVel; in traceStraightPath()
377 *y2 = y1 - yVel; in traceStraightPath()
383 y1 += yVel; in traceStraightPath()
H A Dai-funcs.cpp474 e->goalX = e->goalY = e->xVel = e->yVel = 0; in stopEntity()
683 e->xVel = e->yVel = 0; in setEntityGoal()
698 e->yVel = -e->moveSpeed; in setEntityGoal()
702 e->yVel = e->moveSpeed; in setEntityGoal()
709 e->yVel = e->yVel << 1; in setEntityGoal()
918 e->y += e->yVel; in animateEntity()
1170 e->yVel = -kPlayerMoveSpeed; in animateEntity()
1176 e->yVel = kPlayerMoveSpeed; in animateEntity()
1181 e->yVel = 0; in animateEntity()
1187 e->yVel = 0; in animateEntity()
[all …]
H A Dai-bots.cpp133 omni->yVel >>= 1; in aiOmniBotAction()
174 e->y += e->yVel; in aiOmniBotMissileAction()
220 e->xVel = e->yVel = 0; in aiTurnBotChoose()
230 e->yVel >>= 1; in aiTurnBotChoose()
537 e->yVel = yv * e->moveSpeed; in aiRightBotFindGoal()
712 e->yVel = -1; in aiRailRiderAction()
716 e->yVel = 1; in aiRailRiderAction()
720 e->yVel = 0; in aiRailRiderAction()
724 e->yVel = 0; in aiRailRiderAction()
735 e->y += e->yVel; in aiRailRiderAction()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/hdb/
H A Dai-waypoint.cpp267 int yVel = *y2 - y1; in traceStraightPath() local
268 if (yVel < 0) in traceStraightPath()
269 yVel = -1; in traceStraightPath()
270 if (yVel > 0) in traceStraightPath()
271 yVel = 1; in traceStraightPath()
352 *y2 = y1 - yVel; in traceStraightPath()
367 *y2 = y1 - yVel; in traceStraightPath()
377 *y2 = y1 - yVel; in traceStraightPath()
383 y1 += yVel; in traceStraightPath()
H A Dai-funcs.cpp474 e->goalX = e->goalY = e->xVel = e->yVel = 0; in stopEntity()
683 e->xVel = e->yVel = 0; in setEntityGoal()
698 e->yVel = -e->moveSpeed; in setEntityGoal()
702 e->yVel = e->moveSpeed; in setEntityGoal()
709 e->yVel = e->yVel << 1; in setEntityGoal()
916 e->y += e->yVel; in animateEntity()
1166 e->yVel = -kPlayerMoveSpeed; in animateEntity()
1172 e->yVel = kPlayerMoveSpeed; in animateEntity()
1177 e->yVel = 0; in animateEntity()
1183 e->yVel = 0; in animateEntity()
[all …]
H A Dai-bots.cpp132 omni->yVel >>= 1; in aiOmniBotAction()
173 e->y += e->yVel; in aiOmniBotMissileAction()
219 e->xVel = e->yVel = 0; in aiTurnBotChoose()
229 e->yVel >>= 1; in aiTurnBotChoose()
531 e->yVel = yv * e->moveSpeed; in aiRightBotFindGoal()
706 e->yVel = -1; in aiRailRiderAction()
710 e->yVel = 1; in aiRailRiderAction()
714 e->yVel = 0; in aiRailRiderAction()
718 e->yVel = 0; in aiRailRiderAction()
728 e->y += e->yVel; in aiRailRiderAction()
[all …]
/dports/games/vvvvvv/VVVVVV-cb3640e5/desktop_version/src/
H A DKeyPoll.cpp31 yVel = 0; in KeyPoll()
196 yVel = 0; in Poll()
200 yVel = (evt.caxis.value > 0) ? 1 : -1; in Poll()
323 yVel < 0 ) ) ); in controllerWantsLeft()
332 yVel > 0 ) ) ); in controllerWantsRight()
H A DKeyPoll.h77 int xVel, yVel; variable
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Libraries.ocd/MeleeWeapons.ocd/
H A DScript.c202 var yVel=Abs(pObject1->GetYDir()); in GetRelativeVelocity() local
204 yVel+=Abs(pObject2->GetYDir()); in GetRelativeVelocity()
205 else yVel-=Abs(pObject2->GetYDir()); in GetRelativeVelocity()
206 b = Sqrt((xVel**2)+(yVel**2)); in GetRelativeVelocity()
/dports/science/axom/axom-0.6.1/src/axom/slam/examples/tinyHydro/
H A DHydroC.cpp481 void Hydro::setBC(const char * boundary, double xVel, double yVel) in setBC() argument
486 bcVelocity[0] = VectorXY(xVel, yVel); in setBC()
489 bcVelocity[1] = VectorXY(xVel, yVel); in setBC()
492 bcVelocity[2] = VectorXY(xVel, yVel); in setBC()
495 bcVelocity[3] = VectorXY(xVel, yVel); in setBC()
H A DHydroC.hpp39 void setBC(const char * boundary, double xVel, double yVel);
/dports/games/NBlood/NBlood-a1689a4/source/exhumed/src/
H A Dinput.h44 int yVel; member
H A Drex.cpp390 int yVel = Sin(nAngle) * 15; in FuncRex() local
396 nYDamage[nPlayer] += (yVel << 4); in FuncRex()
402 sprite[nSprite2].yvel += (yVel >> 3); in FuncRex()
H A Dexhumed.h79 int32_t yVel; member
H A Dexhumed.cpp1463 output.yVel = B_LITTLE32(sPlayerInput[nLocalPlayer].yVel); in WritePlaybackInputs()
1488 sPlayerInput[nLocalPlayer].yVel = B_LITTLE32(input.yVel); in ReadPlaybackInputs()
2579 sPlayerInput[nLocalPlayer].yVel = lPlayerYVel; in app_main()
2679 sPlayerInput[nLocalPlayer].yVel = lPlayerYVel; in app_main()
/dports/games/frogatto/frogatto-1.3.1/modules/frogatto/data/objects/enemies/experimental/
H A Dplasma_shooter.cfg10 …spawn('plasma_shooter.shot',mid_x,mid_y+50*up,1,[set(velocity_x,xVel),set(velocity_y,yVel),set(rot…
14 where yVel = (shot_speed*sin(angle_to(me,level.player)))",
/dports/games/frogatto/frogatto-1.3.1/modules/frogatto/data/objects/enemies/bugs/
H A Dhopper_armored.cfg35 …spawn('hopper_armored.shot',mid_x+20*facing,mid_y,1,[set(velocity_x,xVel),set(velocity_y,yVel),set…
39 where yVel = (shot_speed*sin(angle_to(me,level.player)))",

12