X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=world.h;h=91742334e801432bcc0dc834d66c950e02d13766;hb=38977bc61f4c26b91c4a44501b91a77b01764a57;hp=59a01e8a8eac90d41d2859a55960be3dca0473b2;hpb=e119924277152e9f2bb99b7d51fb6c83b622eda8;p=xonotic%2Fdarkplaces.git diff --git a/world.h b/world.h index 59a01e8a..91742334 100644 --- a/world.h +++ b/world.h @@ -46,6 +46,9 @@ void SV_LinkEdict (edict_t *ent, qboolean touch_triggers); // returns true if the entity is in solid currently int SV_TestEntityPosition (edict_t *ent); +// returns list of entities touching a box +int SV_EntitiesInBox(vec3_t mins, vec3_t maxs, int maxlist, edict_t **list); + // mins and maxs are relative // if the entire move stays in a solid volume, trace.allsolid will be set