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