mirror of
https://github.com/zeldaret/oot
synced 2026-05-23 06:54:24 -04:00
c6d7cc7697
* Match __osMalloc
* Match src/code/code_800FC620.c (new/delete)
* Wrap versions-specific files in ifdefs to fix compilation
* Fix bss
* Remove {FAULT,RAND,OSMALLOC}_VERSION in favor of PLATFORM_N64
* Fix __osMalloc data splits, add unused strings
* __osMalloc.h -> osMalloc.h
* Fix merge
19 lines
347 B
C
19 lines
347 B
C
#ifndef RAND_H
|
|
#define RAND_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_GC
|
|
f32 Rand_Centered(void);
|
|
f32 Rand_Centered_Variable(u32* rndNum);
|
|
#endif
|
|
|
|
#endif
|