diff options
author | quou <quou@disroot.org> | 2023-05-03 07:32:34 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2023-05-03 07:32:34 +1000 |
commit | 199a5e6e9ddb13af0bb557b6ebbb2c4b8f4ce873 (patch) | |
tree | 2253af9926b3d0d1e3065d910cf16db957b2eedf /standard.h | |
parent | 65fa1051585f5345c3270db73ab53b7a0dbbaa50 (diff) |
Basic player movement.
Diffstat (limited to 'standard.h')
-rw-r--r-- | standard.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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); |