mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-02 07:46:01 +00:00
c7ec814d78
* rand.h -> libc64/qrand.h * Add rand.h with z64 rand wrappers * yeet comment * code/rand.c -> libc64/qrand.c * fixup * move libc64 source to src/libc64/ * fix * bss * update file splits disasm metadata
18 lines
365 B
C
18 lines
365 B
C
#ifndef LIBC64_QRAND_H
|
|
#define LIBC64_QRAND_H
|
|
|
|
#include "ultra64.h"
|
|
|
|
u32 Rand_Next(void);
|
|
void Rand_Seed(u32 seed);
|
|
f32 Rand_ZeroOne(void);
|
|
void Rand_Seed_Variable(u32* rndNum, u32 seed);
|
|
u32 Rand_Next_Variable(u32* rndNum);
|
|
f32 Rand_ZeroOne_Variable(u32* rndNum);
|
|
|
|
#if !PLATFORM_N64
|
|
f32 Rand_Centered(void);
|
|
f32 Rand_Centered_Variable(u32* rndNum);
|
|
#endif
|
|
|
|
#endif
|