X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fg_hook.qh;h=c0df31662a7d5cea6c95584dd7a13bfd7d969dad;hb=7a450de6b250eccb737d4c428b634496b933e4ff;hp=95ba88205b90666a612cb4232b7c00774dba76b0;hpb=692cb758fe8f25fa078bfd5885333ee031885600;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/g_hook.qh b/qcsrc/server/g_hook.qh index 95ba88205..c0df31662 100644 --- a/qcsrc/server/g_hook.qh +++ b/qcsrc/server/g_hook.qh @@ -1,9 +1,10 @@ -#ifndef HOOK_H -#define HOOK_H +#pragma once // Wazat's grappling hook .entity hook; -void RemoveGrapplingHook(entity pl); +void GrapplingHookThink(entity this); +void RemoveGrapplingHooks(entity pl); +void RemoveHook(entity this); // (note: you can change the hook impulse #'s to whatever you please) .float hook_time; @@ -16,4 +17,3 @@ const float HOOK_WAITING_FOR_RELEASE = BIT(4); void GrappleHookInit(); vector hook_shotorigin[4]; -#endif