From 199a5e6e9ddb13af0bb557b6ebbb2c4b8f4ce873 Mon Sep 17 00:00:00 2001 From: quou Date: Wed, 3 May 2023 07:32:34 +1000 Subject: Basic player movement. --- standard.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'standard.h') 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); -- cgit v1.2.3-54-g00ecf