Home
last modified time | relevance | path

Searched refs:svel (Results 1 – 25 of 77) sorted by relevance

1234

/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/
H A Dplayer3.c68 loc.svel = svel = 0; in getinput()
186 svel -= info.dx; in getinput()
293 if(svel < -MAXSVEL) svel = -MAXSVEL; in getinput()
294 if(svel > MAXSVEL) svel = MAXSVEL; in getinput()
325 loc.svel = momy; in getinput()
353 loc.svel = svel = 0; in getinputmotorcycle()
533 if(svel < -MAXSVEL) svel = -MAXSVEL; in getinputmotorcycle()
534 if(svel > MAXSVEL) svel = MAXSVEL; in getinputmotorcycle()
590 loc.svel = svel = 0; in getinputboat()
765 if(svel < -MAXSVEL) svel = -MAXSVEL; in getinputboat()
[all …]
H A Dgame1.c637 avgsvel += loc.svel; in faketimerhandler()
650 nsyn[0].svel = avgsvel/movesperpacket; in faketimerhandler()
725 if (nsyn[0].svel != osyn[0].svel) in faketimerhandler()
727 packbuf[j++] = (char)nsyn[0].svel; in faketimerhandler()
728 packbuf[j++] = (char)(nsyn[0].svel>>8); in faketimerhandler()
786 if (nsyn[0].svel != osyn[0].svel) in faketimerhandler()
788 packbuf[j++] = (char)nsyn[0].svel; in faketimerhandler()
789 packbuf[j++] = (char)(nsyn[0].svel>>8); in faketimerhandler()
863 if (nsyn[i].svel != osyn[i].svel) in faketimerhandler()
865 packbuf[j++] = (char)nsyn[i].svel; in faketimerhandler()
[all …]
H A Dplayer5.c63 syn->svel = 0; in computergetinput()
131 syn->svel += mulscale17(dx,i); in computergetinput()
204 syn->svel += (y3-y1)*2047/dist; in computergetinput()
218 syn->svel += ((sintable[(daang+512)&2047]*i)>>17); in computergetinput()
372 syn->svel += (y2-y1)*2047/dist; in computergetinput()
410 syn->svel += ((sintable[(daang+512)&2047]*i)>>17); in computergetinput()
430 syn->svel += (y2-y1)*2047/dist; in computergetinput()
/dports/games/NBlood/NBlood-a1689a4/source/witchaven/src/
H A Dinput.cpp64 int32_t angvel, svel, vel; variable
220 svel = MAX_STRAFE_VELOCITY; in keytimerstuff()
252 if (svel > MAX_STRAFE_VELOCITY) { in keytimerstuff()
253 svel = MAX_STRAFE_VELOCITY; in keytimerstuff()
297 if (svel < 0) in keytimerstuff()
300 if (svel > 0) { in keytimerstuff()
301 svel = 0; in keytimerstuff()
305 if (svel > 0) in keytimerstuff()
308 if (svel < 0) { in keytimerstuff()
309 svel = 0; in keytimerstuff()
[all …]
H A Dinput.h8 extern int32_t angvel, svel, vel;
/dports/astro/gpstk/GPSTk-8.0.0/core/tests/ORD/
H A DOrdMockClasses.hpp127 double svel,
134 double svel, in getCorrection() argument
138 return getCorrection_wrap(time, rxgeo, svel, svaz, freq); in getCorrection()
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/main/
H A Dslew.cpp90 vms_vector svel; //scaled velocity (per this frame) in do_slew_movement() local
137 svel = obj->mtype.phys_info.velocity; in do_slew_movement()
138 vm_vec_scale(svel,FrameTime); //movement in this frame in do_slew_movement()
139 const auto movement = vm_vec_rotate(svel,new_pm); in do_slew_movement()
/dports/games/d2x/d2x-0.2.5/main/
H A Dslew.c85 vms_vector svel, movement; //scaled velocity (per this frame) in do_slew_movement() local
154 svel = obj->mtype.phys_info.velocity; in do_slew_movement()
155 vm_vec_scale(&svel,FrameTime); //movement in this frame in do_slew_movement()
156 vm_vec_rotate(&movement,&svel,&new_pm); in do_slew_movement()
/dports/astro/gpstk/GPSTk-8.0.0/core/tests/GNSSCore/
H A DIonoModel_T.cpp183 double svel = 0; in exceptionTest() local
230 Model.getCorrection( commonTime, rxgeo,svel, svaz, CarrierBand::L1 ); in exceptionTest()
248 goodModel.getCorrection( commonTime, rxgeo, svel, svaz, CarrierBand::L1 ); in exceptionTest()
268 goodModel.getCorrection( commonTime, rxgeo, svel, svaz, CarrierBand::L2 ); in exceptionTest()
/dports/astro/gpstk/GPSTk-8.0.0/core/lib/GNSSCore/
H A DIonoModelStore.cpp62 double svel, in getCorrection() argument
71 return i->second.getCorrection(time, rxgeo, svel, svaz, band); in getCorrection()
H A DIonoModel.cpp85 double svel, in getCorrection() argument
101 double svE = svel / 180.0; in getCorrection()
H A DIonoModelStore.hpp95 double svel,
H A DIonoModel.hpp128 double svel,
/dports/games/jfsw/jfsw-c434002/src/
H A Djplayer.c444 syn->svel = 0; in computergetinput()
548 syn->svel += mulscale17(dx,i); in computergetinput()
618 syn->svel += (y3-y1)*2047/dist; in computergetinput()
632 syn->svel += ((sintable[(daang+512)&2047]*i)>>17); in computergetinput()
640 syn->svel -= syn->svel/2; in computergetinput()
647 syn->svel -= syn->svel/8; in computergetinput()
811 syn->svel += (y2-y1)*2047/dist; in computergetinput()
852 syn->svel += ((sintable[(daang+512)&2047]*i)>>17); in computergetinput()
874 syn->svel += (y2-y1)*2047/dist; in computergetinput()
H A Dnet.c101 LONG svel; member
262 if (pak->svel != old_pak->svel) in EncodeBits()
264 *((short*)buf) = pak->svel; in EncodeBits()
265 buf += sizeof(pak->svel); in EncodeBits()
315 pak->svel = *(short*)buf; in DecodeBits()
316 buf += sizeof(pak->svel); in DecodeBits()
861 AveragePacket.svel += loc.svel; in faketimerhandler()
879 loc.svel = AveragePacket.svel / MovesPerPacket; in faketimerhandler()
/dports/games/NBlood/NBlood-a1689a4/source/sw/src/
H A Djplayer.cpp447 syn->svel = 0; in computergetinput()
549 syn->svel += mulscale17(dx,i); in computergetinput()
619 syn->svel += (hitinfo.pos.y-y1)*2047/dist; in computergetinput()
633 syn->svel += ((sintable[(daang+512)&2047]*i)>>17); in computergetinput()
641 syn->svel -= syn->svel/2; in computergetinput()
647 syn->svel -= syn->svel/8; in computergetinput()
810 syn->svel += (y2-y1)*2047/dist; in computergetinput()
851 syn->svel += ((sintable[(daang+512)&2047]*i)>>17); in computergetinput()
873 syn->svel += (y2-y1)*2047/dist; in computergetinput()
H A Dnetwork.cpp104 int32_t svel; member
334 if (pak->svel != old_pak->svel) in EncodeBits()
336 *((short *)buf) = pak->svel; in EncodeBits()
337 buf += sizeof(pak->svel); in EncodeBits()
392 pak->svel = *(short *)buf; in DecodeBits()
393 buf += sizeof(pak->svel); in DecodeBits()
995 AveragePacket.svel += loc.svel; in UpdateInputs()
1017 loc.svel = AveragePacket.svel / MovesPerPacket; in UpdateInputs()
H A Ddemo.cpp275 packet.svel = B_LITTLE16(buffer->svel); in DemoWritePackets()
292 buffer->svel = B_LITTLE16(packet.svel); in DemoReadPackets()
/dports/games/NBlood/NBlood-a1689a4/source/tekwar/src/
H A Dtekgame.cpp78 int vel, svel, angvel; variable
1050 vel = 0, svel = 0, angvel = 0, keystatus[3] = 1; in processinput()
2029 …if( keystatus[keys[2]] > 0 || turning == 1 ) svel = min(svel+8*TICSPERFRAME,127); // Les 09/2… in getinput()
2030 …if( keystatus[keys[3]] > 0 || turning == -1 ) svel = max(svel-8*TICSPERFRAME,-128); // Les 09/2… in getinput()
2034 …if( keystatus[keys[12]] > 0 || strafing == 1 ) svel = min(svel+8*TICSPERFRAME,127); // Les … in getinput()
2035 …if( keystatus[keys[13]] > 0 || strafing == -1 ) svel = max(svel-8*TICSPERFRAME,-128); // Les … in getinput()
2038 if( svel < 0 ) svel = min(svel+2*TICSPERFRAME,0); in getinput()
2039 if( svel > 0 ) svel = max(svel-2*TICSPERFRAME,0); in getinput()
2080 locsvel = min(max(svel,-128+8),127-8); in getinput()
2084 locsvel=max(min(svel-mousx,511-16),-512+16); // Les 09/28/95 in getinput()
/dports/cad/opencascade/opencascade-7.6.0/src/TopOpeBRepBuild/
H A DTopOpeBRepBuild_WireEdgeSet.cxx219 TCollection_AsciiString svel = SNameVEL(V,E,l); in MakeNeighboursList() local
220 std::cout<<PRODINS<<svel<<"; #---- WES MNL"<<std::endl; in MakeNeighboursList()
253 TCollection_AsciiString svel=SNameVEL(V,E,myCurrentShapeNeighbours); in MakeNeighboursList() local
254 std::cout<<svel<<std::endl; in MakeNeighboursList()
342 …TCollection_AsciiString svel=SNameVEL(Varg,Earg,myCurrentShapeNeighbours);std::cout<<svel<<std::en… in MakeNeighboursList() local
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/
H A Dplayer.cpp3554 input.svel += keyMove; in P_GetInput()
3608 input.svel = clamp(input.svel, -MAXSVEL, MAXSVEL); in P_GetInput()
3695 input.svel = 0; in P_GetInput()
3714 localInput.svel = 0; in P_GetInput()
3813 input.svel = clamp(input.svel, -MAXSVEL, MAXSVEL); in P_GetInputMotorcycle()
3839 input.svel = 0; in P_GetInputMotorcycle()
4000 input.svel = clamp(input.svel, -MAXSVEL, MAXSVEL); in P_GetInputMotorcycle()
4111 input.svel = clamp(input.svel, -MAXSVEL, MAXSVEL); in P_GetInputBoat()
4137 input.svel = 0; in P_GetInputBoat()
4290 input.svel = clamp(input.svel, -MAXSVEL, MAXSVEL); in P_GetInputBoat()
[all …]
/dports/games/jfsw/jfsw-c434002/jfbuild/kenbuild/
H A Dgame.c4560 if (keystatus[keys[2]]) svel = min(svel+8*TICSPERFRAME,127);
4565 if (keystatus[keys[12]]) svel = min(svel+8*TICSPERFRAME,127);
4570 if (svel < 0) svel = min(svel+2*TICSPERFRAME,0);
4571 if (svel > 0) svel = max(svel-2*TICSPERFRAME,0);
4609 loc.svel = min(max(svel,-128+8),127-8);
4645 loc.svel = min(max(loc.svel-(joyaxis[0]>>8),-128),127);
5225 oloc.svel = loc.svel+1;
5231 osync[i].svel = ffsync[i].svel+1;
5666 if (loc.svel != oloc.svel) packbuf[j++] = loc.svel, packbuf[2] |= 2;
5713 if (ffsync[i].svel != osync[i].svel) packbuf[j++] = ffsync[i].svel, l |= 2;
[all …]
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginera/
H A DGAME.C4302 if (keystatus[keys[2]]) svel = min(svel+8*TICSPERFRAME,127); in getinput()
4303 if (keystatus[keys[3]]) svel = max(svel-8*TICSPERFRAME,-128); in getinput()
4307 if (keystatus[keys[12]]) svel = min(svel+8*TICSPERFRAME,127); in getinput()
4312 if (svel < 0) svel = min(svel+2*TICSPERFRAME,0); in getinput()
4313 if (svel > 0) svel = max(svel-2*TICSPERFRAME,0); in getinput()
4350 loc.svel = min(max(svel,-128+8),127-8); in getinput()
4930 oloc.svel = loc.svel+1; in checkmasterslaveswitch()
4936 osync[i].svel = ffsync[i].svel+1; in checkmasterslaveswitch()
5423 if (loc.svel != oloc.svel) packbuf[j++] = loc.svel, packbuf[2] |= 2; in faketimerhandler()
5470 if (ffsync[i].svel != osync[i].svel) packbuf[j++] = ffsync[i].svel, l |= 2; in faketimerhandler()
[all …]
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginerr/
H A DGAME.C4303 if (keystatus[keys[2]]) svel = min(svel+8*TICSPERFRAME,127); in getinput()
4304 if (keystatus[keys[3]]) svel = max(svel-8*TICSPERFRAME,-128); in getinput()
4308 if (keystatus[keys[12]]) svel = min(svel+8*TICSPERFRAME,127); in getinput()
4313 if (svel < 0) svel = min(svel+2*TICSPERFRAME,0); in getinput()
4314 if (svel > 0) svel = max(svel-2*TICSPERFRAME,0); in getinput()
4351 loc.svel = min(max(svel,-128+8),127-8); in getinput()
4931 oloc.svel = loc.svel+1; in checkmasterslaveswitch()
4937 osync[i].svel = ffsync[i].svel+1; in checkmasterslaveswitch()
5424 if (loc.svel != oloc.svel) packbuf[j++] = loc.svel, packbuf[2] |= 2; in faketimerhandler()
5471 if (ffsync[i].svel != osync[i].svel) packbuf[j++] = ffsync[i].svel, l |= 2; in faketimerhandler()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/kenbuild/src/
H A Dgame.cpp4620 if (keystatus[keys[2]]) svel = min(svel+8*TICSPERFRAME,127); in getinput()
4625 if (keystatus[keys[12]]) svel = min(svel+8*TICSPERFRAME,127); in getinput()
4626 if (keystatus[keys[13]]) svel = max(svel-8*TICSPERFRAME,-128); in getinput()
4630 if (svel < 0) svel = min(svel+2*TICSPERFRAME,0); in getinput()
4631 if (svel > 0) svel = max(svel-2*TICSPERFRAME,0); in getinput()
4669 loc.svel = min(max(svel,-128+8),127-8); in getinput()
5250 oloc.svel = loc.svel+1; in checkmasterslaveswitch()
5256 osync[i].svel = ffsync[i].svel+1; in checkmasterslaveswitch()
5701 if (loc.svel != oloc.svel) packbuf[j++] = loc.svel, packbuf[2] |= 2; in faketimerhandler()
5748 if (ffsync[i].svel != osync[i].svel) packbuf[j++] = ffsync[i].svel, l |= 2; in faketimerhandler()
[all …]

1234