Code:
float Mob::DistNoRootNoZ(Mob* other)
{
return (other->x_pos-x_pos)*(other->x_pos-x_pos)+(other->y_pos-y_pos)*(other->y_pos-y_pos);
}
There are two others, of course I'm looking at probably version 0.1.5 source. But you just have to include other->size, assuming we have that property. I should probably download the latest source and stop being lazy, especially because I have "developer" under my name and I haven't "developed" anything lately.