diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2024-09-19 04:49:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-18 19:49:56 -0700 |
| commit | 34dcfbccc6c64a9394b54e6968791da92fcd18f5 (patch) | |
| tree | ba4525c28692d3c42d665e5dacafbc8820aa02e7 /src | |
| parent | e05eaf981225397fdfeb95f3a3d7c995e7dd2471 (diff) | |
Add rand.h for non-qrand.c rand functions (#1684)
* sync rand.h with related oot PR
* fix
* yeet comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/code/sys_math.c | 1 | ||||
| -rw-r--r-- | src/code/z_lib.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/code/sys_math.c b/src/code/sys_math.c index 81d54d86a..5418f8021 100644 --- a/src/code/sys_math.c +++ b/src/code/sys_math.c @@ -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, diff --git a/src/code/z_lib.c b/src/code/z_lib.c index e8d95584a..9f93783b5 100644 --- a/src/code/z_lib.c +++ b/src/code/z_lib.c @@ -3,6 +3,7 @@ #include "libc64/qrand.h" +#include "rand.h" #include "segmented_address.h" #include "sfx.h" #include "z64game.h" |
