ADDED: Pseudo-random numbers generator!

This commit is contained in:
Ray 2023-10-29 21:11:30 +01:00
parent 09075d515a
commit fc7dcff4a7
5 changed files with 340 additions and 13 deletions

View file

@ -1068,8 +1068,9 @@ RLAPI void PollInputEvents(void); // Register al
RLAPI void WaitTime(double seconds); // Wait for some time (halt program execution)
// Misc. functions
RLAPI int GetRandomValue(int min, int max); // Get a random value between min and max (both included)
RLAPI void SetRandomSeed(unsigned int seed); // Set the seed for the random number generator
RLAPI int GetRandomValue(int min, int max); // Get a random value between min and max (both included)
RLAPI void TakeScreenshot(const char *fileName); // Takes a screenshot of current screen (filename extension defines format)
RLAPI void SetConfigFlags(unsigned int flags); // Setup init configuration flags (view FLAGS)
RLAPI void OpenURL(const char *url); // Open URL with default system browser (if available)