aboutsummaryrefslogtreecommitdiff
path: root/src/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/random.h')
-rw-r--r--src/random.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/random.h b/src/random.h
new file mode 100644
index 0000000..0c3845f
--- /dev/null
+++ b/src/random.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include "utils.h"
+
+// Based on mattiasgustavsson's rnd.h header
+
+void rand_init(void);
+
+u32 rand_u32(void);
+
+fx32 rand_fx32(void);
+
+int rand_i32_range(i32 min, i32 max); \ No newline at end of file