/dports/devel/godot2-tools/godot-demo-projects-2.1.4-stable/3d/platformer/ |
H A D | player.gd | 80 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 D | physics.cpp | 709 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 D | physics.cpp | 705 …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 D | physics.cpp | 134 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 D | clientextras.cpp | 36 else if(!d->onfloor && d->timeinair>100) { n = 18; } in renderclient()
|
H A D | client.cpp | 228 …putint(p, (d->strafe&3) | ((d->move&3)<<2) | (((int)d->onfloor)<<4) | ((editmode ? CS_EDITING : d-… in c2sinfo()
|
H A D | cube.h | 107 bool onfloor, jumpnext; member
|
H A D | clients2c.cpp | 111 d->onfloor = (f>>2)&1; in localservertoclient()
|
H A D | clientgame.cpp | 43 d->onfloor = false; in spawnstate()
|
/dports/games/assaultcube/AssaultCube_v1.2.0.2/source/src/ |
H A D | physics.cpp | 239 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 D | hudgun.h | 36 if(p->onfloor || p->onladder || p->inwater) swaymillis += lastmillis-lastsway; in calcmove()
|
H A D | entity.h | 131 …bool onfloor, onladder, jumpnext, crouching, crouchedinair, trycrouch, cancollide, stuck, scoping,… variable 159 … onfloor = onladder = inwater = jumpnext = crouching = crouchedinair = trycrouch = stuck = false; in reset()
|
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/doom/ |
H A D | p_map.c | 559 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 D | z-term.h | 378 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 D | p_map.c | 676 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 D | p_map.c | 676 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 D | p_map.c | 871 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 D | p_map.c | 932 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 D | p_map.c | 645 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 D | p_map.c | 909 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 D | p_local.h | 478 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 D | physics.cpp | 541 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 D | p_map.c | 1023 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 D | p_local.h | 238 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 D | p_map.c | 1204 boolean onfloor; in P_ThingHeightClip() local 1206 onfloor = (thing->z == thing->floorz); in P_ThingHeightClip() 1215 if (onfloor) in P_ThingHeightClip()
|