]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_hook.qh
Merge branch 'master' into terencehill/string_prefixes_cleanup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_hook.qh
index b8e0da557d8358c3b2e9f7ba68c4ef447eea4849..aa641a56bc84bc927299e4715f2c456fbd05e205 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef HOOK_H
+#define HOOK_H
+
 // Wazat's grappling hook
 .entity                hook;
 void GrapplingHookFrame();
@@ -6,12 +9,13 @@ void SetGrappleHookBindings();
 // (note: you can change the hook impulse #'s to whatever you please)
 .float hook_time;
 
-float HOOK_FIRING = 1;
-float HOOK_REMOVING = 2;
-float HOOK_PULLING = 4;
-float HOOK_RELEASING = 8;
-float HOOK_WAITING_FOR_RELEASE = 16;
+const float HOOK_FIRING = 1;
+const float HOOK_REMOVING = 2;
+const float HOOK_PULLING = 4;
+const float HOOK_RELEASING = 8;
+const float HOOK_WAITING_FOR_RELEASE = 16;
 .float hook_state;
 
 void GrappleHookInit();
 vector hook_shotorigin[4];
+#endif