summaryrefslogtreecommitdiff
path: root/inc/pack.h
diff options
context:
space:
mode:
authorjohannes <johannes.herman@gmail.com>2024-02-06 12:29:41 +0100
committerjohannes <johannes.herman@gmail.com>2024-02-06 12:29:41 +0100
commit0ab2c0afc6fd192f4008962ef400b92434e2dc2d (patch)
tree31ff61e1945850048ac6b82f23cb428d62e0cb70 /inc/pack.h
parent1bdee2153953e23bf71f7a5e83145bb4d67db567 (diff)
added read snap and read tick
Diffstat (limited to 'inc/pack.h')
-rw-r--r--inc/pack.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/pack.h b/inc/pack.h
new file mode 100644
index 0000000..d04d6ca
--- /dev/null
+++ b/inc/pack.h
@@ -0,0 +1,10 @@
+#ifndef PACK_H
+#define PACK_H
+
+#include <stdio.h>
+
+/* reads a teeworlds packed int from given buffer */
+/* the given pointer is incremented */
+int readint(unsigned char **cp);
+
+#endif // PACK_H