Searched refs:STRIKERANGE (Results 1 – 9 of 9) sorted by relevance
/dports/games/barony/Barony-3.3.7/src/ |
H A D | game.hpp | 294 #define STRIKERANGE 24 macro
|
H A D | acthudweapon.cpp | 1359 …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 D | actbeartrap.cpp | 896 if ( entityDistance < STRIKERANGE ) in actBomb() 905 if ( entityDistance < STRIKERANGE ) in actBomb()
|
H A D | actmonster.cpp | 3178 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 D | entity.hpp | 833 return (dist < STRIKERANGE); in monsterInMeleeRange()
|
H A D | entity.cpp | 6688 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 D | item_usage_funcs.cpp | 1127 if ( dist > STRIKERANGE * 3 ) in item_PotionInvisibility()
|
/dports/games/barony/Barony-3.3.7/src/magic/ |
H A D | castSpell.cpp | 689 if ( dist > STRIKERANGE * 3 ) in castSpell()
|
H A D | actmagic.cpp | 4664 int radius = STRIKERANGE * 2 / 3; in createParticleExplosionCharge()
|