X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmiscfunctions.qh;h=1ec27a7818a1cd900aa05f51368968051d358887;hb=59d3684c3ce95d95c6d3f14e6fc5567a2e6ff2ba;hp=e94ee9c6ca595927bb86e9a9cc93f48f925a9aaf;hpb=f29ce8d347095c394b160ca62c5ff14110f05da8;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/miscfunctions.qh b/qcsrc/server/miscfunctions.qh index e94ee9c6c..1ec27a781 100644 --- a/qcsrc/server/miscfunctions.qh +++ b/qcsrc/server/miscfunctions.qh @@ -35,10 +35,16 @@ void soundat(entity e, vector o, float chan, string samp, float vol, float _atte void InitializeEntitiesRun(); void stopsoundto(float _dest, entity e, float chan); -void soundtoat(float _dest, entity e, vector o, float chan, string samp, float vol, float _atten); +void soundtoat(float _dest, entity e, vector o, float chan, string samp, float vol, float _atten, float _pitch); void droptofloor(entity this); +float trace_hits_box_1d(float end, float thmi, float thma); + +float trace_hits_box(vector start, vector end, vector thmi, vector thma); + +float tracebox_hits_box(vector start, vector mi, vector ma, vector end, vector thmi, vector thma); + void attach_sameorigin(entity e, entity to, string tag); void crosshair_trace(entity pl); @@ -82,7 +88,7 @@ void remove_unsafely(entity e); void SetMovetypeFollow(entity ent, entity e); -void soundto(float dest, entity e, float chan, string samp, float vol, float atten); +void soundto(float dest, entity e, float chan, string samp, float vol, float atten, float _pitch); void stopsound(entity e, float chan);