X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=world.h;h=1e8486c7d51e326b3b1f2a0d4f4602657fac6d7d;hb=8e8d87ca996c325b99ba8da55f55b117b319f821;hp=eaea6224cf0aaa27c93499ceda2a6f65744bd53f;hpb=08489c3f40fec505da1c0af823e388a5f53a1560;p=xonotic%2Fdarkplaces.git diff --git a/world.h b/world.h index eaea6224..1e8486c7 100644 --- a/world.h +++ b/world.h @@ -24,9 +24,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "collision.h" -#define MOVE_NORMAL 0 -#define MOVE_NOMONSTERS 1 -#define MOVE_MISSILE 2 +#define MOVE_NORMAL 0 +#define MOVE_NOMONSTERS 1 +#define MOVE_MISSILE 2 +#define MOVE_WORLDONLY 3 // called after the world model has been loaded, before linking any entities @@ -54,7 +55,10 @@ int SV_TestEntityPosition (edict_t *ent); // shouldn't be considered solid objects // passedict is explicitly excluded from clipping checks (normally NULL) -trace_t SV_Move (vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, int type, edict_t *passedict); +trace_t SV_Move(const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int type, edict_t *passedict); + +int SV_PointQ1Contents(const vec3_t point); +int SV_PointSuperContents(const vec3_t point); #endif