]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/commands/impulse.qh
Handle impulse command in client code
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / commands / impulse.qh
diff --git a/qcsrc/client/commands/impulse.qh b/qcsrc/client/commands/impulse.qh
new file mode 100644 (file)
index 0000000..bd41cf5
--- /dev/null
@@ -0,0 +1,10 @@
+#pragma once
+
+/** impulse is an extra byte sent in input packets */
+int impulse_var;
+
+bool impulse_handle(string arg);
+
+void impulse_set(int value);
+
+void impulse_frame_end();