Home
last modified time | relevance | path

Searched refs:onfloor (Results 1 – 25 of 52) sorted by relevance

123

/dports/devel/godot2-tools/godot-demo-projects-2.1.4-stable/3d/platformer/
H A Dplayer.gd80 var onfloor = false
89 onfloor = true
110 if (onfloor):
169 if (onfloor):
182 on_floor = onfloor
202 if (onfloor):
/dports/games/redeclipse16/base-1.6.0/src/game/
H A Dphysics.cpp709 bool impulseplayer(gameent *d, bool &onfloor, bool melee = false) in impulseplayer() argument
715 if(melee) { dash = onfloor; pulse = !onfloor; } in impulseplayer()
728 if(onfloor) in impulseplayer()
739 if(power || dash || moving || onfloor) in impulseplayer()
753 if(power || pulse) onfloor = false; in impulseplayer()
770 onfloor = false; in modifyinput()
787 d->action[AC_JUMP] = onfloor = false; in modifyinput()
796 impulseplayer(d, onfloor); in modifyinput()
811 d->action[AC_JUMP] = onfloor = false; in modifyinput()
827 impulseplayer(d, onfloor, true); in modifyinput()
[all …]
/dports/games/redeclipse/base-2.0.0/src/game/
H A Dphysics.cpp705 …bool impulseplayer(gameent *d, bool onfloor, const vec &inertia, bool melee = false, bool slide = … in impulseplayer() argument
713 …bool pulse = melee ? !onfloor : (!launch && !onfloor && (d->actortype >= A_BOT || impulseaction&1)… in impulseplayer()
722 if(!pound && (launch || slide || moving || onfloor)) in impulseplayer()
745 bool onfloor = d->physstate >= PHYS_SLOPE || d->onladder || liquidcheck(d); in modifyinput() local
751 onfloor = false; in modifyinput()
767 d->action[AC_JUMP] = onfloor = false; in modifyinput()
774 …else if(!impulseplayer(d, onfloor, vec(d->vel).add(d->falling)) && onfloor && d->action[AC_JUMP] &… in modifyinput()
787 d->action[AC_JUMP] = onfloor = false; in modifyinput()
830 if(onfloor) in modifyinput()
914 … !sliding && !onfloor && d->impulse[IM_TYPE] == IM_T_POUND && d->impulsetime[IM_T_POUND] != 0, kic… in modifyinput()
[all …]
/dports/games/cube/cube_source/src/
H A Dphysics.cpp134 d->onfloor = true; in collide()
158 d->onfloor = d->o.z-d->eyeheight-lo<0.001f; in collide()
210 const float friction = water ? 20.0f : (pl->onfloor || floating ? 6.0f : 30.0f); in moveplayer()
230 if(pl->onfloor || water) in moveplayer()
H A Dclientextras.cpp36 else if(!d->onfloor && d->timeinair>100) { n = 18; } in renderclient()
H A Dclient.cpp228 …putint(p, (d->strafe&3) | ((d->move&3)<<2) | (((int)d->onfloor)<<4) | ((editmode ? CS_EDITING : d-… in c2sinfo()
H A Dcube.h107 bool onfloor, jumpnext; member
H A Dclients2c.cpp111 d->onfloor = (f>>2)&1; in localservertoclient()
H A Dclientgame.cpp43 d->onfloor = false; in spawnstate()
/dports/games/assaultcube/AssaultCube_v1.2.0.2/source/src/
H A Dphysics.cpp239 d->onfloor = true; in collide()
267 d->onfloor = d->o.z-eyeheight-lo < floorclamp; in collide()
345 const float friction = water ? 20.0f : (pl->onfloor || isfly ? 6.0f : 30.0f); in moveplayer()
348 if(pl->onfloor) // apply friction in moveplayer()
373 … int move = pl->onladder && !pl->onfloor && pl->move == -1 ? 0 : pl->move; // movement on ladder in moveplayer()
377 if(!(pl->onfloor || pl->onladder)) chspeed = 1.0f; in moveplayer()
381 …const float friction = water ? 20.0f : (pl->onfloor || isfly ? 6.0f : (pl->onladder ? 1.5f : 30.0f… in moveplayer()
444 if(pl->onfloor || water) in moveplayer()
H A Dhudgun.h36 if(p->onfloor || p->onladder || p->inwater) swaymillis += lastmillis-lastsway; in calcmove()
H A Dentity.h131 …bool onfloor, onladder, jumpnext, crouching, crouchedinair, trycrouch, cancollide, stuck, scoping,… variable
159onfloor = onladder = inwater = jumpnext = crouching = crouchedinair = trycrouch = stuck = false; in reset()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/doom/
H A Dp_map.c559 boolean onfloor; in P_ThingHeightClip() local
561 onfloor = (thing->z == thing->floorz); in P_ThingHeightClip()
569 if (onfloor) in P_ThingHeightClip()
/dports/games/mangband/mangband-1.5.3/src/client/
H A Dz-term.h378 extern bool (*z_ask_item_aux)(const char *prompt, bool mode, bool inven, bool equip, bool onfloor);
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/strife/
H A Dp_map.c676 boolean onfloor; in P_ThingHeightClip() local
678 onfloor = (thing->z == thing->floorz); in P_ThingHeightClip()
686 if (onfloor) in P_ThingHeightClip()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/strife/
H A Dp_map.c676 boolean onfloor; in P_ThingHeightClip() local
678 onfloor = (thing->z == thing->floorz); in P_ThingHeightClip()
686 if (onfloor) in P_ThingHeightClip()
/dports/games/heretic/glheretic-1.2/
H A Dp_map.c871 boolean onfloor; in P_ThingHeightClip() local
873 onfloor = (thing->z == thing->floorz); in P_ThingHeightClip()
881 if (onfloor) in P_ThingHeightClip()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/heretic/
H A Dp_map.c932 boolean onfloor; in P_ThingHeightClip() local
934 onfloor = (thing->z == thing->floorz); in P_ThingHeightClip()
942 if (onfloor) in P_ThingHeightClip()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/doom/
H A Dp_map.c645 boolean onfloor; in P_ThingHeightClip() local
647 onfloor = (thing->z == thing->floorz); in P_ThingHeightClip()
655 if (onfloor) in P_ThingHeightClip()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/heretic/
H A Dp_map.c909 boolean onfloor; in P_ThingHeightClip() local
911 onfloor = (thing->z == thing->floorz); in P_ThingHeightClip()
919 if (onfloor) in P_ThingHeightClip()
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dp_local.h478 bool P_TryMove (AActor* thing, fixed_t x, fixed_t y, int dropoff, const secplane_t * onfloor, FChec…
479 bool P_TryMove (AActor* thing, fixed_t x, fixed_t y, int dropoff, const secplane_t * onfloor = NULL…
/dports/games/bloodfrontier/bloodfrontier/src/game/
H A Dphysics.cpp541 bool onfloor = d->physstate >= PHYS_SLOPE || d->onladder || liquidcheck(d); in modifyinput() local
565 …| d->strafe) && (!d->ai && impulsedash == 2 ? d->action[AC_DASH] : d->action[AC_JUMP] && !onfloor)) in modifyinput()
574 if(!d->turnside && onfloor) in modifyinput()
593 if(FWV(impulsestyle) && !d->turnside && !onfloor && canimpulse(d) && d->action[AC_JUMP]) in modifyinput()
/dports/games/prboom/prboom-2.5.0/src/
H A Dp_map.c1023 boolean onfloor; in P_ThingHeightClip() local
1025 onfloor = (thing->z == thing->floorz); in P_ThingHeightClip()
1037 if (onfloor) in P_ThingHeightClip()
/dports/games/odamex/odamex-src-0.7.0/common/
H A Dp_local.h238 BOOL P_TryMove (AActor* thing, fixed_t x, fixed_t y, bool dropoff, bool onfloor = false);
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/hexen/
H A Dp_map.c1204 boolean onfloor; in P_ThingHeightClip() local
1206 onfloor = (thing->z == thing->floorz); in P_ThingHeightClip()
1215 if (onfloor) in P_ThingHeightClip()

123