]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/g_hook.qh
Merge branch 'master' into Mario/wepent_experimental
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_hook.qh
1 #pragma once
2
3 // Wazat's grappling hook
4 .entity         hook;
5 void RemoveGrapplingHooks(entity pl);
6 void RemoveHook(entity this);
7 // (note: you can change the hook impulse #'s to whatever you please)
8 .float hook_time;
9
10 const float HOOK_FIRING = BIT(0);
11 const float HOOK_REMOVING = BIT(1);
12 const float HOOK_PULLING = BIT(2);
13 const float HOOK_RELEASING = BIT(3);
14 const float HOOK_WAITING_FOR_RELEASE = BIT(4);
15 .float hook_state;
16
17 void GrappleHookInit();
18 vector hook_shotorigin[4];