]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/g_hook.qh
Merge remote-tracking branch 'remotes/origin/master' into TimePath/itemsys
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_hook.qh
1 #ifndef HOOK_H
2 #define HOOK_H
3
4 // Wazat's grappling hook
5 .entity         hook;
6 void GrapplingHookFrame();
7 void RemoveGrapplingHook(entity pl);
8 void SetGrappleHookBindings();
9 // (note: you can change the hook impulse #'s to whatever you please)
10 .float hook_time;
11
12 const float HOOK_FIRING = 1;
13 const float HOOK_REMOVING = 2;
14 const float HOOK_PULLING = 4;
15 const float HOOK_RELEASING = 8;
16 const float HOOK_WAITING_FOR_RELEASE = 16;
17 .float hook_state;
18
19 void GrappleHookInit();
20 vector hook_shotorigin[4];
21 #endif