Home
last modified time | relevance | path

Searched refs:jumpheight (Results 1 – 25 of 28) sorted by relevance

12

/dports/games/xonotic/Xonotic/source/qcsrc/common/vehicles/vehicle/
H A Dspiderbot_weapons.qc68 float grav, sdist, zdist, vs, vz, jumpheight;
77 jumpheight = fabs(ht);
79 jumpheight = jumpheight + zdist;
82 vz = sqrt(2 * grav * jumpheight); // NOTE: sqrt(positive)!
91 // ALWAYS solvable because jumpheight >= zdist
95 …, so don't use it, but rather use solution_y (which will be sqrt(0.5 * jumpheight / grav), actuall…
/dports/games/xonotic/Xonotic/source/qcsrc/common/triggers/trigger/
H A Djumppads.qc36 float grav, sdist, zdist, vs, vz, jumpheight;
50 jumpheight = fabs(ht);
52 jumpheight = jumpheight + zdist;
69 max(z, ti) = jumpheight
76 vz = sqrt(fabs(2 * grav * jumpheight)); // NOTE: sqrt(positive)!
85 // ALWAYS solvable because jumpheight >= zdist
89 …, so don't use it, but rather use solution_y (which will be sqrt(0.5 * jumpheight / grav), actuall…
/dports/games/openmortal/openmortal-0.7/data/script/
H A DDataHelper.pl445 my ( $jumpheight ) = 120;
455 $statestotal = $jumpheight * 2 / 3 / $::DELMULTIPLIER; # 1/1
459 $statestotal = $jumpheight * 2 / 3;
468 'JUMPN'=>$jumpheight, NEXTSTN=>'JumpFly', 'SOUND1'=>'PLAYER_JUMPS', };
485 $flyingstart = { 'N'=>'JumpStart', 'JUMP2'=>$jumpheight, 'PUSHX2'=>9*16, 'DEL1'=>1,
/dports/games/megamario/MegaMario_v1.7_full/src/
H A Dplayer.h33 int jumpheight,STARPOWER; variable
H A Dplayer.cpp203 jumpheight = JUMPS+abs(x_speed*1.4); in update()
208 if(JUMPcount<jumpheight) in update()
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/ai/weed/
H A Dweed.cpp45 o->critter.jumpheight = 0x2800; in ai_critter()
51 o->critter.jumpheight = 0; in ai_critter()
155 o->ymark = (o->y - o->critter.jumpheight); in ai_critter()
/dports/games/sauerbraten/sauerbraten/src/rpggame/
H A Dstats.h24 N(jumpheight) \
/dports/games/nxengine/nxengine-evo-2.6.5-1/src/ai/weed/
H A Dweed.cpp57 o->critter.jumpheight = 0x2800; in ai_critter()
64 o->critter.jumpheight = 0; in ai_critter()
172 o->ymark = (o->y - o->critter.jumpheight); in ai_critter()
/dports/games/edge/Edge-1.35-source/src/
H A Dp_user.cc138 pl->mo->mom.z += pl->mo->info->jumpheight / 1.4f; in P_PlayerJump()
323 if (level_flags.jump && mo->info->jumpheight > 0 && in MovePlayer()
328 P_PlayerJump(player, player->mo->info->jumpheight / 1.4f, in MovePlayer()
/dports/games/xonotic/Xonotic/source/qcsrc/common/physics/
H A Dplayer.qc330 // velocity bounds. Final velocity is bound between (jumpheight *
331 // min + jumpheight) and (jumpheight * max + jumpheight);
/dports/games/edge/Edge-1.35-source/ddf/
H A Dthing.cc133 DF("JUMP_HEIGHT", jumpheight, DDF_MainGetFloat),
1793 jumpheight = src.jumpheight; in CopyDetail()
1922 jumpheight = 0; in Default()
H A Dthing.h788 float jumpheight; variable
/dports/games/nxengine/nxengine-evo-2.6.5-1/src/
H A Dobject.h243 int jumpheight, jumpgrav; member
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/
H A Dobject.h233 int jumpheight, jumpgrav; member
/dports/games/openbor3482/openbor-2c1ecd7/engine/
H A Dopenbor.c5307 newchar->jumpheight = GET_FLOAT_ARG(1); in load_cached_model()
6227 if(newchar->jumpheight==4) in load_cached_model()
6549 newanim->jumpframe.v = newchar->jumpheight / 2; in load_cached_model()
6555 newanim->jumpframe.v = newchar->jumpheight; in load_cached_model()
14788 toss(self, self->modeldata.jumpheight); in common_try_jumpattack()
14854 else toss(other, other->modeldata.jumpheight); in dothrow()
17348 tryjump(self->modeldata.jumpheight, self->modeldata.jumpspeed, 0, ANI_JUMP); in player_grab_check()
18101 tryjump(self->modeldata.jumpheight, self->modeldata.jumpspeed, 0, ANI_JUMP); in player_think()
18170 tryjump(self->modeldata.jumpheight, 0, (self->modeldata.jumpmovez)?self->zdir:0, ANI_JUMP); in player_think()
18912 toss(e, e->modeldata.jumpheight); in bomb_spawn()
[all …]
H A Dopenbor.h1062 float jumpheight; // 28-12-2004 Jump height variable added per character member
/dports/games/openbor3711/openbor-6ec17fa/engine/
H A Dopenbor.c5408 newchar->jumpheight = GET_FLOAT_ARG(1); in load_cached_model()
6299 if(newchar->jumpheight==4) in load_cached_model()
6640 newanim->jumpframe.v = newchar->jumpheight / 2; in load_cached_model()
6646 newanim->jumpframe.v = newchar->jumpheight; in load_cached_model()
15164 toss(self, self->modeldata.jumpheight); in common_try_jumpattack()
15246 else toss(other, other->modeldata.jumpheight); in dothrow()
17918 tryjump(self->modeldata.jumpheight, self->modeldata.jumpspeed, 0, ANI_JUMP); in player_grab_check()
18547 tryjump(self->modeldata.jumpheight, self->modeldata.jumpspeed, 0, ANI_JUMP); in player_think()
18609 tryjump(self->modeldata.jumpheight, 0, (self->modeldata.jumpmovez)?self->zdir:0, ANI_JUMP); in player_think()
19377 toss(e, e->modeldata.jumpheight); in bomb_spawn()
[all …]
H A Dopenbor.h1087 float jumpheight; // 28-12-2004 Jump height variable added per character
/dports/games/openbor3979/openbor-2bcf25b/engine/
H A Dopenbor.h1117 float jumpheight; // 28-12-2004 Jump height variable added per character member
H A Dopenbor.c6073 if(newchar->jumpheight == 4) in translate_ani_id()
7897 newchar->jumpheight = GET_FLOAT_ARG(1); in load_cached_model()
8494 …newanim->range.xmax = (int)newchar->jumpheight * 20; //30-12-2004 default range affected by jump … in load_cached_model()
8669 newanim->jumpframe.v = newchar->jumpheight / 2; in load_cached_model()
8675 newanim->jumpframe.v = newchar->jumpheight; in load_cached_model()
20746 toss(self, self->modeldata.jumpheight); in common_try_jumpattack()
20837 toss(other, other->modeldata.jumpheight); in dothrow()
24511 tryjump(self->modeldata.jumpheight, self->modeldata.jumpspeed, 0, ANI_JUMP); in player_grab_check()
25387 … tryjump(self->modeldata.jumpheight, 0, (self->modeldata.jumpmovez) ? self->zdir : 0, ANI_JUMP); in player_think()
26206 toss(e, e->modeldata.jumpheight); in bomb_spawn()
[all …]
H A Dopenborscript.c5367 (*pretvar)->dblVal = (DOUBLE)ent->modeldata.jumpheight; in openbor_getentityproperty()
7112 ent->modeldata.jumpheight = (float)dbltemp; in openbor_changeentityproperty()
/dports/games/openbor/openbor-3caaddd5/engine/
H A Dopenbor.c7193 if(newchar->jumpheight == 4) in translate_ani_id()
9564 newchar->jumpheight = GET_FLOAT_ARG(1); in load_cached_model()
10275 newanim->range.base.max = (int)newchar->jumpheight * 20; // Just use same logic as range Y. in load_cached_model()
10470 newanim->jumpframe->velocity.y = newchar->jumpheight / 2; in load_cached_model()
10476 newanim->jumpframe->velocity.y = newchar->jumpheight; in load_cached_model()
25909 toss(self, self->modeldata.jumpheight); in common_try_jumpattack()
26113 toss(other, other->modeldata.jumpheight); in dothrow()
30717 tryjump(self->modeldata.jumpheight, self->modeldata.jumpspeed, 0, ANI_JUMP); in player_grab_check()
31720 …tryjump(self->modeldata.jumpheight, 0, (self->modeldata.jumpmovez) ? self->velocity.z : 0, ANI_JUM… in player_think()
32675 toss(e, e->modeldata.jumpheight); in bomb_spawn()
[all …]
H A Dopenbor.h2333 float jumpheight; // 28-12-2004 Jump height variable added per character member
/dports/games/openbor4432/openbor-ba1eb4f/engine/
H A Dopenbor.c6923 if(newchar->jumpheight == 4) in translate_ani_id()
8308 …newchar->jumpheight = default_model_jumpheight; // 28-12-2004 Set default jump height to… in init_model()
9181 newchar->jumpheight = GET_FLOAT_ARG(1); in load_cached_model()
10027 newanim->jumpframe.velocity.y = newchar->jumpheight / 2; in load_cached_model()
10033 newanim->jumpframe.velocity.y = newchar->jumpheight; in load_cached_model()
23865 toss(self, self->modeldata.jumpheight); in common_try_jumpattack()
23958 toss(other, other->modeldata.jumpheight); in dothrow()
27871 tryjump(self->modeldata.jumpheight, self->modeldata.jumpspeed, 0, ANI_JUMP); in player_grab_check()
28852 …tryjump(self->modeldata.jumpheight, 0, (self->modeldata.jumpmovez) ? self->velocity.z : 0, ANI_JUM… in player_think()
29697 toss(e, e->modeldata.jumpheight); in bomb_spawn()
[all …]
H A Dopenbor.h1848 float jumpheight; // 28-12-2004 Jump height variable added per character member

12