summaryrefslogtreecommitdiff
path: root/include/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/random.h')
-rw-r--r--include/random.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/random.h b/include/random.h
new file mode 100644
index 0000000..53cfdaf
--- /dev/null
+++ b/include/random.h
@@ -0,0 +1,11 @@
+#ifndef GUARD_RANDOM_H
+#define GUARD_RANDOM_H
+
+void SeedRng(u8 *seed);
+s32 Random(void);
+s32 RandomCapped(s32 cap);
+s32 RandomRange(s32 a, s32 b);
+s32 GetRngState(void);
+void SetRngState(s32 state);
+
+#endif // GUARD_RANDOM_H