]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/g_hook.qh
Merge branch 'master' into Mario/monsters
[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 const float HOOK_FIRING = 1;
10 const float HOOK_REMOVING = 2;
11 const float HOOK_PULLING = 4;
12 const float HOOK_RELEASING = 8;
13 const float HOOK_WAITING_FOR_RELEASE = 16;
14 .float hook_state;
15
16 void GrappleHookInit();
17 vector hook_shotorigin[4];