Add rand.h for non-qrand.c rand functions (#1684)

* sync rand.h with related oot PR

* fix

* yeet comment
This commit is contained in:
Dragorn421
2024-09-19 04:49:56 +02:00
committed by GitHub
parent e05eaf9812
commit 34dcfbccc6
5 changed files with 12 additions and 2 deletions
+1
View File
@@ -4,6 +4,7 @@
*/
#include "global.h"
#include "rand.h"
static f32 sFactorialTbl[] = {
1.0f, 1.0f, 2.0f, 6.0f, 24.0f, 120.0f, 720.0f, 5040.0f, 40320.0f, 362880.0f, 3628800.0f, 39916800.0f, 479001600.0f,
+1
View File
@@ -3,6 +3,7 @@
#include "libc64/qrand.h"
#include "rand.h"
#include "segmented_address.h"
#include "sfx.h"
#include "z64game.h"