diff options
| author | Perttu Ahola <celeron55@gmail.com> | 2010-12-26 13:33:20 +0200 |
|---|---|---|
| committer | Perttu Ahola <celeron55@gmail.com> | 2010-12-26 13:33:20 +0200 |
| commit | 4ba5cd580d86710b54f4b523db4e8710fb56fdb6 (patch) | |
| tree | 9812d18cefca537bfecc2f633046f1b45dc0ed77 /src/utility.h | |
| parent | 582af0cb212a5bb522356657c89b643501935230 (diff) | |
| download | minetest-4ba5cd580d86710b54f4b523db4e8710fb56fdb6.tar.xz | |
drawing range updater update and myrand() (but not usage of it)
Diffstat (limited to 'src/utility.h')
| -rw-r--r-- | src/utility.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utility.h b/src/utility.h index 3764616d0..008a95c38 100644 --- a/src/utility.h +++ b/src/utility.h @@ -1323,5 +1323,10 @@ private: MutexedQueue< GetRequest<Key, T, Caller, CallerData> > m_queue; }; +// Pseudo-random (VC++ rand() sucks) +int myrand(void); +void mysrand(unsigned seed); +#define MYRAND_MAX 32767 + #endif |
