rogged/src/rng.h
NotAShelf 786fce3814
various: consolidate game state into a GameState struct
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I9d8998707c02e64cf177a6eeb51e399e6a6a6964
2026-04-03 15:45:12 +03:00

10 lines
200 B
C

#ifndef RNG_H
#define RNG_H
// Seed the RNG with a deterministic value
void rng_seed(unsigned int seed);
// Get a random integer in range [min, max]
int rng_int(int min, int max);
#endif // RNG_H