Home
last modified time | relevance | path

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

/dports/games/warmux/warmux-11.04/src/particles/
H A Dpolecat_fart.cpp48 if ((c->GetTestRect()).Intersect(GetTestRect())) { in Refresh()
/dports/games/warmux/warmux-11.04/src/object/
H A Dphysical_obj.h131 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 Dphysical_obj.cpp151 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 Dobjbox.cpp126 Rectanglei test_rect(GetTestRect()); in Draw()
/dports/games/warmux/warmux-11.04/src/weapon/
H A Dconstruct.cpp142 if (c->GetTestRect().Intersect(rect)) in ChooseTarget()
148 if (obj->GetTestRect().Intersect(rect)) in ChooseTarget()
H A Dteleportation.cpp61 Rectanglei rect = achar.GetTestRect(); in p_Shoot()
H A Dairhammer.cpp88 ActiveCharacter().GetTestRect().GetPositionY() + in p_Shoot()
H A Dweapon_launcher.cpp285 Rectanglei test_rect(GetTestRect()); in Draw()
/dports/games/warmux/warmux-11.04/src/map/
H A Dmap.cpp382 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 Dai_idea.cpp175 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 Dbody.h140 void GetTestRect(uint & l,
H A Dcharacter.cpp282 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 Dbody.cpp781 void Body::GetTestRect(uint & l, in GetTestRect() function in Body