equal
deleted
inserted
replaced
62 if Frame = vobFramesCount then Frame:= 0 |
62 if Frame = vobFramesCount then Frame:= 0 |
63 end |
63 end |
64 end; |
64 end; |
65 |
65 |
66 Gear^.X:= Gear^.X + (cWindSpeed * 200 + Gear^.dX) * Steps; |
66 Gear^.X:= Gear^.X + (cWindSpeed * 200 + Gear^.dX) * Steps; |
67 Gear^.Y:= Gear^.Y + (Gear^.dY + cGravity * vobVelocity) * Steps; |
67 Gear^.Y:= Gear^.Y + (Gear^.dY + cGravity * vobFallSpeed) * Steps; |
68 Gear^.Angle:= Gear^.Angle + Gear^.dAngle; |
68 Gear^.Angle:= Gear^.Angle + Gear^.dAngle * Steps; |
69 |
69 |
70 if hwRound(Gear^.X) < -cScreenWidth - 64 then Gear^.X:= int2hwFloat(cScreenWidth + 2048) else |
70 if hwRound(Gear^.X) < -cScreenWidth - 64 then Gear^.X:= int2hwFloat(cScreenWidth + 2048) else |
71 if hwRound(Gear^.X) > cScreenWidth + 2048 then Gear^.X:= int2hwFloat(-cScreenWidth - 64); |
71 if hwRound(Gear^.X) > cScreenWidth + 2048 then Gear^.X:= int2hwFloat(-cScreenWidth - 64); |
72 if hwRound(Gear^.Y) > 1100 then Gear^.Y:= - _128 |
72 if hwRound(Gear^.Y) > 1100 then Gear^.Y:= - _128 |
73 end; |
73 end; |