diff options
author | M. Kristall <mkpdev@gmail.com> | 2011-08-14 21:16:09 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:13 +0000 |
commit | d432478aad0b3f0e9254762fc41471212c315652 (patch) | |
tree | 8351e44465f156b6cfee622098cdde955b531c72 /src/game/bg_lib.h | |
parent | d34172288e4d5313a6c97ea56987315b67b022d0 (diff) |
* (bug 3781) Improve randomness in some cases (Lakitu7 made me do it)
Diffstat (limited to 'src/game/bg_lib.h')
-rw-r--r-- | src/game/bg_lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/bg_lib.h b/src/game/bg_lib.h index ec62eeac..3eb6e19d 100644 --- a/src/game/bg_lib.h +++ b/src/game/bg_lib.h @@ -85,6 +85,7 @@ typedef unsigned long uint32_t; __FILE__, __LINE__, #expr ) typedef int cmp_t( const void *, const void * ); void qsort( void *a, size_t n, size_t es, cmp_t *cmp ); +#define RAND_MAX 0x7fff void srand( unsigned seed ); int rand( void ); void *bsearch( const void *key, const void *base, size_t nmemb, |