]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/g_hook.qh
26189143cf2aa4680c07350e77ec31d7b6280d15
[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 _GrapplingHookFrame();
8 void RemoveGrapplingHook(entity pl);
9 void SetGrappleHookBindings();
10 // (note: you can change the hook impulse #'s to whatever you please)
11 .float hook_time;
12
13 const float HOOK_FIRING = 1;
14 const float HOOK_REMOVING = 2;
15 const float HOOK_PULLING = 4;
16 const float HOOK_RELEASING = 8;
17 const float HOOK_WAITING_FOR_RELEASE = 16;
18 .float hook_state;
19
20 void GrappleHookInit();
21 vector hook_shotorigin[4];
22 #endif