aboutsummaryrefslogtreecommitdiff
path: root/standard.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-03 07:32:34 +1000
committerquou <quou@disroot.org>2023-05-03 07:32:34 +1000
commit199a5e6e9ddb13af0bb557b6ebbb2c4b8f4ce873 (patch)
tree2253af9926b3d0d1e3065d910cf16db957b2eedf /standard.h
parent65fa1051585f5345c3270db73ab53b7a0dbbaa50 (diff)
Basic player movement.
Diffstat (limited to 'standard.h')
-rw-r--r--standard.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/standard.h b/standard.h
index 392425c..6f56ebc 100644
--- a/standard.h
+++ b/standard.h
@@ -15,6 +15,14 @@ int ftan(int t);
int flerp(int a, int b, int t);
int fsqrt(int v);
+void vec_nrmise(int* x, int* y);
+
+void seed_rng(unsigned seed);
+unsigned get_seed();
+unsigned rng();
+int rand_range(int a, int b);
+int randf();
+
/* Not safe! */
int f_to_buf(int f, char* buf);
int int_to_buf(int n, char* buf);