mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-27 15:00:33 +00:00
12 lines
219 B
C
12 lines
219 B
C
#ifndef GUARD_RANDOM_H
|
|
#define GUARD_RANDOM_H
|
|
|
|
void SeedRng(u8 *seed);
|
|
s32 Rand32Bit(void);
|
|
s32 RandInt(s32 cap);
|
|
s32 RandRange(s32 a, s32 b);
|
|
s32 GetRNGSeed(void);
|
|
void SetRNGSeed(s32 state);
|
|
|
|
#endif // GUARD_RANDOM_H
|