]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/g_hook.qh
Use a different way to check distance and dragging requirements. This fixes a bug...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_hook.qh
1 // Wazat's grappling hook
2 .entity         hook;
3 void GrapplingHookFrame();
4 void RemoveGrapplingHook(entity pl);
5 void SetGrappleHookBindings();
6 // (note: you can change the hook impulse #'s to whatever you please)
7 .float hook_time;
8
9 float HOOK_FIRING = 1;
10 float HOOK_REMOVING = 2;
11 float HOOK_PULLING = 4;
12 float HOOK_RELEASING = 8;
13 float HOOK_WAITING_FOR_RELEASE = 16;
14 .float hook_state;
15
16 void GrappleHookInit();
17 vector hook_shotorigin[4];