diff options
| author | Prakxo <87568477+Prakxo@users.noreply.github.com> | 2023-08-17 17:23:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-17 09:23:52 -0700 |
| commit | e5f9a888e6f4424fe6da280175c3c1e64d948e33 (patch) | |
| tree | 27ab97e2396ca038b937fd58bc1181aa383ee6f2 /include/libc64 | |
| parent | c65a8dbc3903af19fe0253ab8774accbc06b0cb7 (diff) | |
qrand OK (#62)
* qrand OK
* refactor
* format
Diffstat (limited to 'include/libc64')
| -rw-r--r-- | include/libc64/qrand.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/libc64/qrand.h b/include/libc64/qrand.h index e589b24..b50dbdb 100644 --- a/include/libc64/qrand.h +++ b/include/libc64/qrand.h @@ -3,13 +3,14 @@ #include "ultra64.h" -// void qrand(); -// void sqrand(); + +u32 qrand(void); +void sqrand(u32 seed); f32 fqrand(void); -// void fqrand2(); -// void sqrand_r(); -// void qrand_r(); -// void fqrand_r(); -// void fqrand2_r(); +f32 fqrand2(void); +void sqrand_r(u32* p, u32 val); +u32 qrand_r(u32* p); +f32 fqrand_r(u32* p); +f32 fqrand2_r(u32* p); #endif |
