X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fg_hook.qh;h=c0df31662a7d5cea6c95584dd7a13bfd7d969dad;hb=7a450de6b250eccb737d4c428b634496b933e4ff;hp=2a2d566b35670b97a9ace13a126349e2f7e0d80a;hpb=317ec3eb27ada1c4668876e9499136125acb7984;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/g_hook.qh b/qcsrc/server/g_hook.qh index 2a2d566b3..c0df31662 100644 --- a/qcsrc/server/g_hook.qh +++ b/qcsrc/server/g_hook.qh @@ -1,10 +1,10 @@ -#ifndef HOOK_H -#define HOOK_H +#pragma once // Wazat's grappling hook .entity hook; -void RemoveGrapplingHook(entity pl); -void SetGrappleHookBindings(); +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; @@ -17,4 +17,3 @@ const float HOOK_WAITING_FOR_RELEASE = BIT(4); void GrappleHookInit(); vector hook_shotorigin[4]; -#endif