diff options
| author | Ray <[email protected]> | 2023-10-29 21:11:30 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-10-29 21:11:30 +0100 |
| commit | fc7dcff4a72e3ce9ea970ad4e03cfabed026fbad (patch) | |
| tree | d061a3c13e1296478e13095d04c2927ea1e185e6 /src/raylib.h | |
| parent | 09075d515af4fcf3caca8c494e7bcf71d64060da (diff) | |
| download | raylib-fc7dcff4a72e3ce9ea970ad4e03cfabed026fbad.tar.gz raylib-fc7dcff4a72e3ce9ea970ad4e03cfabed026fbad.zip | |
ADDED: Pseudo-random numbers generator!
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index d8bf1e07..115e2be9 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -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) |
