Searched refs:GetTestRect (Results 1 – 13 of 13) sorted by relevance
/dports/games/warmux/warmux-11.04/src/particles/ |
H A D | polecat_fart.cpp | 48 if ((c->GetTestRect()).Intersect(GetTestRect())) { in Refresh()
|
/dports/games/warmux/warmux-11.04/src/object/ |
H A D | physical_obj.h | 131 const Rectanglei GetTestRect() const in GetTestRect() function 217 bool Overlapse(const PhysicalObj &b) const { return GetTestRect().Intersect( b.GetTestRect() ); }; in Overlapse() 220 bool Contain(const Point2i &p) const { return GetTestRect().Contains( p ); }; in Contain()
|
H A D | physical_obj.cpp | 151 if (!m_overlapping_object->GetTestRect().Intersect(GetTestRect()) && in CheckOverlapping() 482 int dx = (int)GetTestRect().GetSizeX() * (right-left); in PutOutOfGround() 483 int dy = (int)GetTestRect().GetSizeY() * (top-bottom); in PutOutOfGround() 872 …ok &= !IsGhost() && GetWorld().ParanoiacRectIsInVacuum(GetTestRect()) && IsInVacuum(Point2i(0, 1)); in PutRandomly()
|
H A D | objbox.cpp | 126 Rectanglei test_rect(GetTestRect()); in Draw()
|
/dports/games/warmux/warmux-11.04/src/weapon/ |
H A D | construct.cpp | 142 if (c->GetTestRect().Intersect(rect)) in ChooseTarget() 148 if (obj->GetTestRect().Intersect(rect)) in ChooseTarget()
|
H A D | teleportation.cpp | 61 Rectanglei rect = achar.GetTestRect(); in p_Shoot()
|
H A D | airhammer.cpp | 88 ActiveCharacter().GetTestRect().GetPositionY() + in p_Shoot()
|
H A D | weapon_launcher.cpp | 285 Rectanglei test_rect(GetTestRect()); in Draw()
|
/dports/games/warmux/warmux-11.04/src/map/ |
H A D | map.cpp | 382 const Rectanglei& rect = obj.GetTestRect(); in IsInVacuum_top() 390 const Rectanglei& rect = obj.GetTestRect(); in IsInVacuum_bottom() 398 const Rectanglei& rect = obj.GetTestRect(); in IsInVacuum_left() 406 const Rectanglei& rect = obj.GetTestRect(); in IsInVacuum_right()
|
/dports/games/warmux/warmux-11.04/src/ai/ |
H A D | ai_idea.cpp | 175 if (object->GetTestRect().Contains(pos) && !object->IsDead()) in GetObjectAt() 181 if (character->GetTestRect().Contains(pos) && !character->IsDead()) in GetObjectAt() 191 const Rectanglei& r = object->GetTestRect(); in ObjectLiesOnSegment()
|
/dports/games/warmux/warmux-11.04/src/character/ |
H A D | body.h | 140 void GetTestRect(uint & l,
|
H A D | character.cpp | 282 body->GetTestRect(l,r,t,b); in SetDirection() 532 Rectanglei test_rect(GetTestRect()); in Draw() 933 body->GetTestRect(l,r,t,b); in SetMovement() 943 body->GetTestRect(l,r,t,b); in SetMovementOnce()
|
H A D | body.cpp | 781 void Body::GetTestRect(uint & l, in GetTestRect() function in Body
|