Home
last modified time | relevance | path

Searched refs:STRIKERANGE (Results 1 – 9 of 9) sorted by relevance

/dports/games/barony/Barony-3.3.7/src/
H A Dgame.hpp294 #define STRIKERANGE 24 macro
H A Dacthudweapon.cpp1359 …lickedOn->behavior == &actBomb && entityDist(clickedOn, players[clientnum]->entity) < STRIKERANGE ) in actHudWeapon()
1368 real_t dist = lineTrace(player, player->x, player->y, player->yaw, STRIKERANGE, 0, false); in actHudWeapon()
1376 if ( dist < STRIKERANGE in actHudWeapon()
1398 lineTrace(player, player->x, player->y, player->yaw, STRIKERANGE, 0, false); in actHudWeapon()
1422 lineTrace(player, player->x, player->y, player->yaw, STRIKERANGE, 0, false); in actHudWeapon()
H A Dactbeartrap.cpp896 if ( entityDistance < STRIKERANGE ) in actBomb()
905 if ( entityDistance < STRIKERANGE ) in actBomb()
H A Dactmonster.cpp3178 if ( entityDist(my, myTarget) > STRIKERANGE * 1.5 ) in actMonster()
6754 if ( dist < STRIKERANGE && rand () % 20 == 0 ) in actMonster()
6770 if ( sqrt(pow(my->x - target->x, 2) + pow(my->y - target->y, 2)) < STRIKERANGE ) in actMonster()
6786 if ( sqrt(pow(my->x - target->x, 2) + pow(my->y - target->y, 2)) < STRIKERANGE * 2 ) in actMonster()
7323 …if ( (dist < STRIKERANGE && !hasrangedweapon) || (hasrangedweapon && dist < getMonsterEffectiveDis… in handleMonsterAttack()
7428 tracedist = STRIKERANGE; in handleMonsterAttack()
8104 enemiesNearby = numTargetsAroundEntity(this, STRIKERANGE, PI, MONSTER_TARGET_ENEMY); in handleMonsterSpecialAttack()
8156 …enemiesNearby = std::min(numTargetsAroundEntity(this, STRIKERANGE * 2, PI, MONSTER_TARGET_ENEMY), … in handleMonsterSpecialAttack()
8219 if ( dist < STRIKERANGE * 2 ) in handleMonsterSpecialAttack()
8222 …enemiesNearby = std::min(numTargetsAroundEntity(this, STRIKERANGE * 2, PI, MONSTER_TARGET_ENEMY), … in handleMonsterSpecialAttack()
H A Dentity.hpp833 return (dist < STRIKERANGE); in monsterInMeleeRange()
H A Dentity.cpp6688 dist = lineTrace(this, x, y, yaw, STRIKERANGE * 1.5, 0, false); in attack()
6694 dist = lineTrace(this, x, y, yaw, STRIKERANGE, 0, false); in attack()
9355 … getTargetsAroundEntity(this, hit.entity, STRIKERANGE, PI / 3, MONSTER_TARGET_ENEMY, &aoeTargets); in attack()
9370 … getTargetsAroundEntity(this, hit.entity, STRIKERANGE, PI, MONSTER_TARGET_PLAYER, &shakeTargets); in attack()
9633 if ( (dist != STRIKERANGE && !whip) || (dist != STRIKERANGE * 1.5 && whip) ) in attack()
9810 getTargetsAroundEntity(this, hit.entity, STRIKERANGE, PI, MONSTER_TARGET_PLAYER, &shakeTargets); in attack()
14388 if ( distance < STRIKERANGE * STRIKERANGE ) in monsterAcquireAttackTarget()
H A Ditem_usage_funcs.cpp1127 if ( dist > STRIKERANGE * 3 ) in item_PotionInvisibility()
/dports/games/barony/Barony-3.3.7/src/magic/
H A DcastSpell.cpp689 if ( dist > STRIKERANGE * 3 ) in castSpell()
H A Dactmagic.cpp4664 int radius = STRIKERANGE * 2 / 3; in createParticleExplosionCharge()