Home
last modified time | relevance | path

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

/dports/games/barony/Barony-3.3.7/src/
H A Dactmonster.cpp1910 real_t lichDist = 0.f; in actMonster() local
2012 lichDist = sqrt(pow(my->x - target->x, 2) + pow(my->y - target->y, 2)); in actMonster()
2104 else if ( lichDist > 64 ) in actMonster()
2154 else if ( (lichDist < 32) || (enemiesInMelee > 1) ) in actMonster()
2188 else if ( lichDist > 64 ) in actMonster()
2284 lichDist = 1024; in actMonster()
2289 && (sqrt(pow(my->x - tempEntity->x, 2) + pow(my->y - tempEntity->y, 2)) < lichDist) in actMonster()
2292 lichDist = sqrt(pow(my->x - tempEntity->x, 2) + pow(my->y - tempEntity->y, 2)); in actMonster()
2312 lichDist = 1024; in actMonster()
2317 && (sqrt(pow(my->x - tempEntity->x, 2) + pow(my->y - tempEntity->y, 2)) < lichDist) in actMonster()
[all …]