diff options
Diffstat (limited to 'src/misc.h')
-rw-r--r-- | src/misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/misc.h b/src/misc.h index 36880ff..a6b5e6b 100644 --- a/src/misc.h +++ b/src/misc.h @@ -3,6 +3,7 @@ #include <stdbool.h> #include <stddef.h> +#include <stdint.h> #include <AL/al.h> #include <GL/gl.h> @@ -62,6 +63,9 @@ extern "C" { ALuint loadSound(const char*); GLuint loadTexture(const char*); void playSound(ALuint source, ALfloat x, ALfloat y, ALfloat z); + float randFloat(); + int32_t randInt(int32_t at_least, int32_t at_most); + uint32_t randUint(uint32_t less_than); #ifdef __cplusplus } // extern "C" #endif // __cplusplus |