rogged/libs/rng/rng.h
NotAShelf 26aa295f82
build: move map & rng logic to their own libraries
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I1802469f3baff4576f61accfb5a197d86a6a6964
2026-04-10 20:07:04 +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